One thing to note on RHEL is that the SELinux context that the init script starts you in is different than when you start it manually as root. This could be a SELinux permission issue, check the logs and try a trivial config (say something that doesn't access disk, just sends/receives over the network and see if it also hangs on startup)

you can see the SELinux tag for a file by adding -Z to ls -l

David Lang


 On Sat, 6 Sep 2014, Boylan, James wrote:

I've actually have this hang every time the init.d script starts, not just 
after a reboot. I'll be doing some final tests with the older init.d script. 
We'll see if it resolves it for me and if it does, I'll put together a PR for 
it and we can see if it helps others with similar issues.

-- James

________________________________________
From: [email protected] <[email protected]> on behalf 
of Edmonds, Alan <[email protected]>
Sent: Friday, September 5, 2014 10:25 AM
To: 'rsyslog-users'
Subject: Re: [rsyslog] Issue with rsyslog 8.2.2-1.el5.centos

The symptom is that the init script hangs the first time after reboot, then 
works after that.

Can you try your test but with a reboot?

You may loose ssh access to the server if the rsyslog script hangs so take 
appropriate action before the reboot :-)

Alan Edmonds

_______________________________________________
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.
_______________________________________________
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.

_______________________________________________
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.

Reply via email to