Ad Widget

Collapse

Help me.. I can't start zabbix_server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kingpig
    Junior Member
    • Sep 2006
    • 5

    #1

    Help me.. I can't start zabbix_server

    OS : CentOS - 4.3
    kernel : 2.6.x
    apache : 2.2.3
    php : 5.1.4
    mysql : 5.0.22
    net-snmp : net-snmp-5.2.2-1.EL4.i386.rpm
    zabbix : 1.1.1

    install ==========

    1) Create the ZABBIX database & adduser zabbix
    adduser zabbix
    create database zabbix;
    cat create/mysql/schema.sql | mysql –uroot -p zabbix
    cat create/data/data.sql | mysql -uroot -p zabbix

    2) Configure and compile the source code for your system
    ./configure --enable-server --enable-agent --with-mysql=/usr/local/mysql --with-net-snmp

    3) Make and install everything
    make install

    4) Configure /etc/services
    zabbix_agent 10050/tcp
    zabbix_trap 10051/tcp

    5) Modify default settings in configuration files
    mkdir -p /etc/zabbix
    cp /opt/zabbix/misc/conf/* /etc/zabbix
    modify zabbix_server

    6) START
    /usr/local/bin/zabbix_server start
    but
    File [/var/tmp/zabbix_server.pid] exists. Is this process already running ?

    so
    root# killall zabbix
    zabbix: no process killed

    I can't start zabbix_server..

    Help me..
    Last edited by kingpig; 13-09-2006, 13:43.
  • debora
    Member
    • Jan 2006
    • 75

    #2
    you killed all the processes?
    Last edited by debora; 13-09-2006, 14:28.

    Comment

    • AlexWhite
      Member
      • Jun 2006
      • 31

      #3
      run command
      Code:
      #ps ax|grep zabbix
      #killall zabbix_server

      Comment

      • Villain
        Member
        • Aug 2006
        • 84

        #4
        Also, doublecheck to make sure the .pid isn't running. You'll be prompted with the path to the pid if it is.

        Comment

        • kingpig
          Junior Member
          • Sep 2006
          • 5

          #5
          i already run command

          Originally posted by AlexWhite
          run command
          Code:
          #ps ax|grep zabbix
          #killall zabbix_server
          i already run command

          but zabbix not runnig...

          so I see this message

          "zabbix_server: no process killed"

          Did my having done install make a mistake?
          Last edited by kingpig; 13-09-2006, 17:56.

          Comment

          • Villain
            Member
            • Aug 2006
            • 84

            #6
            if the server's not running, go to the directory where you installed Zabbix (i.e. /usr/local/zabbix/bin) and run ./zabbix_server

            This should get it going. If it doesn't, try recompiling it, maybe there was a mistake in there, check your conf file to make sure it's setup correctly, and verify that you have your database setup properly.

            Comment

            • kingpig
              Junior Member
              • Sep 2006
              • 5

              #7
              my config

              /etc/zabbix/zabbix_server
              =============================
              DBHost=localhost

              # Database name

              DBName=zabbix

              # Database user

              DBUser=root

              # Database password
              # Comment this line if no password used

              DBPassword=0000

              # Connect to MySQL using Unix socket?

              DBSocket=/var/tmp/mysql/mysql.sock
              =================================
              I mistake?

              I will try recompilling zabiix

              I will use compile option
              ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql=/usr/local/mysql --with-net-snmp

              It's right?

              Also I made dir /etc/zabbix

              Should I make this dir?

              Comment

              Working...