Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Zabbix update-rc.d LSB tags and led_blink loop - on B3

Got problems with your B2 or B3? Share and get helped!
Post Reply
theWebalyst
Posts: 96
Joined: 27 May 2010, 14:53

Zabbix update-rc.d LSB tags and led_blink loop - on B3

Post by theWebalyst »

One of my businesses is website hosting for small businesses such as freelancers, and I want to monitor both my own servers and my clients. Enter my trusty B3.

I thought I'd give Zabbix a try as it is fully free and open source and supports Debian.

Following the zabbix wiki instructions for installing on Debian Etch appears to go well (making tiny edits to the commands as I go, e.g. to get the latest zabbix), until the very final steps: update-rc.d of the zabbix server and agent.

Here's the errors from the zabbix server demon set-up.

Code: Select all

root@b3:/home/zabbix/zabbix-1.8.5# update-rc.d zabbix-server defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'zabbix-server' missing LSB tags and overrides
insserv: warning: script 'zabbix-agent' missing LSB tags and overrides
insserv: There is a loop between service led_blink and zabbix-server if stopped
insserv:  loop involving service zabbix-server at depth 2
insserv:  loop involving service led_blink at depth 1
insserv: Stopping zabbix-agent depends on led_blink and therefore on system facility `$all' which can not be true!
insserv: Stopping zabbix-server depends on led_blink and therefore on system facility `$all' which can not be true!
insserv: Stopping zabbix-agent depends on led_blink 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
Firstly, the install is missing LSB tags. I don't understand these properly so if anyone can advise on whether I need to worry about this and whether they are likely to cause the subsequent problem your help will be appreciated.

Secondly, it complains about a dependency loop involving led_blink.

This sounds like a fairly easy thing to fix, but its not an area I understand so hints or precise instructions would be very welcome.

Thanks

Mark
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Zabbix update-rc.d LSB tags and led_blink loop - on B3

Post by Ubi »

afaik led_blink in bubba is a custom program that has no business with zabbix. I suppose you can safely cut the dependency and you should be done.
theWebalyst
Posts: 96
Joined: 27 May 2010, 14:53

Re: Zabbix update-rc.d LSB tags and led_blink loop - on B3

Post by theWebalyst »

Thanks Ubi.

I solved this by creating and inserting my own LSB tags into the scripts.

It looks as if the dependency decaults to $all when no LSB tags are present, which is odd (possible b3/squeeze issue), and that this causes a problem (loop dependency) since you can only have one such item (and this is already specified for led_blink).

Mark
Post Reply