Ad Widget

Collapse

Example of Zabbix 1.6.5 installation on a Ubuntu 9.04 (Jaunty) server.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnusa
    Junior Member
    • Jul 2009
    • 12

    #16
    LOG FILES for TroubleShooting (I use WinSCP to read them):
    /tmp/zabbix_server.log
    /tmp/zabbix_agentd.log
    /var/log/daemon.log
    /var/log/auth.log

    When I had that problem I had to change data in zabbix_server.conf
    nano /etc/zabbix/zabbix_server.conf
    DBUser=zabbix try postgres or root
    DBPassword=password123 # in front = blank password
    ListenIP=ServerIP I had to add this at some point as well

    Comment

    • russhenry715
      Member
      • Aug 2009
      • 32

      #17
      Originally posted by johnusa
      The Same
      Install Ubuntu Server 9.04 (Jaunty) 64-bit ; ubuntu-9.04-server-amd64.iso

      Try:
      sudo cp /home/zabbix/zabbix-1.6.6/src/zabbix_agent/zabbix_agent /usr/sbin/
      sudo cp /home/zabbix/zabbix-1.6.6/src/zabbix_agent/zabbix_agentd /usr/sbin/
      sudo cp /home/zabbix/zabbix-1.6.6/src/zabbix_get/zabbix_get /usr/sbin/
      sudo cp /home/zabbix/zabbix-1.6.6/src/zabbix_sender/zabbix_sender /usr/sbin/
      sudo cp /home/zabbix/zabbix-1.6.6/src/zabbix_server/zabbix_server /usr/sbin/

      sudo /etc/init.d/zabbix-server start
      sudo /etc/init.d/zabbix-agent start
      ps aux | grep zabbix ; check running zabbix services

      Thanks for the help, the above was the fixed and now the server is up and running - i just need to learn all the functions

      Comment

      • Ishtar
        Junior Member
        • Sep 2009
        • 8

        #18
        mkey..... help any1?

        Hi all,

        I did exactly all the things that are in the howto in post#1.
        only i used zabbix 1.6.6 and not 1.6.5.
        All is fine but when i want tot start zabbix-server (/etc/init.d/zabbix-server start) it does nothing......
        no log file and no PID file, no error message...... nothing..

        i tried to redirect them to the /home/zabbix... but nothing..

        can any1 help me?
        Last edited by Ishtar; 30-09-2009, 16:54.

        Comment

        • russhenry715
          Member
          • Aug 2009
          • 32

          #19
          you could try this also

          I had the same problem (new version of the instructions are posted in Reply):
          Linux superuser must be zabbix which matches zabbix user created in PostgreSQL.

          In zabbix_agentd.conf
          Server=127.0.0.1 changes to your servers IP address.

          In zabbix_server.conf
          DBUser=zabbix
          DBPassword="the password you chose for linuxs zabbix" and remember to REMOVE the # in front.

          nano /etc/zabbix/zabbix_agentd.conf
          Make sure that the Server parameter points to the server address, for the agent that runs on the
          server it is like this: Server=127.0.0.1 change to xxx.xxx.xxx.xxx
          AND REMOVE # from ListenIP=127.0.0.1 AND CHANGE IT to ListenIP=xxx.xxx.xxx.xxx

          nano /etc/zabbix/zabbix_server.conf
          For small sites this default file will do, however if you are into tweaking your config for your 10+ hosts site, this is the place.
          Change this:
          # Database user
          DBUser=zabbix
          # Database password
          # Comment this line if no password used
          DBPassword=password123
          AND REMOVE # from ListenIP=127.0.0.1 AND CHANGE IT to ListenIP=xxx.xxx.xxx.xxx


          Also i have a problem with ubuntu 9.04 and installed ubuntu 8.04 and everything worked on the first try - i am not sure why but our zabbix server is up and running

          Comment

          • johnusa
            Junior Member
            • Jul 2009
            • 12

            #20
            Check that the files are in: /usr/sbin

            Otherwise LOG IN as root

            cp /home/zabbix/zabbix-1.6.6/src/zabbix_agent/zabbix_agent /usr/sbin/
            cp /home/zabbix/zabbix-1.6.6/src/zabbix_agent/zabbix_agentd /usr/sbin/
            cp /home/zabbix/zabbix-1.6.6/src/zabbix_get/zabbix_get /usr/sbin/
            cp /home/zabbix/zabbix-1.6.6/src/zabbix_sender/zabbix_sender /usr/sbin/
            cp /home/zabbix/zabbix-1.6.6/src/zabbix_server/zabbix_server /usr/sbin/

            /etc/init.d/zabbix-server start
            /etc/init.d/zabbix-agent start
            ps aux | grep zabbix ; check running zabbix services


            LOG FILES for TroubleShooting (I use WinSCP to read them):
            /tmp/zabbix_server.log
            /tmp/zabbix_agentd.log
            /var/log/daemon.log
            /var/log/auth.log

            Comment

            • Ishtar
              Junior Member
              • Sep 2009
              • 8

              #21
              ok will check those things, only 1 problem... server has crashed.. so will take a while but tnx for the quick reply's

              1 question, do u use a GUI or just plain text mode?

              Comment

              • Ishtar
                Junior Member
                • Sep 2009
                • 8

                #22
                Originally posted by johnusa
                Check that the files are in: /usr/sbin

                Otherwise LOG IN as root

                cp /home/zabbix/zabbix-1.6.6/src/zabbix_agent/zabbix_agent /usr/sbin/
                cp /home/zabbix/zabbix-1.6.6/src/zabbix_agent/zabbix_agentd /usr/sbin/
                cp /home/zabbix/zabbix-1.6.6/src/zabbix_get/zabbix_get /usr/sbin/
                cp /home/zabbix/zabbix-1.6.6/src/zabbix_sender/zabbix_sender /usr/sbin/
                cp /home/zabbix/zabbix-1.6.6/src/zabbix_server/zabbix_server /usr/sbin/

                /etc/init.d/zabbix-server start
                /etc/init.d/zabbix-agent start
                ps aux | grep zabbix ; check running zabbix services


                LOG FILES for TroubleShooting (I use WinSCP to read them):
                /tmp/zabbix_server.log
                /tmp/zabbix_agentd.log
                /var/log/daemon.log
                /var/log/auth.log
                this did the trick ^^ tnx again ^^

                Comment

                Working...