Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-14162

Update docs for binding ports <1024

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Medium
    • Resolution: Fixed
    • 29.0.8
    • Meridian-2022.1.2, 29.0.9
    • None
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      Try the following:

      ssh -p 8101 admin@localhost
      
      admin@opennms()> ping 8.8.8.8
      PING: /8.8.8.8 java.lang.UnsupportedOperationException
      

      Unable to ping, returns java.lang.UnsupportedOperationException

       

      The workaround for this appears to be:

      systemctl edit --full opennms.service
      In [Service] section and under Environment="" line, Add the line: AmbientCapabilities=CAP_NET_RAW CAP_NET_BIND_SERVICE
      Save this and exit, run systemctl daemon-reload, then restart the opennms service

       

      This seems to be caused by OpenNMS no longer running as root. This line should be added to the systemctl service file so it is present for new installations.

      Attachments

        Activity

          People

            mmahacek Mark Mahacek
            Ganiman Chris Manigan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.