Thanks for the update. I'll look at this as soon as I can.

On 01/17/2011 12:37 PM, Erik Mouw wrote:
> On Jan 13, 2011, at 12:44, Mark Burgess wrote:
> 
>>
>> Well that's good news. My guess is perhaps some bianry characters crept
>> into the code somewhere triggering a response from parser.
> 
> 
> Hi Mark,
> 
> I haven't been looking, so in the real tradition of a Heisenbug the bug is 
> back.
> I have checked for binary characters (anything not in the range 0x20 - 0x7e 
> or not
> spaces or newlines) and there are none in my config files.
> 
> Here's the output you asked for:
> 
> cf3 *****************************************************************
> cf3 BUNDLE cadpackage
> cf3 *****************************************************************
> cf3 
> cf3 
> cf3    =========================================================
> cf3    vars in bundle cadpackage (1)
> cf3    =========================================================
> cf3 
> cf3 
> cf3      +  Private classes augmented:
> cf3 
> cf3      -  Private classes diminished:
> cf3 
> cf3 
> cf3 
> cf3    =========================================================
> cf3    processes in bundle cadpackage (1)
> cf3    =========================================================
> cf3 
> cf3 Observe process table with /bin/ps -eo 
> user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,thcount,stime,time,args
> cf3 
> cf3     .........................................................
> cf3     Promise handle: 
> cf3     Promise made by: NameServer
> cf3 
> cf3     Comment:  Make sure there is no Cadpackage nameserver running as 
> another user
> cf3     .........................................................
> cf3 
> cf3  INFO - process column NLWP/NLWP was not supported on this system
> cf3  -> No restart promised for NameServer
> cf3 
> cf3     .........................................................
> cf3     Promise handle: 
> cf3     Promise made by: NameServer
> cf3 
> cf3     Comment:  Make sure Cadpackage nameserver is running
> cf3     .........................................................
> cf3 
> cf3  INFO - process column NLWP/NLWP was not supported on this system
> cf3  !! Matched: support  27175     1 27175  0.0  0.0  1696  14  456 - 10:36 
> 00:00:00 /opt/cadpackage/tools/bin/NameServer
> cf3  -> No signals to send for NameServer
> cf3  -> No restart promised for NameServer
> cf3 
> cf3     .........................................................
> cf3     Promise handle: 
> cf3     Promise made by: LockDaemon
> cf3 
> cf3     Comment:  Make sure there is no Cadpackage locking daemon running as 
> another user
> cf3     .........................................................
> cf3 
> Validation: Error reading assumed integer value "Ja" => "-678" (found 
> remainder "")
> Validation: Error reading assumed integer value "" => "-678" (found remainder 
> "")
> cf3  INFO - process column NLWP/NLWP was not supported on this system
> cf3  -> No restart promised for LockDaemon
> cf3 
> cf3     .........................................................
> cf3     Promise handle: 
> cf3     Promise made by: LockDaemon
> cf3 
> cf3     Comment:  Make sure Cadpackage locking system boolean daemon is 
> running
> cf3     .........................................................
> cf3 
> Validation: Error reading assumed integer value "Ja" => "-678" (found 
> remainder "")
> Validation: Error reading assumed integer value "" => "-678" (found remainder 
> "")
> cf3  INFO - process column NLWP/NLWP was not supported on this system
> cf3  !! Matched: support  20334     1 20334  0.0  0.0 12104  14  780 - Jan13 
> 00:00:01 /opt/cadpackage/tools/bin/LockDaemon -setuid support
> cf3  -> No signals to send for LockDaemon
> cf3  -> No restart promised for LockDaemon
> cf3 
> cf3    =========================================================
> cf3    commands in bundle cadpackage (1)
> cf3    =========================================================
> cf3 
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (/bin/su support 
> '/opt/cadpackage/tools/bin/NameServer'), as context restart_nameserver is not 
> relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (/opt/cadpackage/tools/bin/LockDaemon -setuid 
> support), as context restart_lockd is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3    =========================================================
> cf3    reports in bundle cadpackage (1)
> cf3    =========================================================
> cf3 
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (Restarted Cadpackage nameserver), as context 
> restart_nameserver is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (Restarted Cadpackage locking daemon), as 
> context restart_lockd is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3    =========================================================
> cf3    vars in bundle cadpackage (2)
> cf3    =========================================================
> cf3 
> cf3 
> cf3      +  Private classes augmented:
> cf3 
> cf3      -  Private classes diminished:
> cf3 
> cf3 
> cf3 
> cf3    =========================================================
> cf3    processes in bundle cadpackage (2)
> cf3    =========================================================
> cf3 
> cf3 Reuse cached process state
> cf3 
> cf3    =========================================================
> cf3    commands in bundle cadpackage (2)
> cf3    =========================================================
> cf3 
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (/bin/su support 
> '/opt/cadpackage/tools/bin/NameServer'), as context restart_nameserver is not 
> relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (/opt/cadpackage/tools/bin/LockDaemon -setuid 
> support), as context restart_lockd is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3    =========================================================
> cf3    reports in bundle cadpackage (2)
> cf3    =========================================================
> cf3 
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (Restarted Cadpackage nameserver), as context 
> restart_nameserver is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (Restarted Cadpackage locking daemon), as 
> context restart_lockd is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3    =========================================================
> cf3    vars in bundle cadpackage (3)
> cf3    =========================================================
> cf3 
> cf3 
> cf3      +  Private classes augmented:
> cf3 
> cf3      -  Private classes diminished:
> cf3 
> cf3 
> cf3 
> cf3    =========================================================
> cf3    processes in bundle cadpackage (3)
> cf3    =========================================================
> cf3 
> cf3 Reuse cached process state
> cf3 
> cf3    =========================================================
> cf3    commands in bundle cadpackage (3)
> cf3    =========================================================
> cf3 
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (/bin/su support 
> '/opt/cadpackage/tools/bin/NameServer'), as context restart_nameserver is not 
> relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (/opt/cadpackage/tools/bin/LockDaemon -setuid 
> support), as context restart_lockd is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3    =========================================================
> cf3    reports in bundle cadpackage (3)
> cf3    =========================================================
> cf3 
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (Restarted Cadpackage nameserver), as context 
> restart_nameserver is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 Skipping whole next promise (Restarted Cadpackage locking daemon), as 
> context restart_lockd is not relevant
> cf3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> cf3 
> 
> Like I said before, this only happens on RHEL3, not on RHEL4 or 5.
> I just remembered I had to change the source on one point to get proper
> output from the 'ps' command. RHEL3 doesn't understand the 'nlwp' argument
> but uses 'thcnt' instead. Here is the diff:
> 
> --- cfengine-3.1.2-orig/src/classes.c 2010-12-07 09:04:11.000000000 +0100
> +++ cfengine-3.1.2/src/classes.c      2011-01-12 12:25:12.683167000 +0100
> @@ -184,7 +184,8 @@
>     "auxw",   /* ultrix */
>     "-ef",    /* hpux */
>     "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,ni,stat,stime,time,args",    /* aix 
> */
> -   "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,nlwp,stime,time,args",   /* 
> linux */
> +   "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,thcount,stime,time,args",   
> /* linux */
>     "-eo user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,stime,time,args",   /* 
> solaris */
>     "-ef",    /* osf1 */
>     "auxw",   /* digital */   
> 
> I don't know your stance about outdated OS versions, but "I don't care about 
> them"
> is an argument I can understand and am willing to live with.
> 
> 
> Regards,
> 
> Erik
> 
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to