[Email protected] zabbix]#/etc/init.d/zabbix_server startstarting zabbix_server (via Systemctl): [
OK][[email protected] ~]# ps-ef|grep zabbixroot 20125 19728 0 10:22 pts/3 00:00:00 grep--color=auto Zabbix surface Zabbi X_server has been started, but no zabbix_server process has been found
Workaround: View the Service status report[Email protected] ~]#
/etc/init.d/zabbix_server StatusZabbix_server.service-sysv:starts and stops Zabbix server using Chkconfig loaded:loaded (/etc/rc.d/init.d/zabbix_s erver; Bad Vendor preset:disabled) active:active (exited) since Mon 2017-02-27 16:27:22 CST; 18h ago Docs:man:systemd-sysv-gene rator (8) Feb 16:27:22 Iz25m1box8cz systemd[1]: Starting sysv:starts and stops Zabbix Server using Chkconfig ... Feb 16:27:22 Iz25m1box8cz zabbix_server[6313]:
starting Zabbix_server:/usr/local/zabbix//sbin/zabbix_server:error while loading GKFX libraries: LIBMYSQLCLIENT.SO.20:CA ... or directoryFeb 16:27:22 Iz25m1box8cz zabbix_server[6313]: [Failed]feb 16:27:22 Iz25m1box8cz systemd[1]: Started sysv:starts an D stops Zabbix Server using Chkconfig. Hint:some lines were ellipsized, use-l to show in full. Correspondence resolution: [[email protected] mysql]# LS/USR/LOCAL/MYSQL/LIB/LIBMYSQLC LIENT.A libmysqlclient.so libmysqlclient.so.20 libmysqlclient.so.20.3.3 libmysqld.a libmysqld-debug.a Libmysqlservic ES.A mecab pkgconfig plugin[[email protected] mysql]#
ln-s/usr/local/mysql/lib/libmysqlclient.so.20/usr/lib64/Restart Zabbix_server:[[email protected] zabbix]#
/etc/init.d/zabbix_server RestartCheck the service status report again: [[email protected] ~]#/etc/init.d/zabbix_server status Zabbix_server.service-sysv:starts and stops Zabbix Server using Chkconfig loaded:loaded (/etc/rc.d/init.d/zabbix_server; bad; vendor preset:disabled) active:active ( exited) since Tue 2017-02-28 11:25:07 CST; 5s ago Docs:man:systemd-sysv-generator (8) process:22235 execstop=/etc/rc.d/init.d/zabbix_server Stop (code=exited, status=0/success) process:22249 execstart=/etc/rc.d/init.d/zabbix_server start (code=exited, Status=0/SUCCESS) Feb 28 11:25:07 Iz25m1box8cz systemd[1]: Starting sysv:starts and stops Zabbix Server using chkconfig ... Feb 11:25:07 Iz25m1box8cz zabbix_server[22249]:
starting Zabbix_server:zabbix_server [22256]: Unknown parameter [alertscriptspath] in config file [/usr/local/zabbi X/etc/zab ...], lineFeb 11:25:07 Iz25m1box8cz zabbix_server[22249]: [Failed]feb 11:25:07 Iz25m1box8cz systemd[1]: Started sysv:starts A nd stops Zabbix Server using Chkconfig. Hint:some lines were ellipsized, use-l to show on full. To modify the/usr/local/zabbix/etc/zabbix_server.conf in the
AalertscriptspathOn the line. Finally restart Zabbix_server:[[email protected] zabbix]#
/etc/init.d/zabbix_server RestartRestarting Zabbix_server (via Systemctl): [OK][[email protected] ~]#
/etc/init.d/zabbix_server StatusZabbix_server.service-sysv:starts and stops Zabbix server using chkconfig loaded:loaded (/etc/rc.d/init. D/zabbix_server; Bad Vendor preset:disabled) active:active (running) since Tue 2017-02-28 11:25:40 CST; 4s ago docs:man:systemd-sysv-generator (8) process:22293 Execstop=/etc/rc.d/init.d/zabbix_ Server Stop (code=exited, status=0/success) process:22307 execstart=/etc/rc.d/init.d/zabbix_server Start (code= Exited, status=0/success) cgroup:/system.slice/zabbix_server.service & nbsp;├─22316/usr/local/zabbix/sbin/zabbix_server ├─22318/usr/local/zabbix/ Sbin/zabbix_server:configuration Syncer [Waiting sec for processes] ├─22319/u Sr/local/zabbix/sbin/zabbix_server:db watchdog [Synced Alerts config in 0.001065 sec, idle sec] &N Bsp ├─22320/usr/local/zabbix/sbin/zabbix_server:poller #1 [got 0 values in 0.000017 sec, idle 5 sec] ├─22321/usr/ Local/zabbix/sbin/zabbix_server:poller #2 [got 0 values in 0.000020 sec, idle 5 sec] &N Bsp;├─22322/usr/local/zabbix/sbin/zabbix_server:poller #3 [got 0 values in 0.000024 sec, idle 5 sec] ├─22323/usr/local/zabbix/sbin/zabbix_server:poller #4 [got 0 values in 0.000019 sec, idle 5 sec]&nb Sp ├─22324/usr/local/zabbix/sbin/zabbix_server:poller #5 [got 0 values in 0.000025 sec, I Dle 5 sec] ├─22325/usr/local/zabbix/sbin/zabbix_server:unreachable poller #1 [Go T 0 values in 0.000020 sec, idle 5 sec] ├─22326/usr/local/zabbix/sbin/zabbix_serv Er:trapper #1 [Processed data in 0.000000 sec, waiting for connection] ├─22327/u Sr/local/zabbix/sbin/zabbix_server:trapper #2 [Processed data in 0.000000 sec, waiting for connection] &NBS P;├─22328/usr/local/zabbix/sbin/zabbix_server:trapper #3 [Processed data in 0.000000 sec, waiting for connection] ├─22329/usr/local/zabbix/sbin/zabbix_server:trapper #4 [processed data in 0.000000 SE C, waiting for connection] ├─22330/usr/local/zabbix/sbin/zabbix_server:trapper #5 [Processed data in 0.000000 sec, waiting for connection] ├─22331/usr/local/zab BIX/SBIN/ZABBIX_SERVER:ICMP pinger #1 [got 0 values in 0.000024 sec, idle 5 sec] ├─22332/usr/local/zabbix/sbin/zabbix_server:alerter [sent alerts:0 success, 0 fail in 0.000555 sec, idle sec] ├─22333/usr/local/zabbix/sbin/zabbix_server:housekeeper [deleted 0 hist/trends, 0 ite MS, 0 events, 0 sessions, 0 Alarms, 0 audit items in 0.207611 ├─22334/usr/local/zabbix/sbin/zabbix_server:t Imer #1 [processed 0 triggers, 0 events in 0.000000 sec, 0 maintenances in 0.000000 sec, idle sec] ├─22335/usr/local/zabbix/sbin/zabbix_server:http poller #1 [got 0 values in 0.000369 sec, idle 5 sec ] ├─22336/usr/local/zabbix/sbin/zabbix_server:discoverer #1 [processed 0 rules I N 0.000411 sec, idle sec] ├─22337/usr/local/zabbix/sbin/zabbix_server:history Syncer #1 [synced 0 items in 0.000011 sec, idle 5 sec] ├─22338/usr/local/zabbix/ Sbin/zabbix_server:history syncer #2 [synced 0 items in 0.000008 sec, idle 5 sec] &NBSP ; ├─22339/usr/local/zabbix/sbin/zabbix_server:history syncer #3 [synced 0 items in 0.000008 sec, idle 5 sec] &NBsp;├─22340/usr/local/zabbix/sbin/zabbix_server:history syncer #4 [synced 0 items in 0.000010 sec, idle 5 sec] &NB Sp ├─22341/usr/local/zabbix/sbin/zabbix_server:escalator [processed 0 escalations in 0.000373 s EC, Idle 3 sec] ├─22342/usr/local/zabbix/sbin/zabbix_server:proxy poller #1 [exc Hanged data with 0 proxies in 0.000017 sec, idle 5 sec] └─22343/usr/local/zabbix/ sbin/zabbix_server:self-monitoring [Processed data in 0.000004 sec, idle 1 sec] feb 11:25:40 Iz25m1box8cz systemd [1]: Starting sysv:starts and stops Zabbix Server using chkconfig ... Feb 11:25:40 Iz25m1box8cz zabbix_server[22307]: Starting zabbix_server: [ ok ]Feb-11:25:40 iZ25m1b Ox8cz systemd[1]: Started sysv:starts and stops Zabbix Server using CHKCONFIG.ZABBIX_AGENTD is also the same phenomenon, no running process. Detection method: The  AGENTD process runs directly behind the configuration file [[email protected] ~]#
/data/zabbix/sbin/zabbix_agentd-c/data/zabbix/etc/zabbix_agentd.conf
Zabbix_server surface started successfully, but no process