Ad Widget

Collapse

Can't get server to start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jbruyet
    Junior Member
    • Aug 2011
    • 6

    #1

    Can't get server to start

    Hey all, I'm having a tough time getting Zabbix running. The install had several hurdles I needed to get over and now that the install is finished the silly thing won't run. Observe:

    [root@CentosNMS ~]# /sbin/service zabbix_server start
    Starting zabbix_server: [FAILED]
    [root@CentosNMS ~]# exit
    exit
    [jobee@CentosNMS ~]$ /sbin/service zabbix_server start
    Starting zabbix_server: Password:
    [FAILED]

    I tried it as root and as me but as you can see it didn't work. I checked the log and saw this:

    7214:20110831:040914 Failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]

    Now I'm in my clueless area. Googling this error didn't help and that means I have no hope unless someone here can point me in a direction. SO, any ideas? Suggestions? Recommendations?

    Thanks,

    Joe B
  • nortiz
    Junior Member
    • Sep 2011
    • 5

    #2
    I Need help too

    HI, I wish that I could help U, but i ma in more trouble that U R

    I have the file, and my question is : what is next. ? How I can install this file on my VMware module. ?

    Do I need to create a VM with Linux ? if so, then how I can send file to da VM and tun the install ?

    As U can see, I have ane question for every question that I ask.

    Can U share some hints.


    Thank U,

    Nestor



    Originally posted by jbruyet
    Hey all, I'm having a tough time getting Zabbix running. The install had several hurdles I needed to get over and now that the install is finished the silly thing won't run. Observe:

    [root@CentosNMS ~]# /sbin/service zabbix_server start
    Starting zabbix_server: [FAILED]
    [root@CentosNMS ~]# exit
    exit
    [jobee@CentosNMS ~]$ /sbin/service zabbix_server start
    Starting zabbix_server: Password:
    [FAILED]

    I tried it as root and as me but as you can see it didn't work. I checked the log and saw this:

    7214:20110831:040914 Failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]

    Now I'm in my clueless area. Googling this error didn't help and that means I have no hope unless someone here can point me in a direction. SO, any ideas? Suggestions? Recommendations?

    Thanks,

    Joe B

    Comment

    • jbruyet
      Junior Member
      • Aug 2011
      • 6

      #3
      Hi nortiz, if you want to run Zabbix from a VM then yes you'll have to install Linux on a VM and then install Zabbix. As to how to get Zabbix to the Linux VM you can use an internet browser to download the software onto the VM and then run the install just like it was a normal Linux machine. I haven't run many programs from Linux VMs but I'm guessing that Zabbix should work just fine that way. As for me, I gave up on Zabbix. I just had too many problems getting it installed and I never did get it running. I'll find another option.

      Good luck,

      Joe B

      Comment

      • nortiz
        Junior Member
        • Sep 2011
        • 5

        #4
        Thank U

        Hi Joe,

        I thank you for your help. I will continue on my quest and share my experience.

        Cheers,

        Comment

        • bcarpio
          Member
          • Jun 2008
          • 96

          #5
          Originally posted by jbruyet
          Hey all, I'm having a tough time getting Zabbix running. The install had several hurdles I needed to get over and now that the install is finished the silly thing won't run. Observe:

          [root@CentosNMS ~]# /sbin/service zabbix_server start
          Starting zabbix_server: [FAILED]
          [root@CentosNMS ~]# exit
          exit
          [jobee@CentosNMS ~]$ /sbin/service zabbix_server start
          Starting zabbix_server: Password:
          [FAILED]

          I tried it as root and as me but as you can see it didn't work. I checked the log and saw this:

          7214:20110831:040914 Failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]

          Now I'm in my clueless area. Googling this error didn't help and that means I have no hope unless someone here can point me in a direction. SO, any ideas? Suggestions? Recommendations?

          Thanks,

          Joe B
          Check that mysql is actually running... this error "Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' specifically means zabbix can't connect to mysql .

          Also make sure to start service as root not as the zabbix user... so as ROOT try this


          service mysqld restart (could be mysql depending on the distro you are using)
          service httpd restart
          service zabbix_server start

          Comment

          • jbruyet
            Junior Member
            • Aug 2011
            • 6

            #6
            Thanks bcarpio but I already did a "nuke and repopulate" on that server. I might try it again some time in the future.

            Thanks,

            Joe B

            Comment

            Working...