Ad Widget

Collapse

run zabbix_server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fillius
    Junior Member
    • May 2009
    • 11

    #1

    run zabbix_server

    excuse me i'm not good in english

    i try to used zabbix
    when i tape ./configure ... i have this:

    Configuration:

    Detected OS: linux-gnu
    Install path: /usr/local
    Compilation arch: linux

    Compiler: gcc
    Compiler flags: -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -I/usr/local/include -I/usr/lib/perl/5.8/CORE -I. -I/usr/include

    Enable server: yes
    With database: MySQL
    WEB Monitoring via: cURL
    Native Jabber: yes
    SNMP: net-snmp
    IPMI: no
    Linker flags: -L/usr/lib/mysql -liksemel -lcurl -lgssapi_krb5 -L/usr/lib -lnetsnmp -lcrypto -L/usr/lib -lnetsnmp -lcrypto
    Libraries: -lm -lresolv -lmysqlclient -liksemel -lcurl -lnetsnmp

    Enable proxy: no

    Enable agent: yes
    Linker flags:
    Libraries: -lm -lresolv

    LDAP support: no
    IPv6 support: no

    ************************************************** *********
    * Now run 'make install' *
    * *
    * Thank you for using ZABBIX! *
    * <http://www.zabbix.com> *
    ************************************************** *********

    and when i tape make isntall, i have :

    Making install in create
    make[1]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4/create »
    make[2]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4/create »
    make[2]: Rien à faire pour « install-exec-am ».
    make[2]: Rien à faire pour « install-data-am ».
    make[2]: quittant le répertoire « /home/fillius/zabbix-1.6.4/create »
    make[1]: quittant le répertoire « /home/fillius/zabbix-1.6.4/create »
    Making install in misc
    make[1]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4/misc »
    make[2]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4/misc »
    make[2]: Rien à faire pour « install-exec-am ».
    make[2]: Rien à faire pour « install-data-am ».
    make[2]: quittant le répertoire « /home/fillius/zabbix-1.6.4/misc »
    make[1]: quittant le répertoire « /home/fillius/zabbix-1.6.4/misc »
    Making install in upgrades
    make[1]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4/upgrades »
    make[2]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4/upgrades »
    make[2]: Rien à faire pour « install-exec-am ».
    make[2]: Rien à faire pour « install-data-am ».
    make[2]: quittant le répertoire « /home/fillius/zabbix-1.6.4/upgrades »
    make[1]: quittant le répertoire « /home/fillius/zabbix-1.6.4/upgrades »
    make[1]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4 »
    make[2]: entrant dans le répertoire « /home/fillius/zabbix-1.6.4 »
    make[2]: Rien à faire pour « install-exec-am ».
    make[2]: Rien à faire pour « install-data-am ».
    make[2]: quittant le répertoire « /home/fillius/zabbix-1.6.4 »
    make[1]: quittant le répertoire « /home/fillius/zabbix-1.6.4 »

    i use ubuntu hardy
    i configure inetd.conf and so on and at the end when i want to run server
    i have this message
    root@fillius:/home/fillius/zabbix-1.6.4# cd bin
    root@fillius:/home/fillius/zabbix-1.6.4/bin# ./zabbix_server
    bash: ./zabbix_server: Aucun fichier ou dossier de ce type
    "no file or folder of this type"

    when i go in bin , i find two folder win32 and win64 and no zabbix_server file and zabbix_agentd


    please help me
  • rue
    Member
    Zabbix Certified Specialist
    • May 2006
    • 43

    #2
    Originally posted by fillius
    excuse me i'm not good in english
    Configuration:

    Detected OS: linux-gnu
    Install path: /usr/local
    Compilation arch: linux
    Well, you installed (probably) to /usr/local, so your binaries will be there... .

    try:

    Code:
    cd /usr/local/sbin
    ./zabbix_server
    cheers

    Comment

    • caarts
      Member
      Zabbix Certified Specialist
      • Aug 2008
      • 37

      #3
      What version of make are you running?
      Check if you can update it (apt-get)

      Comment

      • Cray
        Member
        • Mar 2009
        • 72

        #4
        when i go in bin , i find two folder win32 and win64 and no zabbix_server file and zabbix_agentd
        No offense, but reading this...it looks like you don't really understand what you're doing.

        As you're running Ubuntu, I suggest you follow this pretty straightforward tutorial :

        http://www.zabbix.com/wiki/doku.php?...:ubuntuinstall

        Comment

        • fillius
          Junior Member
          • May 2009
          • 11

          #5
          how can i verified that it's working

          Originally posted by rue
          Well, you installed (probably) to /usr/local, so your binaries will be there... .

          try:

          Code:
          cd /usr/local/sbin
          ./zabbix_server
          cheers

          please
          how to see that server works now

          Comment

          • fillius
            Junior Member
            • May 2009
            • 11

            #6
            Originally posted by Cray
            No offense, but reading this...it looks like you don't really understand what you're doing.

            As you're running Ubuntu, I suggest you follow this pretty straightforward tutorial :

            http://www.zabbix.com/wiki/doku.php?...:ubuntuinstall
            cray
            I am a novice and this is a week that I work under ubuntu
            excuse me

            Comment

            • fillius
              Junior Member
              • May 2009
              • 11

              #7
              Originally posted by rue
              Well, you installed (probably) to /usr/local, so your binaries will be there... .

              try:

              Code:
              cd /usr/local/sbin
              ./zabbix_server
              cheers

              see up
              IPMI:no

              how can i resolve it
              thanks

              Comment

              • fillius
                Junior Member
                • May 2009
                • 11

                #8
                Originally posted by caarts
                What version of make are you running?
                Check if you can update it (apt-get)
                ubuntu hardy 9.4
                zabbix 1.6.4

                Comment

                • caarts
                  Member
                  Zabbix Certified Specialist
                  • Aug 2008
                  • 37

                  #9
                  Originally posted by fillius
                  ubuntu hardy 9.4
                  zabbix 1.6.4
                  Good, now try this in the shell

                  make --v

                  And tell us what the output is

                  Comment

                  • fillius
                    Junior Member
                    • May 2009
                    • 11

                    #10
                    Originally posted by caarts
                    Good, now try this in the shell

                    make --v

                    And tell us what the output is
                    GNU Make 3.81
                    Copyright (C) 2006 Free Software Foundation, Inc.
                    Ceci est un logiciel libre ; voir le source pour les conditions de copie.
                    Il n'y a PAS de garantie ; tant pour une utilisation COMMERCIALE que pour
                    RÉPONDRE À UN BESOIN PARTICULIER.

                    Ce logiciel est construit pour i486-pc-linux-gnu

                    Comment

                    • caarts
                      Member
                      Zabbix Certified Specialist
                      • Aug 2008
                      • 37

                      #11
                      I had a similar problem once with a Debian install.
                      Turned out to be a library related problem wich was solved with a simple apt-get upgrade

                      Please do the following in the shell as root

                      #apt-get update
                      #apt-get upgrade -> this could take 10-20 minutes depending on your internet con. speed and how powerfull your server is.

                      Comment

                      • fillius
                        Junior Member
                        • May 2009
                        • 11

                        #12
                        problem with frontends

                        Originally posted by caarts
                        I had a similar problem once with a Debian install.
                        Turned out to be a library related problem wich was solved with a simple apt-get upgrade

                        Please do the following in the shell as root

                        #apt-get update
                        #apt-get upgrade -> this could take 10-20 minutes depending on your internet con. speed and how powerfull your server is.

                        hi
                        i follow the link: http://www.zabbix.com/wiki/doku.php?...:ubuntuinstall
                        and i install zabbix server and frontends and the installation been complete
                        but when i log in with Admin and no password or Admin , passwd zabbix
                        the page load and at the and i have a errors message in front of the page:
                        * Error in query [SELECT * FROM nodes WHERE nodetype=1 ORDER BY nodeid] [Table 'zabbix.nodes' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT u.* FROM users u WHERE u.alias='guest' AND (u.userid div 100000000000000) in (0) ] [Table 'zabbix.users' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [UPDATE sessions SET status=1 WHERE sessionid=''] [Table 'zabbix.sessions' doesn't exist]
                        * Error in query [SELECT count(u.userid) as user_cnt FROM users u] [Table 'zabbix.users' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT * FROM config WHERE (configid div 100000000000000) in (0) ] [Table 'zabbix.config' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Use of undefined constant S_INSTALLATION - assumed 'S_INSTALLATION'[/home/zabbix/public_html/include/profiles.inc.php:342]
                        * Unable to select configuration
                        * Error in query [SELECT n.nodeid as nodeid,n.name as node_name,hg.groupid,hg.name,min(r.permission) as permission,g.userid FROM groups hg LEFT JOIN rights r ON r.id=hg.groupid LEFT JOIN users_groups g ON r.groupid=g.usrgrpid AND g.userid=0 LEFT JOIN nodes n ON (hg.groupid div 100000000000000)=n.nodeid WHERE (hg.groupid div 100000000000000) in (0) GROUP BY n.nodeid, n.name, hg.groupid, hg.name, g.userid, g.userid ORDER BY node_name, hg.name, permission ] [Table 'zabbix.groups' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT * FROM nodes WHERE nodeid=0] [Table 'zabbix.nodes' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT n.nodeid as nodeid,n.name as node_name,hg.groupid,hg.name,min(r.permission) as permission,g.userid FROM groups hg LEFT JOIN rights r ON r.id=hg.groupid LEFT JOIN users_groups g ON r.groupid=g.usrgrpid AND g.userid=0 LEFT JOIN nodes n ON (hg.groupid div 100000000000000)=n.nodeid WHERE (hg.groupid div 100000000000000) in (0) GROUP BY n.nodeid, n.name, hg.groupid, hg.name, g.userid, g.userid ORDER BY node_name, hg.name, permission ] [Table 'zabbix.groups' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT n.nodeid as nodeid,n.name as node_name,hg.groupid,hg.name,min(r.permission) as permission,g.userid FROM groups hg LEFT JOIN rights r ON r.id=hg.groupid LEFT JOIN users_groups g ON r.groupid=g.usrgrpid AND g.userid=0 LEFT JOIN nodes n ON (hg.groupid div 100000000000000)=n.nodeid WHERE (hg.groupid div 100000000000000) in (0) GROUP BY n.nodeid, n.name, hg.groupid, hg.name, g.userid, g.userid ORDER BY node_name, hg.name, permission ] [Table 'zabbix.groups' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT n.nodeid as nodeid,n.name as node_name,hg.groupid,hg.name,min(r.permission) as permission,g.userid FROM groups hg LEFT JOIN rights r ON r.id=hg.groupid LEFT JOIN users_groups g ON r.groupid=g.usrgrpid AND g.userid=0 LEFT JOIN nodes n ON (hg.groupid div 100000000000000)=n.nodeid WHERE (hg.groupid div 100000000000000) in (0) GROUP BY n.nodeid, n.name, hg.groupid, hg.name, g.userid, g.userid ORDER BY node_name, hg.name, permission ] [Table 'zabbix.groups' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT n.nodeid as nodeid,n.name as node_name,hg.groupid,hg.name,min(r.permission) as permission,g.userid FROM groups hg LEFT JOIN rights r ON r.id=hg.groupid LEFT JOIN users_groups g ON r.groupid=g.usrgrpid AND g.userid=0 LEFT JOIN nodes n ON (hg.groupid div 100000000000000)=n.nodeid WHERE (hg.groupid div 100000000000000) in (0) GROUP BY n.nodeid, n.name, hg.groupid, hg.name, g.userid, g.userid ORDER BY node_name, hg.name, permission ] [Table 'zabbix.groups' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT n.nodeid as nodeid,n.name as node_name,hg.groupid,hg.name,min(r.permission) as permission,g.userid FROM groups hg LEFT JOIN rights r ON r.id=hg.groupid LEFT JOIN users_groups g ON r.groupid=g.usrgrpid AND g.userid=0 LEFT JOIN nodes n ON (hg.groupid div 100000000000000)=n.nodeid WHERE (hg.groupid div 100000000000000) in (0) GROUP BY n.nodeid, n.name, hg.groupid, hg.name, g.userid, g.userid ORDER BY node_name, hg.name, permission ] [Table 'zabbix.groups' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Error in query [SELECT * FROM config WHERE (configid div 100000000000000) in (0) ] [Table 'zabbix.config' doesn't exist]
                        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:519]
                        * Unable to select configuration

                        i don't know why

                        Comment

                        Working...