munin does not start on reboot

Discussion in 'ISPConfig 3 Priority Support' started by bobpit, Feb 22, 2014.

  1. bobpit

    bobpit Member

    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?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try:

    update-rc.d munin defaults
     
  3. bobpit

    bobpit Member

    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.
     
  4. sjau

    sjau Local Meanie Moderator

    strange, when installing munin it should have been added as startup service...
     
  5. bobpit

    bobpit Member

    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?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    update-rc.d munin-node defaults

    thats all.
     
  7. bobpit

    bobpit Member

    I have already done this.
     
  8. bobpit

    bobpit Member

    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])
     
  9. bobpit

    bobpit Member

Share This Page