[Nagios-devel] 2.0a1 SEGV on FreeBSD 4.x Was: [Nagios-users]: Perl problems in Nagios 2.0a1 (Tom DE BLENDE (GCC))

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] 2.0a1 SEGV on FreeBSD 4.x Was: [Nagios-users]: Perl problems in Nagios 2.0a1 (Tom DE BLENDE (GCC))

Post by Guest »

Dear Ladies and Gentlemen,

On FreeBSD RELENG 4 (4.9-RELEASE-p2), Nag 2.0a SEGVs with an error from
the reentrant C library (libc_r, FreeBSD 4.x threaded C library with at
least partial support for POSIX threads).

Details are :-

./configure --with-gd-inc=/usr/local/include/gd
--with-gd-lib=/usr/local/lib --enable-embedded-perl --with-perlcache

..

*** Configuration summary for nagios 2.0a1 11-18-2003 ***:

General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagios
Embedded Perl: yes, with caching
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Lock file: ${prefix}/var/nagios.lock
Init directory: /usr/local/etc/rc.d
Host OS: freebsd4.9

Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /usr/sbin/traceroute

External Data Routines:
------------------------
Status data: Default (text file)
Comment data: Default (text file)
Downtime data: Default (text file)
Peformance data: Default (external commands)


Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.

tsitc> make all
cd ./base && make
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCORE -c
broker.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCORE -c
nebmods.c
nebmods.c: In function `neb_add_module':

.. yada

gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCORE -o
nagiostats nagiostats.c -pthread -L/usr/local/lib -lm
cd ./cgi && make
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c
getcgi.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c
cgiutils.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c
cgiauth.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
objects-cgi.o ../common/objects.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
xobjects-cgi.o ../xdata/xodtemplate.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
statusdata-cgi.o ../common/statusdata.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
xstatusdata-cgi.o ../xdata/xsddefault.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -pthread
-L/usr/local/lib -o avail.cgi avail.c getcgi.o cgiutils.o cgiauth.o
objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
comments-cgi.o ../common/comments.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
xcomments-cgi.o ../xdata/xcddefault.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
downtime-cgi.o ../common/downtime.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -c -o
xdowntime-cgi.o ../xdata/xdddefault.c
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -pthread
-L/usr/local/lib -o cmd.cgi cmd.c getcgi.o cgiutils.o cgiauth.o
objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o
comments-cgi.o xcomments-cgi.o downtime-cgi.o xdowntime-cgi.o
gcc -g -O2 -I/usr/local/include/gd
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_CONFIG_H -DNSCGI -pthread
-L/usr/local/lib -o config.cgi config.c getcgi.o cgiutils.o cgiauth.o
objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o

.. yada

*** Compile finished ***

If the main program and CGIs compiled without any errors, you
can continue with installing Nagios as f

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked