From: daflmx <daflmx(at)qq(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject:
Date: 2011-11-10 07:54:06
Message-ID: tencent_3914DB200606C8DF39FAB52E@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,all.
I have installed the postgresql .
$/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
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
but when I want to connect to the server at another terminal
$/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"?
$/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
FATAL:lock file "postmaster.pid"already exists
HINT: Is another postmaster(PID 1950)running in data directory "/usr/local/pgsql/data"?
I don't know how to slove this problem,I wish you can tell me the reason.Thanks .

Responses

  • Re: at 2011-11-10 08:13:51 from Raghavendra
  • Re: at 2011-11-10 14:51:10 from Tom Lane
  • Re: at 2011-11-10 16:57:43 from John R Pierce

Browse pgsql-general by date

  From Date Subject
Next Message Kalai R 2011-11-10 07:56:25 Re: dll files missing in postgrsql bin folder in Windows
Previous Message Tom Lane 2011-11-10 04:58:39 Re: PostgreSQL 9.0.5 concat Issue