OpenNMS
  1. OpenNMS
  2. NMS-3936

Solaris SMF service startup complains of rpmnew files in wrong directory

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: Backlog
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: Solaris
      Platform: PC
    • Bugzilla Id:
      3894

      Description

      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

      vis:

      1. 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: http://sun.com/msg/SMF-8000-KS
        See: man -M /usr/share/man -s 1M fmd
        See: man -M /usr/share/man -s 1M opennms
        See: /var/svc/log/application-opennms:default.log
        Impact: This service is not running.
      1. 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") ]
        Starting OpenNMS:
        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.

      failed
      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 ]

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Benjamin Reed
            Reporter:
            etcetc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development