[ixpmanager] Issues with MRTG in Ubuntu 18.04
Mauricio Oviedo
gennesys at gmail.com
Tue Aug 4 15:17:41 IST 2020
Hi!
I´m trying to move MRTG configuration to systemd, following the information
here:
https://github.com/inex/IXP-Manager/issues/627
OS: Ubuntu 18.04
IXPMv: 5.6.0
But I'm unable to start mrtg now. Here the logs:
root at ixpmanager:~# systemctl start mrtg
Job for mrtg.service failed because the service did not take the steps
required by its unit configuration.
See "systemctl status mrtg.service" and "journalctl -xe" for details.
root at ixpmanager:~# systemctl status mrtg.service
● mrtg.service - Multi-router Traffic Grapher
Loaded: loaded (/etc/systemd/system/mrtg.service; enabled; vendor
preset: enabled)
Active: failed (Result: protocol) since Tue 2020-08-04 10:07:18 -04; 7s
ago
Process: 2296 ExecStart=/usr/bin/mrtg --daemon
/var/lib/mrtg/ixpmanager.cfg --logging /var/log/mrtg/mrtg.log
--pid-file=/run/mrtg/mrtg.pid --lock-file /var/lock/mrtg/mrtg_l
--confcache-file /var/lib/mrtg/mrtg.ok (code=exited, status=1/FAILURE)
Aug 04 10:07:18 ixpmanager systemd[1]: Starting Multi-router Traffic
Grapher...
Aug 04 10:07:18 ixpmanager systemd[1]: mrtg.service: Failed to parse PID
from file /run/mrtg/mrtg.pid: Invalid argument
Aug 04 10:07:18 ixpmanager systemd[1]: mrtg.service: Failed with result
'protocol'.
Aug 04 10:07:18 ixpmanager systemd[1]: Failed to start Multi-router Traffic
Grapher.
root at ixpmanager:~# journalctl -xe
Aug 04 10:10:47 srv-ixpmanager systemd[1]: Starting Multi-router Traffic
Grapher...
-- Subject: Unit mrtg.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mrtg.service has begun starting up.
Aug 04 10:10:47 srv-ixpmanager systemd[1]: mrtg.service: Failed to parse
PID from file /run/mrtg/mrtg.pid: Invalid argument
Aug 04 10:10:47 srv-ixpmanager systemd[1]: mrtg.service: Failed with result
'protocol'.
Aug 04 10:10:47 srv-ixpmanager systemd[1]: Failed to start Multi-router
Traffic Grapher.
-- Subject: Unit mrtg.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mrtg.service has failed.
Could you point me in the right direction?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200804/c1865621/attachment.htm>
More information about the ixpmanager
mailing list