Ad Widget

Collapse

Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohit.n
    Junior Member
    • Jul 2012
    • 4

    #1

    Zabbix

    Hi ,

    I have installed zabbix-2.0.1 on my linux server and when i open the the http link i receive the bellow error on the login screen. Please find the attached screen shot for you info.

    mysql_free_result(): supplied argument is not a valid MySQL result resource [include/db.inc.php:561]


    Thanks in advance
    Rohit
  • zuulie
    Junior Member
    • Nov 2009
    • 8

    #2
    Hi Rohit.

    Have you created the database and run the provided SQL scripts, e.g.
    Code:
    cat zabbix-2.0.1/database/mysql/schema.sql | mysql -u zabbix -p zabbix
    cat zabbix-2.0.1/database/mysql/images.sql | mysql -u zabbix -p zabbix
    cat zabbix-2.0.1/database/mysql/data.sql | mysql -u zabbix -p zabbix
    Please note that the commands above are an example; you may have to change it accordingly for your installation.

    Regards,
    Daniel Petzen

    Comment

    • rohit.n
      Junior Member
      • Jul 2012
      • 4

      #3
      Zabbix

      Hi Daniel Petzen,

      Thanks for the help it realy helpd me out. complete the installation and on the browser open the link http://localhost/zabbix

      PHP MB string support: no Fail

      i cant go forward to complete the zabbix 1.8 setup


      regards
      Rohit

      Comment

      • osits
        Junior Member
        • Jul 2012
        • 6

        #4
        need your help

        Hi Rohit,
        Can you please PM me the instruction on how to install zabbix 2.0.1.
        Thanks
        Suren

        Originally posted by rohit.n
        Hi ,

        I have installed zabbix-2.0.1 on my linux server and when i open the the http link i receive the bellow error on the login screen. Please find the attached screen shot for you info.

        mysql_free_result(): supplied argument is not a valid MySQL result resource [include/db.inc.php:561]


        Thanks in advance
        Rohit

        Comment

        • rohit.n
          Junior Member
          • Jul 2012
          • 4

          #5
          zabbix

          # yum install httpd mysql mysql.server mysql-devel php php.mysql php.gd php.bcmath php.mbstring php.xml

          # yum install curl-devel net-snmp net-snmp-devel

          # yum groupinstall *Development Tool*

          # rpm -ivh iksemel-1.4-1.el5.rf.i386.rpm iksemel-devel-1.4-1.el5.rf.i386.rpm

          Install Zabbix 1.8.5 -

          # ./configure --prefix=/usr/local/zabbix-1.8.5 --enable-server --enable-agent --with-mysql --with-net-snmp --with-curl --with-jabber

          # mysql_install_db

          # service mysqld start

          # mysql

          mysql> create database zabbix character set utf8;

          # cat create/schema/mysql.sql | mysql -uroot -panypassword zabbix
          # cat create/data/data.sql | mysql -uroot -panypassword zabbix
          # cat create/data/images_mysql.sql | mysql -uroot -panypassword zabbix

          # mkdir /var/www/html/zabbix
          # cp -a frontends/php/* /var/www/html/zabbix

          # vi /etc/php.ini
          - max_execution_time = 600
          - max_input_time = 600
          - memory_list = 256M
          - post_max_size = 32M
          - upload_max_filesize = 16M
          - date.timezone -

          Comment

          • osits
            Junior Member
            • Jul 2012
            • 6

            #6
            linux version

            Rohit, can you please let me know which linux have you used, so that i will install same linux version as yours one.
            Thanks
            Suren

            Comment

            • rohit.n
              Junior Member
              • Jul 2012
              • 4

              #7
              zabbix

              Rhel 5.5 33 bit

              Comment

              Working...