Ad Widget

Collapse

zabbix on ubuntu 9.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • safaa
    Member
    • Jun 2009
    • 43

    #1

    zabbix on ubuntu 9.04

    Hello everybody,
    I'm trying to install zabbix on ubuntu 9.04 ,I'm following the steps in this site http://blog.nicolargo.com/2007/11/in...sur-linux.html ,but when i execut this ,I have
    "zabbix-1.6.5/frontends/php/actionconf.php
    .........................................
    ..........................................
    zabbix-1.6.5/bin/win32/zabbix_agentd.exe
    zabbix-1.6.5/bin/win32/zabbix_sender.exe
    zabbix-1.6.5/aclocal.m4
    root@Monit-ZX:/opt# cd zabbix-1.6.5
    root@Monit-ZX:/opt/zabbix-1.6.5# /configure --enable-server --with-mysql --with-net-snmp --with-libcurl
    -bash: /configure: Aucun fichier ou dossier de ce type
    root@Monit-ZX:/opt/zabbix-1.6.5# sudo make install
    make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
    root@Monit-ZX:/opt/zabbix-1.6.5# ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    ....................
    checking for sys/vmmeter.h... no
    checking for strings.h... (cached) yes
    checking sys/sysctl.h usability... yes
    checking sys/sysctl.h presence... yes
    checking for sys/sysctl.h... yes
    checking vm/vm_param.h usability... no
    checking vm/vm_param.h presence... no
    checking for vm/vm_param.h... no
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking kstat.h usability... no
    checking kstat.h presence... no
    checking for kstat.h... no
    checking sys/syscall.h usability... yes
    checking sys/syscall.h presence... yes
    checking for sys/syscall.h... yes
    checking sys/sysmacros.h usability... yes
    checking sys/sysmacros.h presence... yes
    checking for sys/sysmacros.h... yes
    checking sys/procfs.h usability... yes
    checking sys/procfs.h presence... yes
    checking for sys/procfs.h... yes
    checking for stdint.h... (cached) yes
    checking mach/host_info.h usability... no
    checking mach/host_info.h presence... no
    checking for mach/host_info.h... no
    checking mach/mach_host.h usability... no
    checking mach/mach_host.h presence... no
    checking for mach/mach_host.h... no
    checking knlist.h usability... no
    checking knlist.h presence... no
    checking for knlist.h... no
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking sys/proc.h usability... no
    checking sys/proc.h presence... no
    checking for sys/proc.h... no
    checking sys/var.h usability... no
    checking sys/var.h presence... no
    checking for sys/var.h... no
    checking resolv.h usability... yes
    checking resolv.h presence... yes
    checking for resolv.h... yes
    checking arpa/nameser.h usability... yes
    checking arpa/nameser.h presence... yes
    checking for arpa/nameser.h... yes
    checking assert.h usability... yes
    checking assert.h presence... yes
    checking for assert.h... yes
    checking sys/dkstat.h usability... no
    checking sys/dkstat.h presence... no
    checking for sys/dkstat.h... no
    checking sys/disk.h usability... no
    checking sys/disk.h presence... no
    checking for sys/disk.h... no
    checking nlist.h usability... no
    checking nlist.h presence... no
    checking for nlist.h... no
    checking net/if.h usability... yes
    checking net/if.h presence... yes
    checking for net/if.h... yes
    checking kvm.h usability... no
    checking kvm.h presence... no
    checking for kvm.h... no
    checking linux/kernel.h usability... yes
    checking linux/kernel.h presence... yes
    checking for linux/kernel.h... yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking procinfo.h usability... no
    checking procinfo.h presence... no
    checking for procinfo.h... no
    checking sys/dk.h usability... no
    checking sys/dk.h presence... no
    checking for sys/dk.h... no
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking windows.h usability... no
    checking windows.h presence... no
    checking for windows.h... no
    checking process.h usability... no
    checking process.h presence... no
    checking for process.h... no
    checking conio.h usability... no
    checking conio.h presence... no
    checking for conio.h... no
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking regex.h usability... yes
    checking regex.h presence... yes
    checking for regex.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking winsock2.h usability... no
    checking winsock2.h presence... no
    checking for winsock2.h... no
    checking pdh.h usability... no
    checking pdh.h presence... no
    checking for pdh.h... no
    checking psapi.h usability... no
    checking psapi.h presence... no
    checking for psapi.h... no
    checking sys/sem.h usability... yes
    checking sys/sem.h presence... yes
    checking for sys/sem.h... yes
    checking sys/ipc.h usability... yes
    checking sys/ipc.h presence... yes
    checking for sys/ipc.h... yes
    checking sys/shm.h usability... yes
    checking sys/shm.h presence... yes
    checking for sys/shm.h... yes
    checking Winldap.h usability... no
    checking Winldap.h presence... no
    checking for Winldap.h... no
    checking sys/timeb.h usability... yes
    checking sys/timeb.h presence... yes
    checking for sys/timeb.h... yes
    checking Winber.h usability... no
    checking Winber.h presence... no
    checking for Winber.h... no
    checking lber.h usability... no
    checking lber.h presence... no
    checking for lber.h... no
    checking ws2tcpip.h usability... no
    checking ws2tcpip.h presence... no
    checking for ws2tcpip.h... no
    checking for inttypes.h... (cached) yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking grp.h usability... yes
    checking grp.h presence... yes
    checking for grp.h... yes
    checking net/if_mib.h usability... no
    checking net/if_mib.h presence... no
    checking for net/if_mib.h... no
    checking sys/user.h usability... yes
    checking sys/user.h presence... yes
    checking for sys/user.h... yes
    checking libperfstat.h usability... no
    checking libperfstat.h presence... no
    checking for libperfstat.h... no
    checking devstat.h usability... no
    checking devstat.h presence... no
    checking for devstat.h... no
    checking for an ANSI C-conforming const... yes
    checking for pid_t... yes
    checking for library containing socket... none required
    checking for library containing kstat_open... no
    checking for library containing gethostbyname... none required
    checking for library containing __res_query... -lresolv
    checking for library containing res_query... none required
    checking for library containing perfstat_memory_total... no
    checking for library containing devstat_getdevs... no
    checking for library containing getdevs... no
    checking for main in -lm... yes
    checking for main in -lkvm... no
    checking for function res_query... yes
    checking for union semun... no
    checking for long long format... no
    checking for socklen_t... yes
    checking for /proc filesystem... yes
    checking for file /proc/stat... yes
    checking for file /proc/cpuinfo... yes
    checking for file /proc/1/status... yes
    checking for file /proc/0/psinfo... no
    checking for file /proc/loadavg... yes
    checking for file /proc/net/dev... yes
    checking for mem_unit in struct sysinfo... yes
    checking for freeswap in struct sysinfo... yes
    checking for function setpriority() in sys/resource.h... yes
    checking for function sysconf() in unistd.h... yes
    checking for macro __va_copy() in stdarg.h... yes
    checking for vmtotal in struct sys/vmmeter.h... no
    checking for uvmexp_sysctl in struct uvm/uvm_extern.h... no
    checking for uvmexp in struct uvm/uvm_extern.h... no
    checking for struct swaptable in sys/swap.h... no
    checking for totalswap in struct sysinfo... yes
    checking for function sysctl (KERN_BOOTTIME)... no
    checking for function sysctl (HW_NCPU)... no
    checking for function sysctlbyname()... no
    checking for function sysctl (KERN_MAXFILES)... no
    checking for function sysctl (KERN_MAXPROC)... no
    checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... 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"
    Please help me ,It's an obligatory work (emergency)Thanks in advance.
  • caarts
    Member
    Zabbix Certified Specialist
    • Aug 2008
    • 37

    #2
    Make sure you install the mysq-devel package as well.


    Also run
    sudo apt-get update
    sudo apt-get upgrade (confirm with Y if applicable) make sure you have the most current packages/libraries

    Comment

    • safaa
      Member
      • Jun 2009
      • 43

      #3
      I wrote apt-get install mysql-client-5.0 and they give me ;
      "root@Monit-ZX:~# apt-get install mysql-client-5.0
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      Les paquets supplémentaires suivants seront installés*:
      libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl
      mysql-common
      Paquets suggérés*:
      dbishell mysql-doc-5.0
      Les NOUVEAUX paquets suivants seront installés*:
      libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl
      mysql-client-5.0 mysql-common
      0 mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
      Il est nécessaire de prendre 10,8Mo dans les archives.
      Après cette opération, 25,7Mo d'espace disque supplémentaires seront utilisés.
      Souhaitez-vous continuer [O/n]*? o
      ATTENTION*: les paquets suivants n'ont pas été authentifiés.
      mysql-common libmysqlclient15off libnet-daemon-perl libplrpc-perl libdbi-perl
      libdbd-mysql-perl mysql-client-5.0
      Faut-il installer ces paquets sans vérification (o/N)*? n
      E: Certains paquets n'ont pas pu être authentifiés
      root@Monit-ZX:~# apt-get install mysql-client-5.0
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      Les paquets supplémentaires suivants seront installés*:
      libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl
      mysql-common
      Paquets suggérés*:
      dbishell mysql-doc-5.0
      Les NOUVEAUX paquets suivants seront installés*:
      libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl
      mysql-client-5.0 mysql-common
      0 mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
      Il est nécessaire de prendre 10,8Mo dans les archives.
      Après cette opération, 25,7Mo d'espace disque supplémentaires seront utilisés.
      Souhaitez-vous continuer [O/n]*? o
      ATTENTION*: les paquets suivants n'ont pas été authentifiés.
      mysql-common libmysqlclient15off libnet-daemon-perl libplrpc-perl libdbi-perl
      libdbd-mysql-perl mysql-client-5.0
      Faut-il installer ces paquets sans vérification (o/N)*? o
      Err http://archive.ubuntu.com jaunty/main mysql-common 5.1.30really5.0.75-0ubuntu10
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Err http://archive.ubuntu.com jaunty/main libmysqlclient15off 5.1.30really5.0.75-0ubuntu10
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Err http://archive.ubuntu.com jaunty/main libnet-daemon-perl 0.43-1
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Err http://archive.ubuntu.com jaunty/main libplrpc-perl 0.2020-1
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Err http://archive.ubuntu.com jaunty/main libdbi-perl 1.607-1
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Err http://archive.ubuntu.com jaunty/main libdbd-mysql-perl 4.008-1
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Err http://archive.ubuntu.com jaunty/main mysql-client-5.0 5.1.30really5.0.75-0ubuntu10
      Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...untu10_all.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...ntu10_i386.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...0.43-1_all.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...2020-1_all.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...607-1_i386.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...008-1_i386.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      Impossible de récupérer http://archive.ubuntu.com/ubuntu/poo...ntu10_i386.deb Impossible d'initialiser la connexion à archive.ubuntu.com:*80 (91.189.88.140). - connect (101 Le réseau n'est pas accessible) [IP*: 91.189.88.140 80]
      E: Impossible de récupérer quelques archives, peut-être devrez-vous lancer apt-get update ou essayer avec --fix-missing*?"what can I do plz ??Thanks in advance

      Comment

      • Calimero
        Senior Member
        • Nov 2006
        • 481

        #4
        Sans vouloir être méchant, ceci n'a rien à voir avec Zabbix, c'est juste de l'administration Ubuntu. Et il faudrait d'abord te familiariser un peu avec ton système pour ensuite revenir poser les questions propres à l'installation de zabbix.

        Ici le problème c'est qu'apt/dpkg n'arrive pas à se connecter au miroir ubuntu que tu as spécifié.

        Vérifie ta configuration réseau, les éventuelles règles de firewall devant ta machine. Essaye de pinger le miroir, essaie de te connecter manuellement en telnet sur le port 80 etc ... Bref du debug classique. Une fois que ta configuration réseau et/ou APT seront bonnes, revient avec tes questions zabbix.

        Comment

        • safaa
          Member
          • Jun 2009
          • 43

          #5
          merci ma comment configuer le reseau ??

          Comment

          • Calimero
            Senior Member
            • Nov 2006
            • 481

            #6


            Tu as toute la doc pour ta distrib.

            Comment

            • safaa
              Member
              • Jun 2009
              • 43

              #7
              Meeeeeeeeeeeeeeerci beaucoup calimero.

              Comment

              Working...