Re: [Nagios-devel] Nagios 3.0 RC2: Segmentation faults after

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

Re: [Nagios-devel] Nagios 3.0 RC2: Segmentation faults after

Post by Guest »

--Boundary-01=_f0EtHqneXfLNC0b
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

On Thursday February 14 2008 03:05:54 pm Hendrik B=E4cker 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=3Dreaddir(dirp))!=3DNULL){
> > 2253
> > 2254 /* create /path/to/file */
> > 2255
> > snprintf(file,sizeof(file),"%s/%s",dirname,dirfile->d_name);
> > 2256 file[sizeof(file)-1]=3D'\x0';
>
> Well - what happend to your path "/var/spool/nagios" ?

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


>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel



=2D-=20
Christian Schneemann

=2D------------------------------------
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 N=FCrnberg

Phone:=A0=A0+49 (0)911 - 740 53 0
e-mail:=[email protected]
=2D------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG N=FCrnberg)
--Boundary-01=_f0EtHqneXfLNC0b
Content-Type: text/html;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable


On Thursday February 14 2008 03:05:54 pm Hendrik B=E4cker wrote:

> > (gdb) l
> > 2247 logit(NS=
LOG_CONFIG_ERROR,TRUE,"Error: Could not
> > open check result queue director=
y '%s' for reading.\n",dirname);
> > 2248 return E=
RROR;
> > 2249 }=

> > 2250
> > 2251 /* process all f=
iles in the directory... */
> > 2252 while((dirfile=
=3Dreaddir(dirp))!=3DNULL){
> > 2253
> > 2254 /* creat=
e /path/to/file */
> > 2255
> > snprintf(file,sizeof(file),&quot=
;%s/%s",dirname,dirfile->d_name);
> > 2256 file[siz=
eof(file)-1]=3D'\x0';
>
> Well - what happend to your path &quo=
t;/var/spool/nagios" ?

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


>
>
> -------------------------------------=
=2D-----------------------------------
> This SF.net email is sponsored by: Mi=
crosoft
> Defy all challenges. Microsoft(R) Vis=
ual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012000=
0070mrt/dir

...[email truncated]...


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