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

Сводка: 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. ...

Данная статья применяется к Данная статья не применяется к Эта статья не привязана к какому-либо конкретному продукту. В этой статье указаны не все версии продуктов.

Симптомы

  • 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

Причина

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.

Разрешение

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

Затронутые продукты

NetWorker, NetWorker Management Console

Продукты

NetWorker Family
Свойства статьи
Номер статьи: 000031267
Тип статьи: Solution
Последнее изменение: 18 Feb 2026
Версия:  5
Получите ответы на свои вопросы от других пользователей Dell
Услуги технической поддержки
Проверьте, распространяются ли на ваше устройство услуги технической поддержки.