Crond Dead But Subsys Locked, cannot restart cron services
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Crond Dead But Subsys Locked, cannot restart cron services
forgive my ignorance, i'm 2 days old regarding my LINUX experience.
apparently our access log reached a size larger than 2 gigs and i believe the cron jobs stopped running as a result.
when i check status, i get:
crond dead but subsys locked
trying to stop it i get:
Stopping crond: [FAILED]
the resulting errors in the log file say:
May 17 16:15:38 www crond: crond shutdown failed
May 17 16:16:01 www squid[9783]: error: bind: Address already in use
May 17 16:16:01 www squid[9783]: fatal: Bind to port 1837 failed: Transport endpoint is not connected.
I stopped squid services and stopped and started crond, but the same error messages where generated.
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500
Rep:
Squid has nothing to do with crond. Take a look at /var/log/cron to see why it's failing, strace cron to find the point of failure, or check with your distribution for an update.
looking back, the var/log/httpd/error_log has a number of
May 7 15:34:23 www httpd[1969]: [notice] child pid 22252 exit signal File size limit exceeded (25)
before it stopped writing entries. this i attribute to the large (over 2 gig) access_log which i deleted.
the /var/log/cron doesn't report any errors but simply stopped writing entries at the same time the error log did.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.