Unable to get daemon to run at boot

Matty Sarro msarro at gmail.com
Sat May 7 18:59:37 CEST 2011


On Sat, May 7, 2011 at 3:58 AM, Assaf Flatto <nagios at flatto.net> wrote:
> Matty Sarro wrote:
>> Hey everyone,
>> First let me start off that I found another post detailing my issue,
>> but sadly its in French and I can't read it :(
>> I'm trying to get nagios installed on debian squeeze.
>> I have created the symlink from /etc/init.d/nagios to
>> /etc/rcS.d/S99nagios. Upon booting, nothing happens. There's nothing
>> in dmesg, there's nothing in /var/log/messages.
>>
>> Now, if I go to the nagios webpage it gives me the "Whoops!" error on
>> every page. Upon manually running "/etc/init.d/nagios start" the
>> service starts just fine, and all of the web pages begin appearing.
>>
>> I've doublechecked that all permissions are correct.
>>
>> I've also tried forcing the script with:
>> update-init.d nagios defaults
>>
>> This spits out a ton of errors:
>> insserv: warning: script 'S99nagios' missing LSB tags and overrides
>> insserv: warning: script 'nagios' missing LSB tags and overrides
>> insserv: warning: current start runlevel(s) (S) of script `nagios'
>> overwrites defaults (2 3 4 5).
>> insserv: warning: current stop runlevel(s) (empty) of script `nagios'
>> overwrites defaults (0 1 6).
>> insserv: There is a loop between service nagios and
>> stop-bootlogd-single if started
>> insserv:  loop involving service stop-bootlogd-single at depth 8
>> insserv:  loop involving service nagios at depth 7
>> insserv:  loop involving service mountnfs at depth 6
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: There is a loop between service nagios and
>> stop-bootlogd-single if started
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Max recursions depth 99 reached
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: Starting nagios depends on stop-bootlogd-single and therefore
>> on system facility `$all' which can not be true!
>> insserv: exiting now without changing boot order!
>> update-rc.d: error: insserv rejected the script header
>>
>>
>> Any ideas would be appreciated. I'm learning debian... I'm more used
>> to red hat so I could be doing something dumb.
>> -Matty
>>
>>
> Did you install from source or from package ?
> if source , what was the output when you did "make install-init" ?
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


I installed from source. Here's the output:
root at test:~/downloads/nagios-3.2.3# make install-init
/usr/bin/install -c -m 755 -o root -g root /etc/init.d
/usr/bin/install -c -m 755 -o root -g root daemon-init /etc/init.d/nagios

*** Init script installed ***

root at test:~/downloads/nagios-3.2.3#

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list