help-cfengine
[Top][All Lists]
Advanced

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

[SysLog]: logs events 3 times...


From: Predrag Zecevic - Solaris System Administrator
Subject: [SysLog]: logs events 3 times...
Date: Fri, 10 Sep 2004 09:56:01 +0200
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.2) Gecko/20040817

Hi,

Platform: Solaris SPARC 9, cfEngine 2.1.10

I have switched on syslog (with corresponding changes into /etc/syslog.conf):
-----------------------------------------<conf>---
...
solaris.main.conf:      Syslog            = ( on )
solaris.main.conf:      SyslogFacility    = ( LOG_LOCAL4 )
...
-----------------------------------------</conf>---
*cfagent* is executed via cfexecd --no-fork and CFSERVD runs plain (no args) *cfagent* command ...

Then, it (cfengine) started to log everything in /var/log/cgenlog file, but each action is logged 3 times!
-----------------------------------------</var/log/cgenlog>---
...
Sep 10 03:41:49 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Group of /etc/logadm.conf was 1, setting to 3 Sep 10 03:41:49 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Group of /etc/logadm.conf was 1, setting to 3 Sep 10 03:41:49 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Group of /etc/logadm.conf was 1, setting to 3 Sep 10 03:41:49 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Object /etc/logadm.conf had permission 600, changed it to 644 Sep 10 03:41:49 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Object /etc/logadm.conf had permission 600, changed it to 644 Sep 10 03:41:49 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Object /etc/logadm.conf had permission 600, changed it to 644 Sep 10 03:41:52 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Deleting file /etc/motd_1094697690_Thu_Sep__9_04_41_49_2004_.cfsaved Sep 10 03:41:52 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Deleting file /etc/motd_1094697690_Thu_Sep__9_04_41_49_2004_.cfsaved Sep 10 03:41:52 moonrise cfengine:moonrise[28800]: [ID 702911 local4.notice] Deleting file /etc/motd_1094697690_Thu_Sep__9_04_41_49_2004_.cfsaved
...
-----------------------------------------</var/log/cgenlog>---
Does some other cfengine configuration parameters are/shouldn't be involved?
What I did wrong? ;-)

--
| Predrag Zecevic | e-Mail: Predrag.Zecevic@2e-Systems.COM |
| 2e Systems GmbH |              Tel: (+49)[0]6107 989 415 |
|Im Taubengrund 12|              Fax: (+49)[0]6107 989 494 |
|65451 Kelsterbach|                                        |
|     Germany     |         Cellular: (+49)[0]174 3109 288 |
+=================+
Wonderful day. Your hangover just makes it seem terrible.




reply via email to

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