Environment
Novell Data Synchronizer Mobility Pack 1.1
Situation
Symptom:
ERROR: "Starting PostgreSQLcould not start server " while starting postgres
"rcpostgresql status " output shows as running
After upgrading to Novell Data Synchronizer Mobility Pack 1.1 the PostgreSQL database fail to start
Changes:
Upgraded the Novell Data Synchronizer Moblity Pack to version 1.1
Resolution
"rcpostgresql start " shows the error "Starting PostgreSQLcould not start server"
but "rcpostgresql status " does show it as running.
Follow the steps listed below:
- Edit /var/lib/pgsql/data/pg_hba.conf
- Make sure the following lines exist in the file. The following lines are from a DataSync server. Some lines may differ if this is not a DataSync server.
local all postgres ident sameuser
host all postgres 127.0.0.1/32 ident sameuser
host all postgres ::1/128 ident sameuser
local datasync all md5
host datasync all 127.0.0.1/32 md5
host datasync all ::1/128 md5
local postgres datasync_user md5
host postgres datasync_user 127.0.0.1/32 md5
host postgres datasync_user ::1/128 md5
local mobility all md5
host mobility all 127.0.0.1/32 md5
host mobility all ::1/128 md5 - Save the file and type "rcdatasync stop ", "rcpostgresql stop ", "rcpostgresql start " and "rcdatasync start " and press Enter.
rcpostgresql start should not give any error message this time.