Skip to:
When you do a fresh installation on Debian and try to start the service with systemd it fails with the following error message:
The OpenNMS user can't create the pid file in /var/run/opennms.pid.
Merged to develop
develop
PR: https://github.com/OpenNMS/opennms/pull/3524
I've fixed this problem by
Creating a directory in /run/opennms with ownership of opennms:opennms
/run/opennms
Changed the systemd unit using the new /run/opennms/opennms.pid instead the legacy path to /var/run
/run/opennms/opennms.pid
/var/run
Changed the PID file in bin/opennms to OPENNMS_PIDFILE="/run/opennms/opennms.pid"
OPENNMS_PIDFILE="/run/opennms/opennms.pid"
When you do a fresh installation on Debian and try to start the service with systemd it fails with the following error message:
The OpenNMS user can't create the pid file in /var/run/opennms.pid.