Ad Widget

Collapse

installation issues with 1.9.7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • greebo
    Junior Member
    • Oct 2011
    • 3

    #1

    installation issues with 1.9.7

    Hi,

    I thought I'd trial 1.9.7 as we currently need the dynamic discoveries to allow us to implement zabbix so I've installed it on a test machine with a fresh mysql db (centos 5.6, 4 cores, 16gb ram).

    Following the 2.0 install manual went fine (the database/mysql/*.mysql structure isn't present but used create/{schema data}/*.mysql). However when I start the server and try to add a simple ping check I get the following in the server logs:

    Code:
    12755:20111102:121935.431 server #0 started [main process]
    12836:20111102:121938.967 Deleted 0 records from history and trends
    12757:20111102:122035.207 no records in table 'config'
    12757:20111102:122135.272 no records in table 'config'
    12757:20111102:122235.332 no records in table 'config'
    12757:20111102:122335.394 no records in table 'config'
    12757:20111102:122435.464 no records in table 'config'
    If I then enable DM with
    Code:
    /usr/sbin/zabbix_server -n 1 -c /etc/zabbix/zabbix_server.conf
    it starts properly and allows me to perform simple monitoring.

    I also tried to enable the dynamic fs discovery checks (for 1 host only) and that resulted in a machine that was usable for 10mins or so and then ramped up to a load of 25+ very quickly and stopped recieving data, initial investigations seems to suggest I hit a deadlock somewhere so I've dropped that database and I'm re-testing.
  • greebo
    Junior Member
    • Oct 2011
    • 3

    #2
    Further to this very quickly I see the following in the logs:

    Code:
      1871:20111102:130114.039 [Z3005] query failed: [2006] MySQL server has gone away [begin;]
      1874:20111102:130214.105 [Z3005] query failed: [2006] MySQL server has gone away [begin;]
    The server is running one check on a single host and there doesn't appear to be a problem with the mysql install.

    Thanks

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      huh. you shouldn't convert the db just like that... did you change nodeid in server config file for some reason ?
      Zabbix 3.0 Network Monitoring book

      Comment

      Working...