[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Re: [nocol-users] nocol 4.3.1 nsmon problem (4.4b1 works fine)

doh! damnit i hate it when i do this.

took awhile to realize but i must've pasted the old config from 4.4b1 to
the new config file incorrectly the line for that particular domain was
MAINNAME not DOMAINNAME

sorry :<

*hangs his head in shame*

nate

vikas@navya.com wrote:

> 
> > Date: Sun, 27 Aug 2000 13:16:26 -0700
> > From: Nate Amsden <aphro@aphroland.org>
> >
> >
> > someone on the list said that 4.3.1 should be used for production, so i
> > tried to install it today, installed fine, but it kept saying 3 of my
> > nameservers were going critical even though they were not(4.4b1 before
> > reported they were not, and after i replaced 4.3.1 with 4.4b1 a couple
> > minutes ago it still says they are fine) i also checked to see if all 3
> > servers were giving authoritive responses for my domains and they all
> 
> Nate- the only difference in the nsmon's between the two versions is the
> size of the buffer while reading the config file.
> 
> Can you apply the attached patch and tell me if that fixes the problem
> (it is just replacing the MAXLINE with BUFSIZ while doing a fgetLine).
> 
>         -vikas
> 
> 2c2
> <  * $Header: /home/vikas/src/nocol/nsmon/RCS/main.c,v 1.13 1998/08/28 03:20:41 vikas Exp $
> ---
> >  * $Header: /home/vikas/src/nocol/nsmon/RCS/main.c,v 1.15 2000/05/03 01:51:23 vikas Exp $
> 22a23,28
> >  * Revision 1.15  2000/05/03 01:51:23  vikas
> >  * Added support for RRDtool in config file.
> >  *
> >  * Revision 1.14  2000/05/02 16:35:55  vikas
> >  * Changed buffer size to BUFSIZ instead of MAXLINE while reading from file.
> >  *
> 76c82
> <  static char rcsid[] = "$RCSfile: main.c,v $ $Revision: 1.13 $ $Date: 1998/08/28 03:20:41 $" ;
> ---
> >  static char rcsid[] = "$RCSfile: main.c,v $ $Revision: 1.15 $ $Date: 2000/05/03 01:51:23 $" ;
> 271c277
> <     char record[MAXLINE];
> ---
> >     char record[BUFSIZ];
> 309c315
> <     while(fgetLine(p_nodes,record,MAXLINE) > 0 )
> ---
> >     while(fgetLine(p_nodes,record,BUFSIZ) > 0 )

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
aphro@aphroland.org