Ad Widget

Collapse

Installation Problem: Configfiles are not being created

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hans
    Junior Member
    • Sep 2007
    • 4

    #1

    Installation Problem: Configfiles are not being created

    Hello,

    i am pretty new to zabbix, but I didn't found any clues which would help me with my problems.

    I want to run zabbix on RHEL4 and MySQL. So I followed the steps in manual.

    Preparing Database: No Problem.
    Creating Account and unzip sources: No Problem.
    Executing configure script:
    ./configure --prefix=/usr/local/zabbix/ --enable-server --with-mysql --with-net-snmp
    I don't see any errors. It tells me "Now run 'make install'" at the end.

    Running "make install":
    I am not sure if everything runs correct.
    There are many outputs like:
    ##
    if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/rpm -I/usr/include/rpm -I. -I/usr/include/net-snmp -MT comms.o -MD -MP -MF ".deps/comms.Tpo" -c -o comms.o comms.c; \
    then mv -f ".deps/comms.Tpo" ".deps/comms.Po"; else rm -f ".deps/comms.Tpo"; exit 1; fi
    In Datei, eingefügt von ../../../include/common.h:23,
    von comms.c:20:
    ../../../include/sysinc.h:291:1: Warnung: "_GNU_SOURCE" redefined
    <Kommandozeile>:2:1: Warnung: this is the location of the previous definition
    ##

    or

    ##
    make[4]: Für das Ziel »install-data-am« ist nichts zu tun.
    (means something like "for the target ... nothing to do").

    After that, the manual tells me to edit the config files, which should ne located under /etc/zabbix. But this folder is empty. The user which executes configure and make has got the priviliges to write in this directoy.

    Any clue what is going wrong? In /usr/local/zabbix/sbin, only the script zabbix_server is being created - at being started it searches for the configfiles.

    Thanks in advance!
    Regards
  • hans
    Junior Member
    • Sep 2007
    • 4

    #2
    This is the output from configure:

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

    Compiler: gcc
    Compiler flags: -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/rpm -I/usr/include/rpm -I. -I/usr/include/net-snmp

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

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

    LDAP support: no
    ##

    Everyting alright with this?

    Comment

    • hans
      Junior Member
      • Sep 2007
      • 4

      #3
      Ok, i had to copy the configfiles and frontend-files manually, now it works.

      Comment

      Working...