Unable to start syncengine (postgres: cannot create lock file)

  • 7013035
  • 09-Aug-2013
  • 10-Dec-2013

Environment

Novell Data Synchronizer
SUSE Linux Enterprise Server 11

Situation

Mobility sync engine will not start
Unable to start postgresql or sync engine
Trying to start postgresql with silent_mode = off shows
"Starting PostgreSQL FATAL:  could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission denied"

Resolution

As root user type "chmod 1777 /tmp" in terminal.

Cause

Postgres cannot write a file to /tmp because of permissions set on /tmp directory.
Mobility sync engine will not start without postgresql running.

Additional Information

Troubleshooting Steps
To turn turn silent_mode = off for postgresql
  1. Edit /var/lib/pgsql/data/postgresql.conf
  2. Change "silent_mode = on" to "silent_mode = off"

Start postgresql by typing "rcpostgresql start" and press Enter