For those trying to get this working on CentOS 5, I have found a workaround.
The problem is clearly an issue between the 'daemon' function and rsyslogd
so I looked for alternatives to using daemon. I installed the 'daemonize'
package from EPEL and, after some messing around with parameters, I found a
combination that works.
Install the daemonize package and change the line in
/etc/rc.d/init.d/rsyslog that says:
daemon --pidfile="${PIDFILE}" $exec -i "${PIDFILE}" $SYSLOGD_OPTIONS
to:
daemonize -p "${PIDFILE}" $exec -i "${PIDFILE}" -n $SYSLOGD_OPTIONS
On my system at least start,stop and restart all work with that change in
place.
I know it doesn't solve the underlying problem, but at least it works!!
Cheers
Andy
--
View this message in context:
http://rsyslog-users.1305293.n2.nabble.com/rsyslog-startup-problem-on-Cent-OS-5-tp7586023p7586090.html
Sent from the rsyslog-users mailing list archive at Nabble.com.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.