My question is, I never specify using root to connect the database in the zabbix_server.conf, why it keep saying it try to connect using 'root@localhost'? Is there another file that I need to look into?
Ad Widget
Collapse
error after sql patched update for v2.0
Collapse
X
-
I did. But it still not work.
I just realized I was using the old /etc/init.d/zabbix_server (copied from the 1.8.14 system). I copied the 2.0.1 one from source and I have below error:
[root@zabbix3 init.d]# /etc/init.d/zabbix-server start
-bash: /etc/init.d/zabbix-server: /sbin/runscript: bad interpreter: No such file or directory
[root@zabbix3 init.d]# cat /etc/init.d/zabbix-server
#!/sbin/runscript
#
# Zabbix server start/stop script.
#
# Written by A. Tophofen
# Modified for Zabbix 2.0.0
# May 2012, Zabbix SIA
NAME=zabbix_server
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin
DAEMON=/usr/local/sbin/${NAME}
DESC="Zabbix server"
PID=/tmp/$NAME.pid
opts="${opts} reload"
depend() {
need net
}
start() {
ebegin "Starting $DESC: $NAME"
start-stop-daemon --start --pidfile $PID \
--exec $DAEMON
eend
}
stop() {
ebegin "Stopping $DESC: $NAME"
start-stop-daemon --stop --pidfile $PID \
--exec $DAEMON
eend
}Comment
Comment