After I reboot the server, munin will not start unless I do : Code: service munin-node restart This is the munin-node.conf (default): Code: # munin-node description "munin-node" author "Chuck Short <[email protected]>" start on (filesystem and net-device-up IFACE=lo) stop on runlevel [!2345] env DAEMON=/usr/sbin/munin-node expect fork respawn pre-start script mkdir -p /var/run/munin chown munin:munin /var/run/munin chmod 0755 /var/run/munin end script script [ -r /etc/default/munin-node ] && . /etc/default/munin-node exec $DAEMON $DAEMON_ARGS end script Anything I should check?
First try failed: Code: $ update-rc.d munin defaults update-rc.d: /etc/init.d/munin: file does not exist Then I figured it is munin-node: Code: $ update-rc.d munin-node defaults update-rc.d: warning: /etc/init.d/munin-node missing LSB information update-rc.d: see <http://wiki.debian.org/LSBInitScripts> Adding system startup for /etc/init.d/munin-node ... /etc/rc0.d/K20munin-node -> ../init.d/munin-node /etc/rc1.d/K20munin-node -> ../init.d/munin-node /etc/rc6.d/K20munin-node -> ../init.d/munin-node /etc/rc2.d/S20munin-node -> ../init.d/munin-node /etc/rc3.d/S20munin-node -> ../init.d/munin-node /etc/rc4.d/S20munin-node -> ../init.d/munin-node /etc/rc5.d/S20munin-node -> ../init.d/munin-node After the reboot munin seemed to work without any manual help.
Negative! Munin still refuses to run after reboot. Waiting for the graphs to fill is not reliable for checking if munin is running. Can you tell me how to check if it is running from the command line? Also, what is the next step to make it run after the reboot?
does this help? Code: # initctl show-config -e munin-node munin-node start on filesystem (job:, env:) start on net-device-up (job:, env: IFACE=lo) stop on runlevel (job:, env: [!2345])
After much investigation I went to #munin IRC. Even those people could not fix it after many trials and tests. So I thought of a workaround: I made monit monitor munin. So monit will force munin to start. Complete details here: http://bbb-solutions.blogspot.gr/2014/02/munin-does-not-start-after-rebooting.html