When upgrading OpenNMS on Solaris 10, standard configuration files are written with a .rpmnew extension if an non-standard configuration file already exists. The log error indicates the wrong directory for these files /opt/opennms instead of /opt/opennms/etc
- svcs -xv
svc:/application/opennms:default (OpenNMS daemon)
State: maintenance since Fri Jun 18 11:19:16 2010
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: man -M /usr/share/man -s 1M fmd
See: man -M /usr/share/man -s 1M opennms
Impact: This service is not running.
- tail -15 /var/svc/log/application-opennms:default.log
[ Jun 18 11:19:12 Enabled. ]
[ Jun 18 11:19:12 Executing start method ("/opt/opennms/contrib/svc-opennms start") ]
WARNING! You have files that end in .rpmnew in your
OPENNMS_HOME (/opt/opennms) directory. <-------------------- Wrong Dir!
The format of the original files may have changed since
you modified them before installing a new version.
Please double-check that your configuration files are
up-to-date and delete any leftover .rpmnew files or
OpenNMS will not start.
Error: OpenNMS not properly configured. See previous error messages for details. See opennms(1M).
[ Jun 18 11:19:16 Method "start" exited with status 96 ]