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

server shuts down if housekeeper can not access the db

    Details

      Description

      when a db disappears, server works for a while, trying to survive. that succeeds, but then housekeeper starts, can not connect to the db & dies

      5148:20120619:104339.372 server #16 started housekeeper #1
      5131:20120619:104339.377 server #0 started [main process]
      ...
      5157:20120625:125317.955 Sending configuration data to proxy 'proxy.company.local'. Datalen 28616
      5134:20120625:125413.663 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5134:20120625:125413.663 watchdog: database is down
      5134:20120625:125527.660 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5134:20120625:125527.660 watchdog: database is down
      5134:20120625:125641.658 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5134:20120625:125641.658 watchdog: database is down
      5134:20120625:125755.655 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5134:20120625:125755.655 watchdog: database is down
      5157:20120625:125817.433 Sending configuration data to proxy 'proxy.company.local'. Datalen 28616
      5134:20120625:125909.653 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5134:20120625:125909.653 watchdog: database is down
      5148:20120625:125932.691 executing housekeeper
      5148:20120625:125946.652 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5148:20120625:125946.652 Cannot connect to the database. Exiting...
      5131:20120625:125946.653 One child process died (PID:5148,exitcode/signal:255). Exiting ...
      5131:20120625:130002.651 [Z3001] connection to database 'zabbix' failed: [2005] Unknown MySQL server host 'mysql.company.local' (1)
      5131:20120625:130002.651 Cannot connect to the database. Exiting...

      related question : how does proxy data sending work in this case ? is it present in server config cache ?
      is it the same for active and passive proxies (this one is passive) ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              richlv richlv
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: