Autor Thema: Probleme bei der Installation Nagios 2  (Gelesen 2305 mal)

Tom26

  • Gast
Probleme bei der Installation Nagios 2
« am: 05. Februar 2005, 16:22:21 »
wollte mir mal das aktuelle Nagios installieren und habe ein
 Problem:

 tar -xvf nagios-2.0b1.tar
 groupadd nagios
 useradd -g nagios -d /usr/local/nagios/ nagios
 passwd nagios
 ./configure -prefix=/usr/local/nagios -with-cgiurl=/nagios/cgi-bin
 -with-htmlurl
 =/nagios/ -with-nagios-user=nagios -with-nagios-group=nagios
 make all

 dann erhalte ich:

 bash-2.05# make all
 cd ./base && make
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c nebmods.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c checks.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c config.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c commands.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c events.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c flapping.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c logging.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c notifications.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c sehandlers.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c utils.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o
 ../xdata/xrddefault.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o
 ../common/comments.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o
 ../xdata/xcddefault.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o
 ../xdata/xodtemplate.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o
 ../common/statusdata.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o
 ../xdata/xsddefault.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o
 ../xdata/xpddefault.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o
 ../common/downtime.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o
 ../xdata/xdddefault.c
 gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o
 checks.o config.o commands.o events.o flapping.o logging.o notifications.o
 sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o
 xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o
 xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o
 xdowntime-base.o -lm -lnsl -lsocket -lpthread -ldl -lrt
 Undefined first referenced
 symbol in file
 unsetenv utils.o
 setenv utils.o
 ld: fatal: Symbol referencing errors. No output written to nagios
 collect2: ld returned 1 exit status
 *** Error code 1
 make: Fatal error: Command failed for target `nagios'
 Current working directory /usr/local/nagios/install_tmp/nagios-2.0b1/base
 *** Error code 1
 make: Fatal error: Command failed for target `all'

 Eine idee ?

Benuetze eine Ultra10, Solaris 9....

Danke vorab !

sonnenblen.de - Das unabhängige Sun User Forum

Probleme bei der Installation Nagios 2
« am: 05. Februar 2005, 16:22:21 »

Waldo

  • Gast
Re: Probleme bei der Installation Nagios 2
« Antwort #1 am: 05. Februar 2005, 19:27:30 »
Hallo,

Dr. Google half mir ein wenig:
http://article.gmane.org/gmane.network.nagios.devel/1493

Hth,

E.:wq

Tom26

  • Gast
Re: Probleme bei der Installation Nagios 2
« Antwort #2 am: 05. Februar 2005, 20:07:42 »
leider versteh ich den link nicht. heisst das etwa es geht unter solaris mit diesem stand nicht?

oder hast du es irgendwie hinbekommen?

Waldo

  • Gast
Re: Probleme bei der Installation Nagios 2
« Antwort #3 am: 05. Februar 2005, 20:55:21 »
Hallo,

die Aussage von Ethan Galstad heißt, daß jemand zwar den für Solaris
tauglichen Code geschrieben hat und er den ins CVS schieben will. Das
bedeutet, daß Du mal die CVS-Version ausprobieren solltest. Die
kompiliert bei mir zumindest utils.c sauber durch, bricht aber später beim
Linken von helloworld.o ab - das kann aber auch an meiner etwas eigen-
willigen Umgebung liegen.

Hth,

E.:wq

tom.jones

  • Gast
Re: Probleme bei der Installation Nagios 2
« Antwort #4 am: 10. Februar 2005, 20:19:00 »
habe mich fpr die vorgängerversion entscheiden.

funzt prima !

danke an alle!