Ad Widget

Collapse

Mysql Socket

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • efrain02
    Banned
    • Apr 2011
    • 81

    #1

    Mysql Socket

    Ok. Here I Am Again... This time it seems that my problem is in mysql. The problem i have is that zabbix appears as "zabbix server is running - YES", but 3 seconds later it appears as "zabbix server is running - NO". This status of zabbix are real (i mean, when zabbix appears as not running, it really is "not running"). And here is my zabbix_server.log file:

    Code:
    2296:20110423:075840.833 Starting Zabbix Server. Zabbix 1.8.4 (revision 16604)                                                                             .
      2296:20110423:075840.833 ****** Enabled features ******
      2296:20110423:075840.833 SNMP monitoring:           YES
      2296:20110423:075840.833 IPMI monitoring:            NO
      2296:20110423:075840.833 WEB monitoring:            YES
      2296:20110423:075840.833 Jabber notifications:      YES
      2296:20110423:075840.834 Ez Texting notifications:  YES
      2296:20110423:075840.834 ODBC:                       NO
      2296:20110423:075840.834 SSH2 support:               NO
      2296:20110423:075840.834 IPv6 support:               NO
      2296:20110423:075840.834 ******************************
      2296:20110423:075840.856 [Z3001] Connection to database 'zabbix' failed: [2002                                                                             ] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.soc                                                                             k' (2)
      6466:20110424:063232.028 Starting Zabbix Server. Zabbix 1.8.4 (revision 16604)                                                                             .
      6466:20110424:063232.029 ****** Enabled features ******
      6466:20110424:063232.029 SNMP monitoring:           YES
      6466:20110424:063232.029 IPMI monitoring:            NO
      6466:20110424:063232.029 WEB monitoring:            YES
      6466:20110424:063232.029 Jabber notifications:      YES
      6466:20110424:063232.029 Ez Texting notifications:  YES
      6466:20110424:063232.029 ODBC:                       NO
      6466:20110424:063232.029 SSH2 support:               NO
      6466:20110424:063232.029 IPv6 support:               NO
      6466:20110424:063232.029 ******************************
      6466:20110424:063232.032 [Z3001] Connection to database 'zabbix' failed: [2002                                                                             ] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.soc                                                                             k' (111)
      6574:20110424:064817.244 Starting Zabbix Server. Zabbix 1.8.4 (revision 16604)                                                                             .
      6574:20110424:064817.245 ****** Enabled features ******
      6574:20110424:064817.245 SNMP monitoring:           YES
      6574:20110424:064817.245 IPMI monitoring:            NO
      6574:20110424:064817.245 WEB monitoring:            YES
      6574:20110424:064817.245 Jabber notifications:      YES
      6574:20110424:064817.245 Ez Texting notifications:  YES
      6574:20110424:064817.245 ODBC:                       NO
      6574:20110424:064817.245 SSH2 support:               NO
      6574:20110424:064817.245 IPv6 support:               NO
      6574:20110424:064817.245 ******************************
      6574:20110424:064817.252 [Z3001] Connection to database 'zabbix' failed: [2002                                                                             ] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.soc                                                                             k' (111)
      6758:20110424:064959.153 Starting Zabbix Server. Zabbix 1.8.4 (revision 16604)                                                                             .
      6758:20110424:064959.154 ****** Enabled features ******
      6758:20110424:064959.154 SNMP monitoring:           YES
      6758:20110424:064959.154 IPMI monitoring:            NO
      6758:20110424:064959.154 WEB monitoring:            YES
      6758:20110424:064959.154 Jabber notifications:      YES
      6758:20110424:064959.154 Ez Texting notifications:  YES
      6758:20110424:064959.154 ODBC:                       NO
      6758:20110424:064959.154 SSH2 support:               NO
      6758:20110424:064959.154 IPv6 support:               NO
      6758:20110424:064959.154 ******************************
      6759:20110424:064959.346 server #1 started [DB Cache]
      6773:20110424:064959.407 server #15 started [Housekeeper]
      6773:20110424:064959.429 Executing housekeeper
      6766:20110424:064959.442 server #8 started [Trapper]
      6772:20110424:064959.428 server #14 started [Alerter]
      6769:20110424:064959.451 server #11 started [Trapper]
      6770:20110424:064959.488 server #12 started [Trapper]
      6765:20110424:064959.497 server #7 started [Poller for unreachable hosts. SNMP                                                                             :YES]
      6767:20110424:064959.505 server #9 started [Trapper]
      6771:20110424:064959.525 server #13 started [ICMP pinger]
      6768:20110424:064959.548 server #10 started [Trapper]
      6778:20110424:064959.566 server #16 started [Timer]
      6779:20110424:064959.567 server #17 started [HTTP Poller]
      6763:20110424:064959.582 server #5 started [Poller. SNMP:YES]
      6782:20110424:064959.583 server #19 started [DB Syncer]
      6785:20110424:064959.587 server #21 started [DB Syncer]
      6786:20110424:064959.587 server #22 started [DB Syncer]
      6787:20110424:064959.590 server #23 started [Escalator]
      6758:20110424:064959.595 server #0 started [Watchdog]
      6784:20110424:064959.613 server #20 started [DB Syncer]
      6788:20110424:064959.615 server #24 started [Proxy Poller]
      6764:20110424:064959.638 server #6 started [Poller. SNMP:YES]
      6760:20110424:064959.642 server #2 started [Poller. SNMP:YES]
      6761:20110424:064959.682 server #3 started [Poller. SNMP:YES]
      6781:20110424:064959.747 server #18 started [Discoverer. SNMP:YES]
      6762:20110424:064959.789 server #4 started [Poller. SNMP:YES]
      6759:20110424:065001.216 __mem_malloc: skipped 0 asked 40 skip_min 4294967295                                                                              skip_max 0
      6759:20110424:065001.217 [file:dbconfig.c,line:1221] zbx_mem_malloc(): out of                                                                              memory (requested 36 bytes).
      6759:20110424:065001.218 [file:dbconfig.c,line:1221] zbx_mem_malloc(): please                                                                              increase CacheSize configuration parameter.
      6758:20110424:065001.233 One child process died (PID:6759,exitcode/signal:255)                                                                             . Exiting ...
      6758:20110424:065003.257 Syncing history data...
      6758:20110424:065003.341 Syncing history data... done.
      6758:20110424:065003.341 Syncing trends data...
      6758:20110424:065003.508 Syncing trends data... done.
      6758:20110424:065003.508 Zabbix Server stopped. Zabbix 1.8.4 (revision 16604).
      7440:20110424:070941.310 Starting Zabbix Server. Zabbix 1.8.4 (revision 16604)                                                                             .
      7440:20110424:070941.310 ****** Enabled features ******
      7440:20110424:070941.310 SNMP monitoring:           YES
      7440:20110424:070941.310 IPMI monitoring:            NO
      7440:20110424:070941.310 WEB monitoring:            YES
      7440:20110424:070941.310 Jabber notifications:      YES
      7440:20110424:070941.310 Ez Texting notifications:  YES
      7440:20110424:070941.310 ODBC:                       NO
      7440:20110424:070941.310 SSH2 support:               NO
      7440:20110424:070941.310 IPv6 support:               NO
      7440:20110424:070941.310 ******************************
      7441:20110424:070941.532 server #1 started [DB Cache]
      7449:20110424:070941.547 server #9 started [Trapper]
      7450:20110424:070941.549 server #10 started [Trapper]
      7451:20110424:070941.552 server #11 started [Trapper]
      7452:20110424:070941.558 server #12 started [Trapper]
      7453:20110424:070941.563 server #13 started [ICMP pinger]
      7448:20110424:070941.603 server #8 started [Trapper]
      7455:20110424:070941.606 server #14 started [Alerter]
      7457:20110424:070941.608 server #15 started [Housekeeper]
      7457:20110424:070941.608 Executing housekeeper
      7459:20110424:070941.638 server #16 started [Timer]
      7446:20110424:070941.643 server #6 started [Poller. SNMP:YES]
      7462:20110424:070941.645 server #17 started [HTTP Poller]
      7465:20110424:070941.667 server #19 started [DB Syncer]
      7447:20110424:070941.678 server #7 started [Poller for unreachable hosts. SNMP                                                                             :YES]
      7443:20110424:070941.680 server #3 started [Poller. SNMP:YES]
      7464:20110424:070941.717 server #18 started [Discoverer. SNMP:YES]
      7442:20110424:070941.718 server #2 started [Poller. SNMP:YES]
      7470:20110424:070941.719 server #20 started [DB Syncer]
      7473:20110424:070941.722 server #21 started [DB Syncer]
      7475:20110424:070941.725 server #22 started [DB Syncer]
      7477:20110424:070941.732 server #23 started [Escalator]
      7479:20110424:070941.735 server #24 started [Proxy Poller]
      7440:20110424:070941.739 server #0 started [Watchdog]
      7445:20110424:070941.745 server #5 started [Poller. SNMP:YES]
      7444:20110424:070941.816 server #4 started [Poller. SNMP:YES]
      7441:20110424:070943.153 __mem_malloc: skipped 0 asked 40 skip_min 4294967295                                                                              skip_max 0
      7441:20110424:070943.153 [file:dbconfig.c,line:1221] zbx_mem_malloc(): out of                                                                              memory (requested 36 bytes).
      7441:20110424:070943.153 [file:dbconfig.c,line:1221] zbx_mem_malloc(): please                                                                              increase CacheSize configuration parameter.
      7440:20110424:070943.157 One child process died (PID:7441,exitcode/signal:255)                                                                             . Exiting ...
      7440:20110424:070945.181 Syncing history data...
      7440:20110424:070945.209 Syncing history data... done.
      7440:20110424:070945.210 Syncing trends data...
      7440:20110424:070945.224 Syncing trends data... done.
      7440:20110424:070945.225 Zabbix Server stopped. Zabbix 1.8.4 (revision 16604).
     22659:20110424:091912.732 Starting Zabbix Server. Zabbix 1.8.4 (revision 16604)                                                                             .
     22659:20110424:091912.739 ****** Enabled features ******
     22659:20110424:091912.741 SNMP monitoring:           YES
     22659:20110424:091912.741 IPMI monitoring:            NO
     22659:20110424:091912.741 WEB monitoring:            YES
     22659:20110424:091912.741 Jabber notifications:      YES
     22659:20110424:091912.741 Ez Texting notifications:  YES
     22659:20110424:091912.741 ODBC:                       NO
     22659:20110424:091912.741 SSH2 support:               NO
     22659:20110424:091912.742 IPv6 support:               NO
     22659:20110424:091912.742 ******************************
     22660:20110424:091912.978 server #1 started [DB Cache]
     22667:20110424:091912.989 server #8 started [Trapper]
     22668:20110424:091912.989 server #9 started [Trapper]
     22675:20110424:091912.990 server #16 started [Timer]
     22674:20110424:091912.991 server #15 started [Housekeeper]
     22674:20110424:091912.991 Executing housekeeper
     22672:20110424:091912.991 server #13 started [ICMP pinger]
     22676:20110424:091912.991 server #17 started [HTTP Poller]
     22673:20110424:091912.993 server #14 started [Alerter]
     22671:20110424:091912.994 server #12 started [Trapper]
     22670:20110424:091912.996 server #11 started [Trapper]
     22681:20110424:091913.004 server #19 started [DB Syncer]
     22685:20110424:091913.020 server #20 started [DB Syncer]
     22686:20110424:091913.027 server #21 started [DB Syncer]
     22669:20110424:091913.027 server #10 started [Trapper]
     22687:20110424:091913.029 server #22 started [DB Syncer]
     22688:20110424:091913.030 server #23 started [Escalator]
     22689:20110424:091913.032 server #24 started [Proxy Poller]
     22659:20110424:091913.034 server #0 started [Watchdog]
     22677:20110424:091913.355 server #18 started [Discoverer. SNMP:YES]
     22664:20110424:091913.356 server #5 started [Poller. SNMP:YES]
     22665:20110424:091913.361 server #6 started [Poller. SNMP:YES]
     22663:20110424:091913.366 server #4 started [Poller. SNMP:YES]
     22661:20110424:091913.376 server #2 started [Poller. SNMP:YES]
     22662:20110424:091913.403 server #3 started [Poller. SNMP:YES]
     22666:20110424:091913.446 server #7 started [Poller for unreachable hosts. SNMP                                                                             :YES]
     22660:20110424:091914.583 __mem_malloc: skipped 0 asked 40 skip_min 4294967295                                                                              skip_max 0
     22660:20110424:091914.583 [file:dbconfig.c,line:1221] zbx_mem_malloc(): out of                                                                              memory (requested 36 bytes).
     22660:20110424:091914.583 [file:dbconfig.c,line:1221] zbx_mem_malloc(): please                                                                              increase CacheSize configuration parameter.
     22659:20110424:091914.587 One child process died (PID:22660,exitcode/signal:255                                                                             ). Exiting ...
     22659:20110424:091916.608 Syncing history data...
     22659:20110424:091916.721 Syncing history data... done.
     22659:20110424:091916.721 Syncing trends data...
     22659:20110424:091916.908 Syncing trends data... done.
     22659:20110424:091916.908 Zabbix Server stopped. Zabbix 1.8.4 (revision 16604).
    My configuration files are ok... the username, password an host are also ok. So as you can see i don't have any idea of what i should do to make it work right. Thanks in advance... i hope someone could give a hint on what to do.

    Thank you
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #2
    you faced this issue on OS boot?

    Comment

    • efrain02
      Banned
      • Apr 2011
      • 81

      #3
      Originally posted by Davidus
      you faced this issue on OS boot?
      Yes. Today i check again the log file and the problem of mysql socket apparently disapears, but the log file says to increase the cache size (on dbconfig.c) and i still have the problem with the "zabbix server is running - NO". I try to find the dbconfig.c file to change the cache size but i don't know in wich path is.
      Anyone knows where is it?

      Thanks.

      Comment

      • Davidus
        Senior Member
        • Dec 2010
        • 281

        #4
        If you face this kind of problem particularly on OS boot, its because your zabbix boots before mysql does. This is not good, cause zabbix need database on startup.

        Comment

        • efrain02
          Banned
          • Apr 2011
          • 81

          #5
          MySQL is correctly installed because i use it with zabbix 1.8.3... what do you suggest me to do in order to save the most i can zabbix? Because it seems really bad and the time is passing. Thanks

          Comment

          • Davidus
            Senior Member
            • Dec 2010
            • 281

            #6
            Is zabbix working properly when you start it manually?

            Comment

            • efrain02
              Banned
              • Apr 2011
              • 81

              #7
              Now its working but i have an error 28 of mysql.

              Comment

              • Davidus
                Senior Member
                • Dec 2010
                • 281

                #8
                So, if this problem appeared with upgrade of zabbix version, my suggestion would be, roll back on 1.8.3; see if everything works and lately update you zabbix on 1.8.5

                Comment

                • efrain02
                  Banned
                  • Apr 2011
                  • 81

                  #9
                  Thanks for the suggestion... actually i'm really close to solve this thing... but i need to know how can i compress my zabbix_server.log in order to see if everything works fine.

                  If someone knows please let me know

                  Comment

                  Working...