Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10753

3.0 server on MySQL (at least) stops immediately when cannot connect to database on start

XMLWordPrintable

      Definitely something has changed for 3.0 (at least for MySQL):
      2.4 server stopped manually after a few connect attempts:

       28591:20160505:174712.923 Starting Zabbix Server. Zabbix 2.4.8rc1 (revision 58407).
       28591:20160505:174712.923 ****** Enabled features ******
       28591:20160505:174712.923 SNMP monitoring:           YES
       28591:20160505:174712.923 IPMI monitoring:           YES
       28591:20160505:174712.923 WEB monitoring:            YES
       28591:20160505:174712.923 VMware monitoring:         YES
       28591:20160505:174712.923 Jabber notifications:      YES
       28591:20160505:174712.923 Ez Texting notifications:  YES
       28591:20160505:174712.923 ODBC:                      YES
       28591:20160505:174712.923 SSH2 support:              YES
       28591:20160505:174712.923 IPv6 support:              YES
       28591:20160505:174712.923 ******************************
       28591:20160505:174712.923 using configuration file: /zab/bin/2.4/zabbix_server.conf
       28591:20160505:174712.925 [Z3001] connection to database '2.4' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
       28591:20160505:174712.925 database is down: reconnecting in 10 seconds
       28591:20160505:174722.926 [Z3001] connection to database '2.4' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
       28591:20160505:174722.926 database is down: reconnecting in 10 seconds
       28591:20160505:174730.299 Got signal [signal:15(SIGTERM),sender_pid:28599,sender_uid:0,reason:0]. Exiting ...
       28591:20160505:174732.299 [Z3001] connection to database '2.4' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
       28591:20160505:174732.299 Cannot connect to the database. Exiting...
      

      3.0 server exits itself immediately:

       28686:20160505:174754.788 Starting Zabbix Server. Zabbix 3.0.3rc1 (revision 59873).
       28686:20160505:174754.788 ****** Enabled features ******
       28686:20160505:174754.788 SNMP monitoring:           YES
       28686:20160505:174754.789 IPMI monitoring:           YES
       28686:20160505:174754.789 Web monitoring:            YES
       28686:20160505:174754.789 VMware monitoring:         YES
       28686:20160505:174754.789 SMTP authentication:       YES
       28686:20160505:174754.789 Jabber notifications:      YES
       28686:20160505:174754.789 Ez Texting notifications:  YES
       28686:20160505:174754.789 ODBC:                      YES
       28686:20160505:174754.789 SSH2 support:              YES
       28686:20160505:174754.789 IPv6 support:              YES
       28686:20160505:174754.789 TLS support:                NO
       28686:20160505:174754.789 ******************************
       28686:20160505:174754.789 using configuration file: /zab/bin/3.0/zabbix_server.conf
       28686:20160505:174754.790 loaded modules: dummy.so
       28686:20160505:174754.791 [Z3001] connection to database '3.0def' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
       28686:20160505:174754.792 Cannot connect to the database. Exiting...
      

      Discussed a bit it with Sasha and he said this is a bug and has to be fixed.

      Related discussion is ZBX-4611

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            3 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: