Segfault during pre-flight check

Ethan Galstad nagios at nagios.org
Thu Jun 29 20:10:10 CEST 2006


Hi Thomas -

Can you try the following to generate a backtrace?  This would be 
helpful in tracking down the problem...

1. Use the non-stripped nagios binary (located in the base/ subdir of 
the Nagios distro) for this procedure.  If you're using an RPM install, 
get the source and compile it for yourself first.

2. From the command line...

	cd <nagiossource>/base
	gdb nagios

3. From within gdb..
	
	run -v /etc/nagios/nagios.cfg

4. Once it segfault, gdb will stop and display an error message.  Use 
the following command from within gdb to get a backtrace and see where 
they problem occurred...

	bt

Send the output to (preferably) the list, or directly to myself if you'd 
like.  Thanks!

Thomas Guyot-Sionnest wrote:
> Hi,
> 
> I'm maintaining a pretty big nagios setup (about 60 hosts/ 600 services and
> plan to grow that by 3-4 times). Most of the config is using templates to
> save config lines and maintenance time. Every host has an extinfo (one
> definition for each hostsgroup).
> 
> Now I started adding services extinfos to do some fancy things with e-mail
> pages, and ran in a strange segfault bug. To explain it better I'll give an
> overview of my config.
> check
[snip]
> 
> 
> I'm sorry I didn't have time to cleanup all the config . I'm currently
> setting another nagios box, so if I run into this problem at the very
> beginning I'll keep that config and send it over. I also tried to get a core
> dump but it didn't worked, I'm not sure if I need to enable some options at
> compile time...
> 
> Thanks
> 
> Thomas
> 


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list