Il giorno sab 10 ago 2019 alle ore 13:40 <[email protected]> ha scritto:
> > I still do not understand, the (trivial) systemd service should fail. > > Did you take a look at /var/log/munin/munin-node.log? > (scrolling back to the time before your manual start) > > I don't see anything significant. I killed munin-node, and then restarted the service. The log says: 2019/08/10-16:03:15 Munin::Node::Server (type Net::Server::Fork) starting! pid(4573) Resolved [*]:4949 to [::]:4949, IPv6 Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6 Binding to TCP port 4949 on host :: with IPv6 ipv6?????????? fromr: sudo systemctl start munin-node.service ; journalctl -xe I get: ago 10 16:07:48 catho2 systemd[1]: Starting Munin Node... -- Subject: L'unità munin-node.service inizia la fase di avvio -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- L'unità munin-node.service ha iniziato la fase di avvio. ago 10 16:07:48 catho2 munin-node[10019]: Couldn't open log file "/var/log/munin/munin-node.log" [No such file or directory]. at /usr/share/perl5/Net/Server.pm line 209. ago 10 16:07:48 catho2 systemd[1]: munin-node.service: Control process exited, code=exited, status=2/INVALIDARGUMENT systemd[1]: munin-node.service: Control process exited, code=exited, status=2/INVALIDARGUMENT and many other tries to start > Do you have any other idea for debugging the service on your host? > Otherwise I would suggest something quite low-level: > add "strace -o /tmp/munin-node-service.log -f" in front of the "ExecStart" > in > the munin-node service file > (/etc/systemd/system/multi-user.target.wants/munin-node.service). > > Cheers, > Lars >

