[syslog-ng] syslog-ng PID not getting set correctly

Ngim, Hyrum CTR ADCF/Arrowpoint hyrum.ngim.ctr at awps.army.mil
Thu Apr 30 16:51:33 CEST 2009


We are running the sunfreeware 3.0.1 version of syslog-ng.



I'm noticing that the PID is not being set correctly. I saw a bug report but it's not the same as what I'm seeing:



https://bugzilla.balabit.com/show_bug.cgi?id=23



Here is what I am experiencing:



# ps -ef | grep syslog

    root  1662     1   0 07:42:05 ?           0:00 /usr/local/sbin/syslog-ng

    root  1663  1662   0 07:42:05 ?           0:00 /usr/local/sbin/syslog-ng



# cat /var/run/syslog-ng.pid

1663



Shouldn't the PID be 1662?



I've also seen inconsistencies when I use the svcadm commands to disable/enable/refresh the syslog-ng service. Many times it won't stop the service properly and the /var/run/syslog-ng.pid file remains in /var/run. When I try to restart syslog-ng, it won't restart until I run an svcadm disable syslog-ng, remove the /var/run/syslog-ng.pid file, then run svcadm enable syslog-ng.



Thanks In Advance for any help.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6244 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090430/1264a12b/attachment.bin 


More information about the syslog-ng mailing list