[pgsql-jp: 27626] connect() failed: Connection refused
みつき
mitsuki @ zc5.so-net.ne.jp
2002年 10月 15日 (火) 14:11:41 JST
Postgresqlにて以下のエラーのため、データベースの作成ができません。
$ createdb
psql: connectDBStart() -- connect() failed: Connection refused
Is the postmaster running locally
and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
createdb: database creation failed
ネットで調べたところ、postmasterが起動していない可能性があるとのことで
下記のコマンドで起動状態を調べました。
$ pg_ctl status
pg_ctl: postmaster is running (pid: 460)
Command line was:
/usr/local/pgsql/bin/postmaster '-S' '-i'
起動はされているのに、なぜ上記のようなエラーが出るのでしょう?
みつき@so-net
(Postgres7.1.3)
pgsql-jp メーリングリストの案内