[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with cfexecd and parse errors
From: |
John Sechrest |
Subject: |
Re: Problems with cfexecd and parse errors |
Date: |
Fri, 26 Mar 2004 13:06:20 -0800 |
I have been leaning towards running cfagent directly from cron and
then having log parsers mail back reports.
But if you have both cfagent running (at some time)
and cfexec for the regular work, then you could have the cfagent
repair things if cfexec is failing.
"Douglas Reitmeier" <Douglas.Reitmeier@udlp.com> writes:
% --=_092820DE.412082C1
% Content-Type: text/plain; charset=US-ASCII
% Content-Transfer-Encoding: quoted-printable
% Content-Disposition: inline
%
% This was seen with 2.0.8p1 on Solaris 8.
%
% We had an issue where 19 of approximately 600 hosts failed to transfer a =
% new file, stopped with an empty file cf.foo.cfnew, that is imported in =
% cfagent.conf. This caused these systems to fail to parse cfagent.conf =
% correctly. Running cfagent again clears the issue once the update section =
% runs.
%
% The issues is that we run cfexecd from cron to control cfengine. Cfexed =
% starts up by doing a cfagent -z. Since the file is not parse able this =
% fails and cfexecd stops. This means that it never runs cfagent, so the =
% update can fix the issue. This means that all systems with the parse error =
% must be fixed by hand instead of using cfengine to fix the issue.
%
% Is there a way to have cfexecd not need the cfagent -z? One alternative is =
% to run cfagent directly from cron instead of using cfexecd, but that loses =
% the reporting benefits of cfexecd. Does nay one else have any other ideas =
% on how to do this?
%
% Thanks,
%
% Doug Reitmeier
%
%
%
% Douglas J. Reitmeier =
% United Defense L.P.
% Project Manager =
% M248
% douglas.reitmeier@udlp.com 4800 =
% East River Rd
% Phone: 763-572-6644 =
% Fridley, MN 55421
% =
% F: 763-572-6133
%
%
% --=_092820DE.412082C1
% Content-Type: text/plain
% Content-Transfer-Encoding: 7bit
% Content-Disposition: attachment; filename="Douglas Reitmeier.vcf"
%
% BEGIN:VCARD
% VERSION:2.1
% X-GWTYPE:USER
% FN:Reitmeier, Douglas
% TEL;WORK:763-572-6644
% ORG:;Information Systems
% EMAIL;WORK;PREF;NGW:Douglas.Reitmeier@udlp.com
% N:Reitmeier;Douglas
% END:VCARD
%
%
% --=_092820DE.412082C1
% Content-Type: text/plain; charset="us-ascii"
% MIME-Version: 1.0
% Content-Transfer-Encoding: 7bit
% Content-Disposition: inline
%
% _______________________________________________
% Help-cfengine mailing list
% Help-cfengine@gnu.org
% http://mail.gnu.org/mailman/listinfo/help-cfengine
%
% --=_092820DE.412082C1--
%
-----
John Sechrest . Helping people use
. computers and the Internet
. more effectively
.
. Internet: sechrest@peak.org
.
. http://www.peak.org/~sechrest