[pgsql-jp: 27627] Re: connect() failed: Connection refused

谷内 紀久 yanaitti @ plum.freemail.ne.jp
2002年 10月 15日 (火) 14:54:42 JST


やないっちです。

initdbって行いましたか?
または、ディレクトリ違いとか?

----- Original Message -----
From: "みつき" <mitsuki @ zc5.so-net.ne.jp>
To: <pgsql-jp @ ml.postgresql.jp>
Sent: Tuesday, October 15, 2002 2:11 PM
Subject: [pgsql-jp: 27626] connect() failed: Connection refused


>
> 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 メーリングリストの案内