Bus error on start and verification

Gerald N. Ginsburg g-ginsburg at northwestern.edu
Tue Apr 1 22:52:31 CEST 2008


I had basically the same problem with Solaris 8 -- segmentation fault when
running a verify.  I followed your lead and reconfigured with
	--prefix=/usr/local/nagios-3.0 
	--without-embedded-perl 
	--without-perlcache

And it worked!  Thanks very much.  I did not have this problem with  3.0 rc1
or rc2 (or with 2.x).

Gerald N. Ginsburg
ITCS
Northwestern University
2020 Ridge Ave. 
Evanston IL 60208-4311

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin
Freels
Sent: Tuesday, April 01, 2008 3:15 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Bus error on start and verification

Hmmmm...

I re-compiled without the embedded-perl and perlcache, and the verification
passed. So maybe there's an issue with one of these.

Anyways, if anyone has had a similar problem, I'd still be interested in
hearing about it.

....k
-=-=-=-  

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of Kevin Freels
> Sent: Tuesday, April 01, 2008 12:22 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Bus error on start and verification
> 
> Greetings!
> 
> To get the prelims out of the way:
> 
>  Nagios 3.0
>  FreeBSD 4.10-STABLE
> 
> Problem: I have built and installed 3.0 on this system, but 
> when I run the verification, I get a bus error.
> 
> The output is:
> 
> nagios# /usr/local/nagios3/bin/nagios -v 
> /usr/local/nagios3/etc/nagios.cfg
> 
> Nagios 3.0
> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) 
> Last Modified: 03-13-2008
> License: GPL
> 
> Reading configuration data...
> 
> LEN: 44, END: 42, BUF=log_file=/var/spool/nagios3/log/nagios3.log
> BUFNOW: log_file=/var/spool/nagios3/log/nagios3.log
> LEN: 1, END: -1, BUF=
> .
> .  (more of the same)
> .
> LEN: 28, END: 26, BUF=max_debug_file_size=1000000
> BUFNOW: max_debug_file_size=1000000
> BUFNOW: (null)LEN: 44, END: 42, 
> BUF=log_file=/var/spool/nagios3/log/nagios3.log
> BUFNOW: log_file=/var/spool/nagios3/log/nagios3.logrcmdsh: 
> unknown user: Äü$ûPjVè{ ûÿÄ F` Bus error
> 
> 
> 
> 
> Not a lot to go on.  :-(   And, yes, the Klingon at the end 
> is as it is output. Funny, tho, the last line in the config 
> file is the "max_debug_file_size" config, but it looks like 
> it repeats back up to the top where the "log_file" is. Does 
> this have something to do with the caching?
> 
> No core file produced, but if I try the init script, I get:
> 
> Starting nagios:Bus error (core dumped)
> CONFIG ERROR!  Start aborted.  Check your Nagios configuration.
> 
> and a core file in the rc.d directory.
> 
> I built this natively and saw no errors during the build or 
> the install(s). Here is the set of config options I used:
> 
> ./configure --prefix=/usr/local/nagios3   \
>             --with-nagios-user=nagios    \
>             --with-nagios-group=nagios  \
>             --with-lockfile=/var/run/nagios3.lock  \
>             --enable-embedded-perl  \
>             --with-perlcache  \
>             --with-checkresult-dir=/var/spool/nagios3/checkresults  \
>             --with-htmurl=/nagios3/  \
>             --with-cgiurl=/nagios3/cgi-bin  \
>             --with-httpd-conf=/usr/local/etc/apache2/httpd.conf
> 
> This is also the same system that we have Nagios 1.2 running on.
> 
> Ideas? Bueller?
> 
> Thanks, as always!
> 
> 
> ....k
> -=-=-=-
> Kevin Freels
> Director of Information Technology
> Sendmail, Inc.
> kfreels at sendmail.com  510/594.5572
> 
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about 
> anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
et/marketplace
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list