RedHat Enterprise Server 3.0 32 Bits
psql (PostgreSQL) 8.2.3
user: postgres
server is running:
/soft/postgres/8.2.3/bin/pg_ctl start
pg_ctl: another server may be running; trying to start server anyway
2013-05-09 11:23:07 BRST---:FATAL: lock file "postmaster.pid" already exists
2013-05-09 11:23:07 BRST---:HINT: Is another postmaster (PID 12810) running in data directory "/opt/psql/dba/bdadms/data1/pstg"?
pg_ctl: could not start server
Examine the log output.
I had just created a new database cluster with initdb; but when I run createdb:
8.2.3:postgres:pstg:>/soft/postgres/8.2.3/bin/createdb pstg
createdb: could not connect to database postgres: FATAL: could not write init file
8.2.3:postgres:pstg:>/soft/postgres/8.2.3/bin/createdb postgres
createdb: could not connect to database template1: FATAL: could not write init file
8.2.3:postgres:pstg:>/soft/postgres/8.2.3/bin/createdb template1
createdb: could not connect to database postgres: FATAL: could not write init file
any clues as to the cause and possible solutions to this problem?
.pid
file. – Clodoaldo May 9 at 19:23