Ad Widget

Collapse

Problem with running zabbix_server 1.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • weasel
    Junior Member
    • Jul 2006
    • 15

    #1

    Problem with running zabbix_server 1.1

    Hi Folks!

    A few words at first:
    I'm toally new on zabbix - I come from Cacti
    My native language is german so... please forgive me my mistakes

    Now to the Problem:
    I downloaded and unpacked the sources as it is described in the installation-doc.
    Yes I have the database runnin' (MySQL) and i created the tables and filled 'em with data

    Now the tricky part: compiling...
    First of all: it's a SuSE 9.0 System with ucd-snmp (cannot change it!) and MySQL

    The configure statement:
    Code:
    ./configure --enable-server --with-mysql=/usr/local/mysql
    I think that's enough for now - snmp support doesn't work so far but I think that's another problem.

    The configure, make and make install are all running without problems.

    Then I copied the config files to /etc/zabbix/ and changed the rights.

    Ready to get it fired up? No unfortunately not

    Code:
    /usr/local/bin/zabbix_server
    and absolutely nothing happens. This PID is created. That's it.

    Code:
    ps waux | grep zabbix
    returns absolutely no result and I found nothing in the logs.

    So... I've no idea for the next step.
    I'll be thankful for any hints of debugging the server - did I do something wrong? Yes I know SuSE was the very first failure but I have no alternative

    So Long, and Thanks For All the Fish
  • mbrijun
    Member
    • Mar 2006
    • 63

    #2
    Have you actually modified the zabbix_server.conf to specify the correct mysql logon details? Does your mysql server have a root password set?

    Also, have you created the "zabbix" user?
    Last edited by mbrijun; 14-07-2006, 18:57.

    Comment

    • weasel
      Junior Member
      • Jul 2006
      • 15

      #3
      Have you actually modified the zabbix_server.conf to specify the correct mysql logon details?
      Yes I have

      Does your mysql server have a root password set?
      Mmh no - is there something special I have to follow?

      Also, have you created the "zabbix" user?
      Yes I have...

      Thanks for the tips but do you have some more ideas?

      Comment

      • mbrijun
        Member
        • Mar 2006
        • 63

        #4
        hi weasel,

        by default a mysql installation comes with no root password set. It is always a good idea to change that. Here is the command

        mysqladmin -u root password 'topsecretpassword'

        once you have done that, you can then modify the zabbix_server.conf to include the password

        ----

        Very important: have you created a new database called 'zabbix', for example, and have you populated it with the correct schema and initial data?

        ----


        Also, is the zabbix_server.log created? The location of the log file is specified in the zabbix_server.conf. If it is created, what does it contain?

        Best of luck,
        Martyn
        Last edited by mbrijun; 17-07-2006, 10:45.

        Comment

        • weasel
          Junior Member
          • Jul 2006
          • 15

          #5
          Hi Martyn!

          Thanks for the little but important hint with the logfile!
          I cannot set a root password for mysql - there are hundreds of scripts which use this connection without pwd...

          The problem was the wrong path to the mysql-socket

          Now I have another Problem:
          When I configure the zabbix_server with ucd-snmp i get the following error:

          Make:
          Code:
          make[4]: *** [checks_snmp.o] Error 1
          make[4]: Leaving directory `/root/zab/zabbix-1.1/src/zabbix_server/poller'
          make[3]: *** [install-recursive] Error 1
          make[3]: Leaving directory `/root/zab/zabbix-1.1/src/zabbix_server/poller'
          make[2]: *** [install-recursive] Error 1
          make[2]: Leaving directory `/root/zab/zabbix-1.1/src/zabbix_server'
          make[1]: *** [install-recursive] Error 1
          make[1]: Leaving directory `/root/zab/zabbix-1.1/src'
          make: *** [install-recursive] Error 1
          I just don't know how to handle this... Is there a wring path to the ucd-snmpd? My problem is at the moment that i cannot install something else or reinstall something on that server

          Any hints? Thanks!

          Comment

          • mbrijun
            Member
            • Mar 2006
            • 63

            #6
            do you really need the snmp enabled?

            Comment

            • weasel
              Junior Member
              • Jul 2006
              • 15

              #7
              yes. our servers don't provide anything else so far...

              Comment

              • mbrijun
                Member
                • Mar 2006
                • 63

                #8
                what about deploying zabbix agents on these servers?

                Comment

                • weasel
                  Junior Member
                  • Jul 2006
                  • 15

                  #9
                  yes i'm getting closer - thanks so far

                  Comment

                  • weasel
                    Junior Member
                    • Jul 2006
                    • 15

                    #10
                    okay zabbix is running now.
                    my solution: compiled without snmp Thanks for the hint!

                    Folks, thanks for the help but I've a new question
                    Here's the next problem

                    Comment

                    Working...