Ad Widget

Collapse

Installation problems with Fedora Core 5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aford
    Junior Member
    • May 2006
    • 4

    #1

    Installation problems with Fedora Core 5

    im having the worst of luch installing this server on Fedora Core 5. I noticed theres nothing is the services for Zabbix nethier is there a folder for Zabbix in the etc folder, I installed many times where did i go wrong at.

    [ZABBIX@Fedora /]$ /etc/inetd.conf
    -bash: /etc/inetd.conf: No such file or directory

    also when I run
    shell> ./configure --enable-server --with-mysql --with-net-snmp

    it tells me no snmp support, but i know that i have it.

    when i run

    shell> ./configure --enable-server --with-mysql --with-net-snmpd
    (It works)
  • aford
    Junior Member
    • May 2006
    • 4

    #2
    Install looks like this

    [root@Fedora zabbix]# ./configure --enable-server --enable-agent --with-mysql
    --with-net-snmpd
    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)... yes
    configure: Configuring
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking mtent.h usability... no
    checking mtent.h presence... no
    checking for mtent.h... no
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/mount.h usability... yes
    checking sys/mount.h presence... yes
    checking for sys/mount.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking sys/vfs.h usability... yes
    checking sys/vfs.h presence... yes
    checking for sys/vfs.h... yes
    checking sys/pstat.h usability... no
    checking sys/pstat.h presence... no
    checking for sys/pstat.h... no
    checking sys/sysinfo.h usability... yes
    checking sys/sysinfo.h presence... yes
    checking for sys/sysinfo.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking for sys/socket.h... (cached) yes
    checking sys/loadavg.h usability... no
    checking sys/loadavg.h presence... no
    checking for sys/loadavg.h... no
    checking for netinet/in.h... (cached) yes
    checking for arpa/inet.h... (cached) yes
    checking sys/swap.h usability... yes
    checking sys/swap.h presence... yes
    checking for sys/swap.h... yes
    checking sys/vmmeter.h usability... no
    checking sys/vmmeter.h presence... no
    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

    Comment

    • aford
      Junior Member
      • May 2006
      • 4

      #3
      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... yes
      checking nlist.h presence... yes
      checking for nlist.h... yes
      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 ldap.h usability... yes
      checking ldap.h presence... yes
      checking for ldap.h... yes
      checking getopt.h usability... yes
      checking getopt.h presence... yes
      checking for getopt.h... yes
      checking for an ANSI C-conforming const... yes
      checking for pid_t... yes
      checking for main in -lsocket... no
      checking for main in -lkstat... no
      checking for main in -lnsl... yes
      checking for main in -lresolv... yes
      checking for main in -lkvm... no
      checking for socklen_t... yes
      checking for /proc filesystem... 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 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 (KERN_MAXFILES)... no
      checking for function sysctl (KERN_MAXPROC)... no
      checking for function seteuid()... yes
      checking for function setproctitle()... no
      checking for totalram in struct sysinfo... 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 Oracle support... no
      checking for MySQL support... yes
      checking for floor... no
      checking for floor in -lm... yes
      checking for compress in -lz... yes
      checking for PostgreSQL support... no
      checking for ZABBIX server database selection... ok
      checking for NET-SNMP support... no
      checking for UCD-SNMP support... no
      checking for LDAP support... no
      checking for architecture... ok (linux-gnu)
      checking for the kernel version... 2.6 family (2.6.15-1.2054_FC5smp)
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating src/Makefile
      config.status: creating src/libs/Makefile
      config.status: creating src/libs/zbxlog/Makefile
      config.status: creating src/libs/zbxcrypto/Makefile
      config.status: creating src/libs/zbxpid/Makefile
      config.status: creating src/libs/zbxnet/Makefile
      config.status: creating src/libs/zbxconf/Makefile
      config.status: creating src/zabbix_sender/Makefile
      config.status: creating src/libs/zbxdbhigh/Makefile
      config.status: creating src/libs/zbxemail/Makefile
      config.status: creating src/libs/zbxsysinfo/Makefile
      config.status: creating src/zabbix_server/pinger/Makefile
      config.status: creating src/zabbix_agent/Makefile
      config.status: creating src/zabbix_server/housekeeper/Makefile
      config.status: creating src/zabbix_server/alerter/Makefile
      config.status: creating src/zabbix_server/Makefile
      config.status: creating src/zabbix_server/trapper/Makefile
      config.status: creating src/zabbix_server/poller/Makefile
      config.status: creating src/zabbix_server/timer/Makefile
      config.status: creating src/zabbix_get/Makefile
      config.status: creating src/libs/zbxcommon/Makefile
      config.status: creating src/libs/zbxsysinfo/linux/Makefile
      config.status: creating src/libs/zbxsysinfo/aix/Makefile
      config.status: creating src/libs/zbxsysinfo/freebsd/Makefile
      config.status: creating src/libs/zbxsysinfo/hpux/Makefile
      config.status: creating src/libs/zbxsysinfo/openbsd/Makefile
      config.status: creating src/libs/zbxsysinfo/osx/Makefile
      config.status: creating src/libs/zbxsysinfo/solaris/Makefile
      config.status: creating src/libs/zbxsysinfo/osf/Makefile
      config.status: creating src/libs/zbxsysinfo/netbsd/Makefile
      config.status: creating src/libs/zbxsysinfo/unknown/Makefile
      config.status: creating include/config.h
      config.status: include/config.h is unchanged
      config.status: executing depfiles commands

      Comment

      • peaceofcrap2001
        Junior Member
        • May 2006
        • 10

        #4
        you probably don't have /etc/inetd.conf instead you have /etc/xinetd.conf

        Also...make sure to install net-snmp from RPM rather than building it from source.

        try rpm -qa | grep snmp to see if you have net-snmp installed.

        Ambex

        Comment

        • aford
          Junior Member
          • May 2006
          • 4

          #5
          Originally posted by peaceofcrap2001
          you probably don't have /etc/inetd.conf instead you have /etc/xinetd.conf

          Also...make sure to install net-snmp from RPM rather than building it from source.

          try rpm -qa | grep snmp to see if you have net-snmp installed.

          Ambex
          Thanks Ambex
          I have /etc/xinetd.conf and etc/init.d If there simuliar

          I dont quit understand what that means, how do i fix this.. also i dont see the service even installed, let alone running.
          I do have the snmp installed now so thats working good. I should be able to see the Zabbix in the GUI services screen right?

          Thanks again for your help
          Allen
          Last edited by aford; 01-06-2006, 15:56.

          Comment

          • adam.vollrath
            Member
            • Apr 2006
            • 31

            #6
            I'm also running my Zabbix server on Fedora Core 5. If you do 'make install', it should put the four .conf files in /etc/zabbix. If not, copy them from misc/conf/ in Zabbix's install directory. You may need to
            chown -R zabbix.zabbix /etc/zabbix
            if you've set up Zabbix to run as its own user (and you SHOULD).

            I don't recommend using xinetd on Red Hat/Fedora. I took one of the startup scripts Zabbix came with, misc/init.d/redhat/8.0/zabbix_agentd , and modified the lines

            progdir="/usr/local/bin/"
            prog="zabbix_agentd"

            in one file, and of course prog="zabbix_server" in the other. Save the file as zabbix_agentd and zabbix_server in /etc/init.d. Then make sure to make them executable by root
            chmod 700 zabbix_*

            Then run the following:
            Code:
            chkconfig --add zabbix_agentd
            chkconfig zabbix_agentd on
            service zabbix_agentd start
            chkconfig --add zabbix_server
            chkconfig zabbix_server on
            service zabbix_server start
            I'm sorry I don't recall which snmp package I got. try
            yum search snmp and see what it returns.

            Comment

            • just2blue4u
              Senior Member
              • Apr 2006
              • 347

              #7
              you must have the net-snmp-devel RPM . then everything should work...
              Big ZABBIX is watching you!
              (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

              Comment

              • lordiceman
                Junior Member
                • Sep 2006
                • 3

                #8
                don't do that

                why to install such a hard way? just run
                yum install zabbix*
                and godlike yum will install everything for you 8-)

                Comment

                Working...