LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
LinkBack Search this Thread
Old 05-23-2005, 09:47 AM   #1
jmm8142
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
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.

i'm not sure where to go from here.
 
Old 05-23-2005, 11:52 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
You just need to clear the lock, because cron apparently failed without doing so:

rm -f /var/lock/subsys/crond
 
Old 05-23-2005, 12:11 PM   #3
jmm8142
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
yeah, i've done that, but when i start services again, the lock file reappears, and I get the same messages about failing to bind to port 1837.
 
Old 05-23-2005, 12:28 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
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.
 
Old 05-23-2005, 12:41 PM   #5
jmm8142
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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.

I'll check for updates.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crond dead but subsys locked dpirvulescu Linux - Software 9 04-23-2005 09:09 AM
vsftpd dead but subsys locked? ciberrust Linux - Software 6 11-29-2004 07:11 AM
ntpd dead but subsys locked kaplan71 Linux - General 0 11-22-2004 03:16 PM
subsys locked but service dead multiple services. wolfe2554 Linux - Software 5 09-01-2004 11:36 AM
vsftpd dead but subsys locked ??? markstevens Linux - Software 43 03-18-2004 10:14 AM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration