Ad Widget

Collapse

Frontend claims ZABBIX server is running = NO

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • packetloss
    Junior Member
    • Aug 2006
    • 2

    #1

    Frontend claims ZABBIX server is running = NO

    zabbix is installed, by using this howto: http://www.zabbix.com/manual/v1.1/install_server.php.

    The front end looks good and mysql seems to be working as I can add users/hosts.

    the backend server process is acting wierd and according to the system (on the frontend site) tells me it's not running.

    root@virtue:/home/zabbix/zabbix-1.1.1/src/zabbix_server# File [/var/tmp/zabbix_server.pid] exists. Is this process already running ?

    but if I asked for jobs by issues a 'jobs' command it does not list anything.

    I ask it to come to the foreground so I can stop it and I get:

    root@virtue:/home/zabbix/zabbix-1.1.1/src/zabbix_server# fg zabbix_server
    bash: fg: zabbix_server: no such job

    also -- when following that guide -- to a tee the compile didn't create a /etc/zabbit directory for the conf or binary file.. I had to find those in the extracted tar ball directory and move them..

    it did not error when I issued this command as shown here:

    mv /var/tmp/zabbix_server.pid /var/tmp/zabbix_server.pid.bak

    and this is what I get when I start it

    root@virtue:/etc/zabbix# ./zabbix_server
    root@virtue:/etc/zabbix#

    no error.. but the web interface shows it as not running and there are no 'jobs'

    Anyone have any ideas on this one? I've searched the forums and read the manual.
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #2
    What OS are you installing zabbix on?


    Greetings
    EriSan
    Zabbix Certified Specialist

    Comment

    • packetloss
      Junior Member
      • Aug 2006
      • 2

      #3
      Ubuntu 6.06

      Comment

      • Mephistopheles
        Junior Member
        • Aug 2006
        • 1

        #4
        Same Problem

        I had the same issue on Fedora Core 5. I checked the sourceforge forums and someone with the same issue was told to check /tmp/zabbix_server.log for messages. Why they chose to log everything to /tmp as opposed to /var/log, I have no idea...other than it's specified in the provided sample zabbix_server.conf. I missed it, too. My problem was that I had specified the database user in zabbix_server.conf but not the password.

        Hope this helps.

        Comment

        • schneck
          Member
          • May 2006
          • 62

          #5
          PHP GUI may be lying :-)

          The way the GUI decides whether the server is running or not may produce wrong answers, depending on your setup.

          Eg. see http://www.zabbix.com/forum/showpost...0&postcount=10

          \B.

          Comment

          • denso
            Member
            • Sep 2005
            • 32

            #6
            check out your selinux policy I use RHEL 3, 4 and various others and noticed that if selinux is enabled it will cause this problem.

            Comment

            Working...