Update docs for binding ports <1024

Description

Try the following:

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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Mark Mahacek April 11, 2022 at 7:52 PM

Updated docs to clarify steps

Mark Mahacek April 11, 2022 at 7:10 PM

Mark Mahacek April 11, 2022 at 6:33 PM

Would be nice for this to be set out of the box on the core.  Looks like is adding this as default on Minions.

Jeff Gehlbach April 11, 2022 at 6:28 PM

I believe this issue is system-local, may turn out to be docs-only impact.

Fixed

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created April 7, 2022 at 6:17 PM
Updated April 11, 2022 at 7:52 PM
Resolved April 11, 2022 at 7:52 PM