zabbix_agentd will not start after reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zabbix (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: zabbix-agent
The init script /etc/init.
The directory can be created at zabbix-agent start by altering the script /etc/init.
#! /bin/sh
### BEGIN INIT INFO
# Provides: zabbix-agent
# Required-Start: $local_fs $network
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Start zabbix-agent daemon
### END INIT INFO
DAEMON=
NAME=zabbix_agentd
DESC="Zabbix agent"
PID=/var/
test -f $DAEMON || exit 0
set -e
case "$1" in
start)
rm -f $PID
echo "Starting $DESC: $NAME"
if ! [ -d `dirname $PID` ]; then
fi
;;
stop)
echo "Stopping $DESC: $NAME"
;;
restart|
$0 stop
$0 start
;;
*)
echo "Usage: $N {start|
exit 1
;;
esac
exit 0
Changed in zabbix: | |
assignee: | nobody → shermann |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in zabbix (Ubuntu): | |
assignee: | Stephan Hermann (shermann) → Krzysztof Klimonda (kklimonda) |
status: | Confirmed → In Progress |
Changed in zabbix (Ubuntu): | |
assignee: | Krzysztof Klimonda (kklimonda) → nobody |
status: | In Progress → Confirmed |
confirmed also with Ubuntu 7.10
is also the case for zabbix-server
Solution:
after reboot create the following directories in /var/run/
drwxr-xr-x 2 zabbix zabbix 60 2008-01-01 19:55 zabbix-agent
drwxr-xr-x 2 zabbix zabbix 60 2008-01-01 19:55 zabbix-server
These directories are deleted again after another reboot :-(