Ad Widget

Collapse

No /etc/zabbix after make what's the problem ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave96
    Junior Member
    • Jan 2006
    • 21

    #1

    No /etc/zabbix after make what's the problem ?

    Hi,

    The folder zabbix is not created in /etc/zabbix. My make doesn't show any error on completion (it does during the make though).

    Anyone can help?

    Here it is:

    Making all in src/zabbix_agent
    make[1]: Entering directory `/home/zabbix/src/zabbix_agent'
    gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl
    gcc -o ../../bin/zabbix_agentd -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall -lnsl
    make[1]: Leaving directory `/home/zabbix/src/zabbix_agent'
    Making all in src/zabbix_sender
    make[1]: Entering directory `/home/zabbix/src/zabbix_sender'
    gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c -lnsl
    make[1]: Leaving directory `/home/zabbix/src/zabbix_sender'
    Making all in src/zabbix_sucker
    make[1]: Entering directory `/home/zabbix/src/zabbix_sucker'
    gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/usr/include/mysql -I/usr/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -lnsl -L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib -lnetsnmp -lcrypto
    In file included from ../../include/db.h:26,
    from zabbix_sucker.c:59:
    ../../include/config.h:223:1: warning: "PACKAGE_BUGREPORT" redefined
    In file included from zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:949:1: warning: this is the location of the previous definition
    In file included from ../../include/db.h:26,
    from zabbix_sucker.c:59:
    ../../include/config.h:226:1: warning: "PACKAGE_NAME" redefined
    In file included from zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:952:1: warning: this is the location of the previous definition
    In file included from ../../include/db.h:26,
    from zabbix_sucker.c:59:
    ../../include/config.h:229:1: warning: "PACKAGE_STRING" redefined
    In file included from zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:955:1: warning: this is the location of the previous definition
    In file included from ../../include/db.h:26,
    from zabbix_sucker.c:59:
    ../../include/config.h:232:1: warning: "PACKAGE_TARNAME" redefined
    In file included from zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:958:1: warning: this is the location of the previous definition
    In file included from ../../include/db.h:26,
    from zabbix_sucker.c:59:
    ../../include/config.h:235:1: warning: "PACKAGE_VERSION" redefined
    In file included from zabbix_sucker.c:46:
    /usr/include/net-snmp/net-snmp-config.h:961:1: warning: this is the location of the previous definition
    make[1]: Leaving directory `/home/zabbix/src/zabbix_sucker'
    Making all in src/zabbix_trapper
    make[1]: Entering directory `/home/zabbix/src/zabbix_trapper'
    gcc -o ../../bin/zabbix_trapper -g -O2 -I/usr/include/mysql -I../../include zabbix_trapper.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl -L/usr/lib/mysql -lmysqlclient -lm -lz
    gcc -o ../../bin/zabbix_trapperd -g -O2 -I/usr/include/mysql -I../../include zabbix_trapperd.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall -lnsl -L/usr/lib/mysql -lmysqlclient -lm -lz
    make[1]: Leaving directory `/home/zabbix/src/zabbix_trapper'
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Make does not create /etc/zabbix. The directory has to be created manually.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Dave96
      Junior Member
      • Jan 2006
      • 21

      #3
      what goes in it than?

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Please check ZABBIX Manual. The directory shall contain server and agent configuration files.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • krusty
          Senior Member
          • Oct 2005
          • 222

          #5
          You have to create the directory /etc/zabbix manually. Then you have to copy the config files from ../zabbix/misc/conf/* to /etc/zabbix. Maybe you have change some entries in the config files. Then you can run the zabbix prozess.

          That information an many more are shown in the manual.

          Comment

          Working...