On 05/12/2011 08:02 PM, no-re...@cfengine.com wrote:

> I've upgraded two of my master policy servers from 3.1.4 to 3.1.5.  The 
> upgrade worked, but I'm starting to see some strange behavior.

Being handled in issue 602.
> 
> I'm getting this in the output from the output of cf-execd
> 
> 
> BDB_CloseDB: Unable to close database: No such file or directory
> CloseDB: Could not close DB handle.
> CloseDB: Trying to remove handle from open pool anyway.
> BDB_CloseDB: Unable to close database: No such file or directory
> CloseDB: Could not close DB handle.
> CloseDB: Trying to remove handle from open pool anyway.
> BDB_CloseDB: Unable to close database: No such file or directory
> CloseDB: Could not close DB handle.
> CloseDB: Trying to remove handle from open pool anyway.
> BDB_CloseDB: Unable to close database: No such file or directory
> CloseDB: Could not close DB handle.
> CloseDB: Trying to remove handle from open pool anyway.
> 
> 
> 
> 
> 
> The processes are piling up too.  It looks like cf-agent isn't completing its 
> execution correctly.  When I run it from the command line, it completes 
> without an issue.  I'm not sure why the behavior is different when being 
> executed from cf-execd.
> 
> 
> $ ps -ef | grep cf
>     root  5610  5608   0 17:55:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  4542  4540   0 17:40:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  5242  5241   0 17:50:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  4161  3867   0 17:37:11 ?           0:10 /var/cfengine/bin/cf-agent
>     root  2628 17234   0 17:15:01 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  2807  2632   0 17:17:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  3502  3497   0 17:27:12 ?           0:24 /var/cfengine/bin/cf-agent
>     root  3670 17234   0 17:30:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  5409  5242   0 17:52:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  4057  3890   0 17:37:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  3672  3670   0 17:30:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  5241 17234   0 17:50:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  2980  2979   0 17:20:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  5069  4902   0 17:47:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  4540 17234   0 17:40:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  5072  5069   0 17:47:04 ?           0:04 /var/cfengine/bin/cf-agent
>     root  5784  5781   0 17:57:04 ?           0:02 /var/cfengine/bin/cf-agent
>     root  3497  3332   0 17:27:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  3888 17234   0 17:35:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  2632  2628   0 17:15:01 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
> msvoboda  6043  5949   0 17:58:29 pts/2       0:00 grep cf
>     root  4902  4900   0 17:45:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  5413  5409   0 17:52:04 ?           0:03 /var/cfengine/bin/cf-agent
>     root  5608 17234   0 17:55:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  4713  4708   0 17:42:08 ?           0:08 /var/cfengine/bin/cf-agent
>     root  4708  4542   0 17:42:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  4900 17234   0 17:45:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  2814  2807   0 17:17:08 ?           0:47 /var/cfengine/bin/cf-agent
>     root  3148  2980   0 17:22:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root   645     1   0 16:52:15 ?          15:58 
> /var/cfengine/bin/cf-serverd
>     root  5781  5610   0 17:57:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  2979 17234   0 17:20:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  3890  3888   0 17:35:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  4060  4057   0 17:37:03 ?           0:10 /var/cfengine/bin/cf-agent
>     root  3332  3331   0 17:25:00 ?           0:00 /var/cfengine/bin/cf-execd 
> -F
>     root  3867  3672   0 17:32:03 ?           0:00 sh -c 
> /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent
>     root  3331 17234   0 17:25:00 ?           0:00 sh -c 
> /var/cfengine/bin/cf-execd -F
>     root  3151  3148   0 17:22:04 ?           0:32 /var/cfengine/bin/cf-agent
> 
> 
> 
> Should I file a bug report on this?  In the interm, I'm going to downgrade my 
> master policy servers back to 3.1.4.
> 
> Thanks
> Mike
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to