Ad Widget

Collapse

Zabbix Installation on JABBER

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cheesewizz
    Junior Member
    • Sep 2007
    • 12

    #1

    Zabbix Installation on JABBER

    Hello All

    I am newbie in linux

    I tried many times to install zabbix on my linux i used mandriva2008

    i followed the instruction but it gives me like this error:

    [root@xxx zabbix-1.4.4]# ./configure --enable-server --with-mysql --with-net-snmp –with-jabber –
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: –with-jabber
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: –
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... no
    configure: Configuring
    checking whether make sets $(MAKE)... (cached) no
    checking build system type... Invalid configuration `–with-jabber': machine `–with' not recognized
    configure: error: /bin/sh ./config.sub –with-jabber failed
    [root@xxx zabbix-1.4.4]#


    So i decided removed the --with-jabber
    but i have got other error

    checking for function sysctl (KERN_BOOTTIME)... no
    checking for function sysctl (KERN_MAXFILES)... no
    checking for function sysctl (KERN_MAXPROC)... no
    checking for function initgroups()... yes
    checking for function seteuid()... yes
    checking for function setproctitle()... no
    checking for totalram in struct sysinfo... yes
    checking for __VA_ARGS__... yes
    checking for sharedram in struct sysinfo... yes
    checking for bufferram in struct sysinfo... yes
    checking for freeram in struct sysinfo... yes
    checking for uptime in struct sysinfo... yes
    checking for procs in struct sysinfo... yes
    checking return type of signal handlers... void
    checking for getloadavg... yes
    checking for socket... yes
    checking for strtod... yes
    checking for snprintf... yes
    checking for vasprintf... yes
    checking for asprintf... yes
    checking for vsnprintf... yes
    checking for hstrerror... yes
    checking for atoll... yes
    checking for getopt_long... yes
    checking for mysql_config... no
    configure: error: Not found MySQL library
    [root@tailin zabbix-1.4.4]#

    please anyone can help me


    thanks
  • Tenzer
    Senior Member
    • Nov 2007
    • 316

    #2
    The error regarding jabber, is because there is missing a dash (-) before "-with-jabber". It should be "--with-jabber".

    Also, you are probably missing the mysql libraries

    Comment

    • cheesewizz
      Junior Member
      • Sep 2007
      • 12

      #3
      Hello
      Thank you very much for your help
      I followed ur instruction and its working now
      but there is another error appear on my screen


      checking for getaddrinfo... yes
      checking for gawk... (cached) gawk
      checking for curl-config... /usr/bin/curl-config
      checking for the version of libcurl... 7.16.4
      checking for libcurl >= version 7.13.1... yes
      checking for main in -lcurl... yes
      checking whether libcurl is usable... yes
      checking for curl_free... yes
      checking for net-snmp-config... /var/lib/net-snmp
      configure: error: Invalid NET-SNMP directory - unable to find net-snmp-config
      [root@xxx zabbix-1.4.4]#

      Comment

      • cheesewizz
        Junior Member
        • Sep 2007
        • 12

        #4
        why there is no make install

        Hello

        I already fixed the error appeared on my screen


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

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

        LDAP support: no

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

        after i configure the next step is to run "make install"
        every time i type it and run it gives me a command not found...

        [root@xxx zabbix-1.4.4]# make install
        bash: make: command not found
        [root@xxx zabbix-1.4.4]# make
        bash: make: command not found
        [root@xxx zabbix-1.4.4]#




        Please help thanks

        Comment

        • just2blue4u
          Senior Member
          • Apr 2006
          • 347

          #5
          you need to install the software packet "make" to make "make" work!

          AFAIK, the existence of "make" should be checked by the ./configure script you executed...
          Don't know how you got that far without "make" installed...
          Big ZABBIX is watching you!
          (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

          Comment

          Working...