这发生在我修改了pg_hba.conf文件之后。 它目前设置为信任,但服务器仍然要求密码(甚至当点击密码字段被禁用的属性时)。 我试图重新启动,现在该死的东西不会开始(所有的服务器;我现在没有postgres进程)。 我现在也安装了postgres 9.0,它工作。 但我真的很想重新获得旧服务器的访问权限。 我也尝试了一个涉及resetxlog -f的解决scheme,但无济于事
这是我还尝试过的其他东西:
E:\Program Files\PostgreSQL\8.4.8\bin>pg_ctl.exe start -N "postgresql-8.4.8" -D "E:\Program Files\PostgreSQL\8.4.8\data" -w waiting for server to start...2011-09-15 08:17:29 EEST LOG: could not create fi le "postmaster.opts": Permission denied ............................................................could not start serv er E:\Program Files\PostgreSQL\8.4.8\bin>pg_ctl.exe runservice -N "postgresql-8.4" -D "E:\PostgreSQL\8.4.8\data" -w pg_ctl: could not start service "postgresql-8.4": error code 1063
在回顾我的pg_hba.conf文件的同时,我注意到在开头有一个O代替# 。
我从中学到了两件事: