pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
(no subject)
2+ messages / 2 participants
[nested] [flat]

* (no subject)
@ 2011-11-11 03:36 daflmx <daflmx@qq.com>
  2011-11-11 03:39 ` Re: Craig Ringer <ringerc@ringerc.id.au>
  0 siblings, 1 reply; 2+ messages in thread

From: daflmx @ 2011-11-11 03:36 UTC (permalink / raw)
  To: pgsql-general

Hello,all.
 I have installed the postgresql .
 $/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data start
 LOG:database system was shut down at 2011-11-10 15:36:14 CST
 LOG:database system is ready to accept connections
 LOG:autovacuum launcher started
  when I check the status of cluster
 $/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data status
 pg_ctl:server is running(PID 18432)
 but why I cannot create a database successfully?
  $/usr/local/pgsql/bin/createdb mydb  createdb:could nto connect to database postgres:could not connect to server:No such file or directory
 Is the server running locally and accepting connections on Unix domain socket"/var/run/postgresql/.s.PGSQL.5432"?
 and I did not find the ".s.PGSQL.5432" file in the whole file system.what's the wrong?
 Thanks.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re:
  2011-11-11 03:36 (no subject) daflmx <daflmx@qq.com>
@ 2011-11-11 03:39 ` Craig Ringer <ringerc@ringerc.id.au>
  0 siblings, 0 replies; 2+ messages in thread

From: Craig Ringer @ 2011-11-11 03:39 UTC (permalink / raw)
  To: daflmx <daflmx@qq.com>; +Cc: pgsql-general

You have sent this message at least once before.

Pleas go back and read the replies to the first one, don't just re-send 
your message.


On 11/11/2011 11:36 AM, daflmx wrote:
> Hello,all.
> I have installed the postgresql .
> $/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data start
> LOG:database system was shut down at 2011-11-10 15:36:14 CST
> LOG:database system is ready to accept connections
> LOG:autovacuum launcher started
>  when I check the status of cluster
> $/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data status
> pg_ctl:server is running(PID 18432)
> but why I cannot create a database successfully?
> $/usr/local/pgsql/bin/createdb mydb
> createdb:could nto connect to database postgres:could not connect to 
> server:No such file or directory
> Is the server running locally and accepting connections on Unix domain 
> socket"/var/run/postgresql/.s.PGSQL.5432"?
> and I did not find the ".s.PGSQL.5432" file in the whole file 
> system.what's the wrong?
> Thanks.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-11-11 03:39 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-11-11 03:36  daflmx <daflmx@qq.com>
2011-11-11 03:39 ` Re: Craig Ringer <ringerc@ringerc.id.au>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox