Ad Widget

Collapse

Help!Why I can't start zabbix server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rickywu
    Junior Member
    • Jul 2006
    • 5

    #1

    Help!Why I can't start zabbix server?

    I have install a zabbix server on my computer,the opreation system is redhat9,but when I try to start the zabbix server, there is a error

    "File [/var/tmp/zabbix_server.pid] exists. Is this process already running ?
    ./zabbix_suckerd_ctl start: zabbix_suckerd started"

    The agent of zabbix can run on my computer very well, I don't know what's wrong with it

    Thanks!
  • dantheman
    Senior Member
    • May 2006
    • 209

    #2
    start off by verifying that zabbix_server is not running.... ps -A will show you all running processes... and then if it isn't running, go ahead and delete that PID file and try starting it again.

    Comment

    • rickywu
      Junior Member
      • Jul 2006
      • 5

      #3
      I have use ps -ax | grep zabbix show all running processes...
      but it isn't running
      I have delete that PID file manual,and try again. The infomation on the screem is "zabbix_server started", but it don't work all the same,
      use ps -ax | grep zabbix , there are not a running processes samed as zabbix
      I try to install on another computer , The problem is the same
      I don't know Why

      Comment

      • vrtareg
        Senior Member
        • May 2006
        • 293

        #4
        Hi

        Do you check /tmp/zabbix_server.log file

        There can be messages with error status.

        Regards
        Areg

        Comment

        • rickywu
          Junior Member
          • Jul 2006
          • 5

          #5
          The log file have some records like this
          "File [/var/run/zabbix_server.pid] exists. Is this process already running ?"
          The zabbix_server.pid file is exists,but the program isn't running

          Comment

          • ma_vladimir
            Junior Member
            • Jun 2006
            • 3

            #6
            Same problem

            Hi,

            I have the same problem. I installed Zabbix on Fedora Core 5 and I also managed to configure Apache to serve the web frontend pages. When I display the Reports section the Value for the Parameter "Zabbix server is running" is No. When I do a ps -A or a ps -A | grep zabbix I don't see the process. However, if I enter ./zabbix_server in the /usr/local/bin directory I get an error: "File [/var/tmp/zabbix_server.pid] exists. Is this process already running?" I then deleted the file and I am able to issue the ./zabbix_server command again without getting the message about the .pid file, but the server fails to start again.

            Any help is appreciated.

            Thanks

            Comment

            • vrtareg
              Senior Member
              • May 2006
              • 293

              #7
              Hi

              Please try to set debug level 4 in /etc/zabbix/zabbix_server.conf - parameter DebugLevel (DebugLevel=4) and see what printed in log file.

              1. Do you create zabbix user in system?
              2. Try to change log file owner from root to zabbix. Zabbix creates log file from root and after this zabbix user dont have permission to write to that file.
              3. Check database configuration in /etc/zabbix/zabbix_server.conf file. You can try to change MySQL connect type modifying parameter "DBSocket=/var/lib/mysql/mysql.sock" - it commented by default.


              Regards
              Areg

              Comment

              Working...