help-cfengine
[Top][All Lists]
Advanced

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

Re: SingleCopy Nirvana - stat warnings


From: John Warburton
Subject: Re: SingleCopy Nirvana - stat warnings
Date: Thu, 28 Sep 2006 17:11:10 +1000
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Thanks Mark

Patches officially in the release would be good too.

However I just tried 2.1.21 and cfenvd is now sending messages to the syslog as "error" where it wasn't before. I wouldn't have thought they were errors myself:

Sep 27 22:15:11 nemesis cfenvd[2236]: [ID 823470 daemon.error] LDT_BUF (smtp_out): Rot 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 *1.00*

John

Mark Burgess wrote, On 27/09/2006 6:09 PM:
I would rather upgrade the 2.1.21 if you want patches
M

John Warburton wrote:
Hi All

I have had a look at the SingleCopy Nirvana Wiki Page at
http://cfwiki.org/cfwiki/index.php/Singlecopy_Nirvana for the patch that
is supposed to be there for cfservd, but I cannot find it.

Am I missing something or is the Wiki?

Thanks

John

Eric Sorenson wrote, On 4/05/2005 6:40 AM:
On Mon, 2 May 2005, Luke Youngblood wrote:

I'm still having issues with the stat messages and hoping someone
could help
me out here.  In the SingleCopy Nirvana wiki page, he references a
patch to
cfservd that removes the stat messages unless you execute it with a
-v.  Is
there a similar patch for cfagent, or does anyone know of an easy way
to do
this?
I guess that's me, I wrote the wiki page and the patch.

Here's one to do the same thing in cfagent.

*** do.c        2005-05-03 13:39:21.000000000 -0700
--- do.c.eric   2005-05-03 13:38:45.000000000 -0700
***************
*** 2449,2455 ****
        if (cfstat(path,&statbuf,ip) == -1)
           {
           snprintf(OUTPUT,CF_BUFSIZE*2,"Can't stat %s in copy\n",path);
!          CfLog(cfinform,OUTPUT,"");
           SILENT = savesilent;
           ResetOutputRoute('d','d');
           continue;
--- 2449,2455 ----
        if (cfstat(path,&statbuf,ip) == -1)
           {
           snprintf(OUTPUT,CF_BUFSIZE*2,"Can't stat %s in copy\n",path);
!          CfLog(cfverbose,OUTPUT,"");
           SILENT = savesilent;
           ResetOutputRoute('d','d');
           continue;








--
John Warburton
9385 8046
UNSW IT Services




reply via email to

[Prev in Thread] Current Thread [Next in Thread]