IBM Support

GLPSRV041I message always gets logged at ibmslapd.log default location.

Question & Answer


Question

Even after specifying a new location for the ibmslapd.log file, why does the "GLPSRV041I Server starting." message gets recorded under the default location when the server is restarted?

Cause


When changes are made to the default log location path and the server is restarted, the "GLPSRV041I Server starting." message gets logged to the old (default) log location. Then all further log events can be found in the new location as expected.

Example paragraph from ibmslapd.conf showing default path location ("sample" is instance name used in this example):
=================================================================
dn: cn=ibmslapd, cn=Log Management, cn=Configuration
cn: ibmslapd
ibm-slapdLog: /home/sample/idsslapd-sample/logs/ibmslapd.log
#ibm-slapdLogOptions is the log level & must be one of l/m/h (l=terse, h=verbose)
ibm-slapdLogOptions: m
objectclass: ibm-slapdLogConfig
objectclass: ibm-slapdConfigEntry
objectclass: top
objectclass: container
=================================================================

Answer


When the server is starting up, it will parse the configuration parameters to determine if any non-default paths are set for the logs. Once the process parses the new log location from configuration file, further messages are recorded in the new location. This is why the "GLPSRV041I Server starting." is getting logged in the default log.

[{"Product":{"code":"SSVJJU","label":"IBM Security Directory Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1;6.2;6.3;6.3.1;6.4","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Historical Number

24239;612;760

Document Information

Modified date:
16 June 2018

UID

swg21620099