Page 1 of 1

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

Posted: 23 Apr 2011, 10:41
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

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

Posted: 23 Apr 2011, 10:59
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.

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

Posted: 23 Apr 2011, 12:55
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