IBM Support

Configuration file `postgresql.conf' has wrong permissions

Troubleshooting


Problem

NPS unable to start without any messages in the log file. Only 'nzstart -i' will show these messages:- $ nzstart -i WARNING: NPS fabric interface 'eth1' has a sub-optimal MTU: 1500 WARNING: Domain 'svl.ibm.com' appears multiple times in /etc/resolv.conf.upstream nzstart: Error: unexpected error accessing system catalog: NOTICE: database system was shut down at 2014-03-05 18:09:41 EST NOTICE: database system is in production state DEBUG: Session id is 16001 ERROR: configuration file `postgresql.conf' has wrong permissions POSTGRES backend interactive interface Revision: 7.1 Date: 2004/11/17 01:54:14 NOTICE: shutting down NOTICE: database system is shut down

Symptom

1) NPS unable to start without any messages in the log file.

2) Only 'nzstart -i' will show the error:

"ERROR: configuration file `postgresql.conf' has wrong permissions"

Cause

NPS will check for the permission of the file during startup:-
-rw------- 1 nz nz 5907 Dec 26 17:58 /nz/data/postgresql.conf

Diagnosing The Problem

- There could be no error messages in the log files such as startupsvr.log and sysmgr.log

- only 'nzstart -i' has the right messages.

Resolving The Problem

Make sure you correct to the right permission:
chmod 600 /nz/data/postgresql.conf

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
IBM PureData System

Software version:
1.0.0

Document number:
241193

Modified date:
17 October 2019

UID

swg21666665