syslogd as well as syslog-ng running simultaneously
Hi, I have compiled syslog-ng 3.0.7 successfully on an AIX machine. But I have noticed that I now have both traditional syslog syslogd as well as syslog-ng daemons running simultaneously. root 237722 139372 0 Mar 24 - 2:34 /opt/soe/local/syslog_ng/sbin/syslog-ng -F -f /opt/soe/local/syslog_ng/etc/syslog-ng.conf -p /var/run/syslog-ng.pid root 307444 139372 0 Apr 04 - 0:03 /usr/sbin/syslogd Is this fine or ther is something that has to be done to fix it. Please let me know. Thanks, Rakesh
Hi I would recommend you to disable legacy syslogd. And then port all the syslog.conf entries to syslog-ng.conf file. Having syslog and syslogd enabled might result in double logging, in case you are writing to the same file. Regards Pramod On Wed, Jul 6, 2011 at 2:06 PM, Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> wrote:
Hi,
I have compiled syslog-ng 3.0.7 successfully on an AIX machine. But I have noticed that I now have both traditional syslog syslogd as well as syslog-ng daemons running simultaneously. root 237722 139372 0 Mar 24 - 2:34 /opt/soe/local/syslog_ng/sbin/syslog-ng -F -f /opt/soe/local/syslog_ng/etc/syslog-ng.conf -p /var/run/syslog-ng.pid root 307444 139372 0 Apr 04 - 0:03 /usr/sbin/syslogd Is this fine or ther is something that has to be done to fix it. Please let me know.
Thanks, Rakesh
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
On Wed, 2011-07-06 at 14:06 +0530, Rakesh Rajasekharan wrote:
Hi,
I have compiled syslog-ng 3.0.7 successfully on an AIX machine. But I have noticed that I now have both traditional syslog syslogd as well as syslog-ng daemons running simultaneously. root 237722 139372 0 Mar 24 - 2:34 /opt/soe/local/syslog_ng/sbin/syslog-ng -F -f /opt/soe/local/syslog_ng/etc/syslog-ng.conf -p /var/run/syslog-ng.pid root 307444 139372 0 Apr 04 - 0:03 /usr/sbin/syslogd
Is this fine or ther is something that has to be done to fix it. Please let me know.
Well, since you seem to have compiled syslog-ng on your own, the integration into your OS (e.g. service registration) must have been performed by you manually. You should probably disable the syslogd service via the native AIX service manager, unless you've ensured that the two daemons do not collide on things like udp/514 and log files. -- Bazsi
participants (3)
-
Balazs Scheidler
-
Pramod Pillai
-
Rakesh Rajasekharan