を接続している間、私はで与えられた指示に従ってPostgreSQLのインストール:http://xadmin.info/?p=284問題psqlの
# pg_ctl -D /var/lib/pgsql/data -l pglog.log start
server starting
[email protected]:~> psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on
Unix domain socket "/tmp/.s.PGSQL.5432"?
私は...、サーバが起動したとき、私はこのエラーを取得しています理由として誰かしてくださいしてくださいすることができます取得しておりません助けて。 |
2013-02-06 19:43:39 GMT FATAL: lock file "postmaster.pid" already exists
2013-02-06 19:43:39 GMT HINT: Is another postmaster (PID 23971) running in data directory "/var/lib/pgsql/data"?
2013-02-06 19:44:02 GMT FATAL: lock file "postmaster.pid" already exists
2013-02-06 19:44:02 GMT HINT: Is another postmaster (PID 23971) running in data directory "/var/lib/pgsql/data"?
2013-04-24 12:43:29 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:43:29 GMT DETAIL: Permissions should be u=rwx (0700).
2013-04-24 12:44:07 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:44:07 GMT DETAIL: Permissions should be u=rwx (0700).
2013-04-24 12:57:02 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:57:02 GMT DETAIL: Permissions should be u=rwx (0700).
2013-04-24 12:57:40 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:57:40 GMT DETAIL: Permissions should be u=rwx (0700).
のps -ef:
私pglog.logファイルには、次のような出力を示していサーバーが実際にエラーなしで起動しなかったことを確実にするpglog.log
ファイル内のgrepをPostgresは
root 21659 21591 0 19:14 pts/0 00:00:00 grep --color=auto postgres
私はpglog.logファイルの内容を掲載しています。希望は私をさらに手伝ってくれるのに役立ちます。 – user1778824
それは、アクセス権に関する致命的なエラーをリストしているので、最初にチェックして、別のPostgresプロセスがログも記録していないことを確認します。 –
別のpostgresプロセスを停止する方法を確認するには – user1778824