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

Sommaire: 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. ...

Cet article s’applique à Cet article ne s’applique pas à Cet article n’est lié à aucun produit spécifique. Toutes les versions de produits ne sont pas identifiées dans cet article.

Symptômes

  • 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

Cause

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.

Résolution

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

Produits touchés

NetWorker, NetWorker Management Console

Produits

NetWorker Family
Propriétés de l’article
Numéro d’article: 000031267
Type d’article: Solution
Dernière modification: 18 févr. 2026
Version:  5
Obtenez des réponses à vos questions auprès d’autre utilisateurs de Dell
Services de soutien
Vérifiez si votre appareil est couvert par les services de soutien.