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?
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
#ibm-slapdLogOptions is the log level & must be one of l/m/h (l=terse, h=verbose)
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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.