Ad Widget

Collapse

I'm new for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beeloo
    Member
    • Nov 2010
    • 62

    #1

    I'm new for Zabbix

    Hi,

    I just install the OS RHEL 5.5 64Bits and installed mysql server. I'm having trouble to create a user call "zabbix" in mysql and create a database called "zabbix". Could someone please help me out here?

    Below is the error message I'm having:

    [root@zabbix Server]# mysql -u zabbix -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 16
    Server version: 5.0.77 Source distribution

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> create database zabbix character set utf8;
    ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'zabbix'
  • beeloo
    Member
    • Nov 2010
    • 62

    #2
    I think I got that working. Now I'm try to compile the source but give me below error:

    [root@zabbix zabbix-1.8.3]# pwd
    /tmp/zabbix-1.8.3
    [root@zabbix zabbix-1.8.3]# ./configure --enable-server --with-mysql --with-net-snmp --with-jabber --with-libcurl # for MySQL + Jabber + WEB monitoring
    .
    .
    .
    .
    .
    .
    checking for -rdynamic linking option... yes
    checking if Oracle support is enabled... no
    checking for mysql_config... /usr/bin/mysql_config
    checking for main in -lmysqlclient ... no
    configure: error: Not found mysqlclient library


    Please advise.

    Comment

    • beeloo
      Member
      • Nov 2010
      • 62

      #3
      Fixed the configure: error: Not found mysqlclient library issue.

      I re-compile again and get below errors:

      .
      .
      checking for IKSEMEL... no
      configure: error: Jabber library not found

      I'm running RHEL 5.5 64bits and IKSEMEL already installed.

      [root@zabbix tmp]# rpm -qa iksemel
      iksemel-1.4-2_2.el5


      Please advise.

      Comment

      • beeloo
        Member
        • Nov 2010
        • 62

        #4
        By just using below command, I was able to compiled and installed the program.

        [root@zabbix zabbix-1.8.3]# ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl # for MySQL + Jabber + WEB monitoring

        make install works fine too.

        After that, I followed the installation manual and do below:

        Go to /etc/services and add below:

        zabbix-agent 10050/tcp #Zabbix Agent
        zabbix-agent 10050/udp #Zabbix Agent
        zabbix-trapper 10051/tcp #Zabbix Trapper
        zabbix-trapper 10051/udp #Zabbix Trapper


        If you are using the zabbix_agent, type like this:

        vi /etc/inetd.conf
        add this -> zabbix_agent stream tcp nowait.3600 zabbix /opt/zabbix/bin/zabbix_agent
        save it and type -> killall -HUP inetd

        However, I'm not able to see the /etc/zabbix/zabbix_agent.conf, /etc/zabbix/zabbix_agentd.conf and /etc/zabbix/zabbix_server.conf

        [root@zabbix etc]# cd zabbix
        -bash: cd: zabbix: No such file or directory

        Looks like zabbix folder isn't there. What seems to be wrong?

        [root@zabbix sbin]# ./zabbix_server
        -bash: ./zabbix_server: No such file or directory
        [root@zabbix sbin]# pwd
        /sbin


        Please advise.

        Comment

        • MrKen
          Senior Member
          • Oct 2008
          • 652

          #5
          See the install guide: http://www.zabbix.com/documentation/1.8/manual/installation/installation_from_source#zabbix_server

          At Step 8 it says, "You may take misc/conf/zabbix_agent.conf as example."

          Don't forget to read Step 9 & 10.

          MrKen
          Disclaimer: All of the above is pure speculation.

          Comment

          Working...