Galera, Boa tarde.
Faltou energia aqui no trabalho, e perdi a conectividade do meu ZABBIX (Zabbix server is running = NO), já alterei o banco, porém, ele não ativa, alguém já passou por isso? Tem alguma dica?
Já iniciei o zabbix, e não funcionou..
Olha os logs:
root@joand3512004:~# tail -f /var/log/zabbix/zabbix_server.log
22136:20170801:123544.759 Cannot connect to the database. Exiting...
21888:20170801:123544.760 One child process died (PID:22010,exitcode/signal:1). Exiting ...
22138:20170801:123544.813 Cannot connect to the database. Exiting...
22184:20170801:123544.813 Cannot connect to the database. Exiting...
21995:20170801:123544.814 Cannot connect to the database. Exiting...
21888:20170801:123546.762 syncing history data...
21888:20170801:123546.762 syncing history data done
21888:20170801:123546.762 syncing trend data...
21888:20170801:123546.762 syncing trend data done
21888:20170801:123546.762 Zabbix Server stopped. Zabbix 3.2.7 (revision 70298).
^C
root@joand3512004:~# tail -f /var/log/zabbix/zabbix_agentd.log
22357:20170801:123551.541 TLS support: YES
22357:20170801:123551.541 **************************
22357:20170801:123551.541 using configuration file: /etc/zabbix/zabbix_agentd.conf
22357:20170801:123551.542 agent #0 started [main process]
22358:20170801:123551.542 agent #1 started [collector]
22361:20170801:123551.543 agent #4 started[listener #3]
22362:20170801:123551.543 agent #5 started [active checks #1]
22360:20170801:123551.544 agent #3 started[listener #2]
22359:20170801:123551.546 agent #2 started[listener #1]
22362:20170801:123551.547 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)
^C
root@joand3512004:~# tail -f /var/log/mysql/error.log
2017-08-01T15:35:44.811637Z 173 [Note] Aborted connection 173 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.811694Z 178 [Note] Aborted connection 178 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.812009Z 176 [Note] Aborted connection 176 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.812959Z 177 [Note] Aborted connection 177 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.812993Z 137 [Note] Aborted connection 137 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.813066Z 174 [Note] Aborted connection 174 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.813962Z 179 [Note] Aborted connection 179 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.814867Z 175 [Note] Aborted connection 175 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.814967Z 154 [Note] Aborted connection 154 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.821557Z 42 [Note] Aborted connection 42 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error writing communication packets)
root@joand3512004:~# /etc/init.d/zabbix-server start
[ ok ] Starting zabbix-server (via systemctl): zabbix-server.service.
root@joand3512004:~# /etc/init.d/zabbix-agent start
[ ok ] Starting zabbix-agent (via systemctl): zabbix-agent.service.
root@joand3512004:~# tail -f /var/log/zabbix/zabbix_server.log
30211:20170801:171837.960 Cannot connect to the database. Exiting...
30210:20170801:171837.960 Cannot connect to the database. Exiting...
29914:20170801:171837.960 One child process died (PID:30100,exitcode/signal:1). Exiting ...
30208:20170801:171838.004 Cannot connect to the database. Exiting...
30209:20170801:171838.004 Cannot connect to the database. Exiting...
29914:20170801:171839.961 syncing history data...
29914:20170801:171839.961 syncing history data done
29914:20170801:171839.961 syncing trend data...
29914:20170801:171839.961 syncing trend data done
29914:20170801:171839.961 Zabbix Server stopped. Zabbix 3.2.7 (revision 70298).
^C
root@joand3512004:~# tail -f /var/log/m
mail.log mail.log.1 mail.log.2.gz mail.log.3.gz mail.log.4.gz mongodb/ mysql/
root@joand3512004:~# tail -f /var/log/mysql/error.log
2017-08-01T20:18:38.004373Z 4663 [Note] Aborted connection 4663 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004384Z 4747 [Note] Aborted connection 4747 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004395Z 4658 [Note] Aborted connection 4658 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004406Z 4697 [Note] Aborted connection 4697 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004417Z 4717 [Note] Aborted connection 4717 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004423Z 4690 [Note] Aborted connection 4690 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004441Z 4744 [Note] Aborted connection 4744 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.005517Z 4708 [Note] Aborted connection 4708 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.006365Z 4710 [Note] Aborted connection 4710 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.006365Z 4648 [Note] Aborted connection 4648 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
Faltou energia aqui no trabalho, e perdi a conectividade do meu ZABBIX (Zabbix server is running = NO), já alterei o banco, porém, ele não ativa, alguém já passou por isso? Tem alguma dica?
Já iniciei o zabbix, e não funcionou..
Olha os logs:
root@joand3512004:~# tail -f /var/log/zabbix/zabbix_server.log
22136:20170801:123544.759 Cannot connect to the database. Exiting...
21888:20170801:123544.760 One child process died (PID:22010,exitcode/signal:1). Exiting ...
22138:20170801:123544.813 Cannot connect to the database. Exiting...
22184:20170801:123544.813 Cannot connect to the database. Exiting...
21995:20170801:123544.814 Cannot connect to the database. Exiting...
21888:20170801:123546.762 syncing history data...
21888:20170801:123546.762 syncing history data done
21888:20170801:123546.762 syncing trend data...
21888:20170801:123546.762 syncing trend data done
21888:20170801:123546.762 Zabbix Server stopped. Zabbix 3.2.7 (revision 70298).
^C
root@joand3512004:~# tail -f /var/log/zabbix/zabbix_agentd.log
22357:20170801:123551.541 TLS support: YES
22357:20170801:123551.541 **************************
22357:20170801:123551.541 using configuration file: /etc/zabbix/zabbix_agentd.conf
22357:20170801:123551.542 agent #0 started [main process]
22358:20170801:123551.542 agent #1 started [collector]
22361:20170801:123551.543 agent #4 started[listener #3]
22362:20170801:123551.543 agent #5 started [active checks #1]
22360:20170801:123551.544 agent #3 started[listener #2]
22359:20170801:123551.546 agent #2 started[listener #1]
22362:20170801:123551.547 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)
^C
root@joand3512004:~# tail -f /var/log/mysql/error.log
2017-08-01T15:35:44.811637Z 173 [Note] Aborted connection 173 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.811694Z 178 [Note] Aborted connection 178 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.812009Z 176 [Note] Aborted connection 176 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.812959Z 177 [Note] Aborted connection 177 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.812993Z 137 [Note] Aborted connection 137 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.813066Z 174 [Note] Aborted connection 174 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.813962Z 179 [Note] Aborted connection 179 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.814867Z 175 [Note] Aborted connection 175 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.814967Z 154 [Note] Aborted connection 154 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T15:35:44.821557Z 42 [Note] Aborted connection 42 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error writing communication packets)
root@joand3512004:~# /etc/init.d/zabbix-server start
[ ok ] Starting zabbix-server (via systemctl): zabbix-server.service.
root@joand3512004:~# /etc/init.d/zabbix-agent start
[ ok ] Starting zabbix-agent (via systemctl): zabbix-agent.service.
root@joand3512004:~# tail -f /var/log/zabbix/zabbix_server.log
30211:20170801:171837.960 Cannot connect to the database. Exiting...
30210:20170801:171837.960 Cannot connect to the database. Exiting...
29914:20170801:171837.960 One child process died (PID:30100,exitcode/signal:1). Exiting ...
30208:20170801:171838.004 Cannot connect to the database. Exiting...
30209:20170801:171838.004 Cannot connect to the database. Exiting...
29914:20170801:171839.961 syncing history data...
29914:20170801:171839.961 syncing history data done
29914:20170801:171839.961 syncing trend data...
29914:20170801:171839.961 syncing trend data done
29914:20170801:171839.961 Zabbix Server stopped. Zabbix 3.2.7 (revision 70298).
^C
root@joand3512004:~# tail -f /var/log/m
mail.log mail.log.1 mail.log.2.gz mail.log.3.gz mail.log.4.gz mongodb/ mysql/
root@joand3512004:~# tail -f /var/log/mysql/error.log
2017-08-01T20:18:38.004373Z 4663 [Note] Aborted connection 4663 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004384Z 4747 [Note] Aborted connection 4747 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004395Z 4658 [Note] Aborted connection 4658 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004406Z 4697 [Note] Aborted connection 4697 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004417Z 4717 [Note] Aborted connection 4717 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004423Z 4690 [Note] Aborted connection 4690 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.004441Z 4744 [Note] Aborted connection 4744 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.005517Z 4708 [Note] Aborted connection 4708 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.006365Z 4710 [Note] Aborted connection 4710 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
2017-08-01T20:18:38.006365Z 4648 [Note] Aborted connection 4648 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
Comment