Ad Widget

Collapse

zabbix agent & server not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wvw
    Junior Member
    • Jun 2008
    • 26

    #1

    zabbix agent & server not running

    Hi All

    I have been following the steps from the wiki to install zabbix. Everything went smooth so far, but now when I follow the below steps I only see my own command showing up on the server.


    Start the server :
    sudo /etc/init.d/zabbix-server start

    Start the agent:
    sudo /etc/init.d/zabbix-agent start

    Now check to make sure that they are running:

    ps -aux | grep zabbix

    You should see multiple instances of zabbix_server and zabbix_client running
    if everything has gone ok

    All I see is:

    ps -aux | grep zabbix

    Has someone else ran into this problem? How can I resolve the issue?

    Thanks
    wvw
  • Niels
    Senior Member
    • May 2007
    • 239

    #2
    What do the zabbix-server and zabbix-agentd logs say?

    Comment

    • wvw
      Junior Member
      • Jun 2008
      • 26

      #3
      Hello Niels

      I have never worked with Zabbix before and would like to ask if i am correct by saying the zabbix-agentd & zabbix-server logs you are referring to are indeed in the /home/zabbix/zabbix-1.4/misc/init.d/gentoo directory?

      If it is, what am I supposed to be looking for?

      Many Thanks
      wvw

      Comment

      • Niels
        Senior Member
        • May 2007
        • 239

        #4
        No, that folder contains some start scripts you can use on a Gentoo machine. You're on Debian, right? The log files should be stated in your configuration files.

        If nothing else works, show us your /etc/init.d/zabbix-server file.

        Comment

        • wvw
          Junior Member
          • Jun 2008
          • 26

          #5
          Hi Niels

          Thanks for all the help. I am running Ubuntu 8.04.

          I have attached my zabbix-agent & zabbix-server files for you to look at.

          regards
          wvw
          Attached Files

          Comment

          • Niels
            Senior Member
            • May 2007
            • 239

            #6
            OK, these are your startup-scripts. There are no special configuration files noted here, so the server and agent will use their default configuration files, eg. /etc/zabbix/zabbix_server.conf.

            So lets see what's in /etc/zabbix/

            Comment

            • wvw
              Junior Member
              • Jun 2008
              • 26

              #7
              Originally posted by Niels
              So lets see what's in /etc/zabbix/
              Hi Niels

              I have 4 files in /etc/zabbix

              I have attached all 4 files.

              Thanks for your help

              wvw
              Attached Files

              Comment

              • Niels
                Senior Member
                • May 2007
                • 239

                #8
                I hope those files don't end in ".txt" on you machine... However, you haven't made any big changes as far as I can see, and so the log files are in /tmp:
                Code:
                /tmp/zabbix_server.log
                /tmp/zabbix_agentd.log
                So, what do they say? Let's take the server first; when you do "/etc/init.d/zabbix_server start", what happens in the log?

                Comment

                • wvw
                  Junior Member
                  • Jun 2008
                  • 26

                  #9
                  LOL! The files on my server don't end in .txt I just renamed them as I cannot attach them to my message if they do not have an extension.

                  Basically when I type in $ /etc/init.d/zabbix-server start I get the prompt
                  And the same happens when I type in $ /etc/init.d/zabbix-agent start

                  yet when I look in the tmp folder there are no files??? So where did I go wrong with my installation?

                  Comment

                  • Niels
                    Senior Member
                    • May 2007
                    • 239

                    #10
                    My first guess would be a permissions problem. Are you root when you start the program?

                    Would it be possible for you to join us on IRC? You could probably get much faster responses there.

                    Comment

                    • wvw
                      Junior Member
                      • Jun 2008
                      • 26

                      #11
                      So what you're saying is I must run the entire installation in root? I used the sudo command for when I needed to execute root commands.

                      Does this mean I need to re-install zabbix or can I fix the problem without re-installing?

                      Comment

                      • wvw
                        Junior Member
                        • Jun 2008
                        • 26

                        #12
                        Hi

                        No takers on this problem? Please help me, I can really do with some assistance to get my zabbix working.

                        thanks
                        wvw

                        Comment

                        Working...