Nagios 3.0 RC2: Segmentation faults after starting

Christian Schneemann cschneemann at suse.de
Thu Feb 14 15:15:59 CET 2008


On Thursday February 14 2008 03:05:54 pm Hendrik Bäcker wrote:

> > (gdb) l
> > 2247                    logit(NSLOG_CONFIG_ERROR,TRUE,"Error: Could not
> > open check result queue directory '%s' for reading.\n",dirname);
> > 2248                    return ERROR;
> > 2249                    }
> > 2250
> > 2251            /* process all files in the directory... */
> > 2252            while((dirfile=readdir(dirp))!=NULL){
> > 2253
> > 2254                    /* create /path/to/file */
> > 2255
> > snprintf(file,sizeof(file),"%s/%s",dirname,dirfile->d_name);
> > 2256                    file[sizeof(file)-1]='\x0';
>
> Well - what happend to your path "/var/spool/nagios" ?

Nothing... I'm seeing files appearing, and then it segfaults after a few files..


>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel



-- 
Christian Schneemann

-------------------------------------
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneemann at suse.de
-------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080214/887ab1a5/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list