NetWorker: Postgres does not start after installing the NMC package on a Linux server

Shrnutí: The NetWorker Management Console (NMC) server software is installed on a Linux host. The postgres service fails to start after installation. It reports that nmcdb initialization fails due to a permissions issue on /tmp. ...

Tento článek se vztahuje na Tento článek se nevztahuje na Tento článek není vázán na žádný konkrétní produkt. V tomto článku nejsou uvedeny všechny verze produktu.

Příznaky

  • The NetWorker Management Console (NMC) server is installed on a Linux platform
  • Postgres does not start after installing the NMC package
  • Error from  /opt/lgtonmc/logs/install.log
ERROR: Command /opt/lgtonmc/bin/gstdbinit -U postgres -n 5432 /nsr/nmc/nmcdb failed!
gstd NSR notice Internal error: could not create database process.
gstd NSR notice Internal error: could not release database handle.
gstd NSR notice Internal error: could not stop database process.
gstd NSR notice FATAL ERROR: could not stop database process
gstd NSR notice Internal error: could not stop database process.
gstd NSR notice Internal error: could not stop database process.
gstd NSR notice The most recently called subfunction returned error 2.
gstd NSR warning 2 %s 1 0 27 library error 22 os error 0
  • Error from the /nsr/nmc/nmcdb/pgdata/db_output.log
FATAL:  could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission denied

Příčina

The permissions of /tmp were changed from 777 to something less open; for example, 755.  

When Postgres starts it creates a lock file under /tmp, as a postgres user. The current permission on /tmp does not allow the lock file to be created.

Řešení

  1. Change the permission of /tmp to 777: chmod 777 /tmp
  2. Run the NMC configuration script: /opt/lgtonmc/bin/nmc_config

Dotčené produkty

NetWorker, NetWorker Management Console

Produkty

NetWorker Family
Vlastnosti článku
Číslo článku: 000031267
Typ článku: Solution
Poslední úprava: 18 Feb 2026
Verze:  5
Najděte odpovědi na své otázky od ostatních uživatelů společnosti Dell
Služby podpory
Zkontrolujte, zda se na vaše zařízení vztahují služby podpory.