LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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
  Search this Thread
Old 07-10-2006, 09:31 PM   #1
qipman
LQ Newbie
 
Registered: Jul 2006
Posts: 14

Rep: Reputation: 0
crond freezes centos 4.3 box


I have ran redhat enterprise 3.0 for quite a while before upgrading to centos 4.3, without any freezes or server hangs.

Once I installed and configured centos 4.3, it seems that crond is hanging the box. Each time that this happens, it is always the last entry in /var/log/messages as well as /var/log/cron (right as the box freezes) as follows:


Jul 6 02:01:01 server_name crond(pam_unix)[5465]: session closed for user root

This happens intermittently, once a week, or even 2 days in a row.
This has stopped now that crond has been shut down…

Any thoughts?
 
Old 07-11-2006, 06:40 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Any thoughts?
My first thought is what breaks by disabling crond: for instance logrotate is run from cronjob. Also stopping crond isn't a solution, it's just like taking painkillers: most likely you're only remedying symptoms, not the cause.


Jul 6 02:01:01 server_name crond(pam_unix)[5465]: session closed for user root
This happens intermittently, once a week, or even 2 days in a row.

Start by examining the commands from your crontabs.
 
Old 07-12-2006, 12:01 AM   #3
qipman
LQ Newbie
 
Registered: Jul 2006
Posts: 14

Original Poster
Rep: Reputation: 0
crond was only disabled temporarily to verify that it was in fact causing the server lock-ups.

Prior to that, most cronjobs were disabled during the troubleshooting process. It turns out that lockups occur during any given valid cron command. It happens with any cronjob, at any time. This seems to be an issue with cron, as the same cronjobs run without issue on the same box when booted up into RH Enterprise 3.0...

Also, the MB is new, and we monitor the temps via lm_sensors so it is not an overheating-related issue.
 
Old 07-12-2006, 02:44 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
It turns out that lockups occur during any given valid cron command. It happens with any cronjob, at any time. This seems to be an issue with cron, as the same cronjobs run without issue on the same box when booted up into RH Enterprise 3.0...
If it is crond itself you could try and replace the crond rpm for the one from RHEL3.
 
Old 07-12-2006, 10:25 AM   #5
qipman
LQ Newbie
 
Registered: Jul 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn
It turns out that lockups occur during any given valid cron command. It happens with any cronjob, at any time. This seems to be an issue with cron, as the same cronjobs run without issue on the same box when booted up into RH Enterprise 3.0...
If it is crond itself you could try and replace the crond rpm for the one from RHEL3.

Sounds like the best direction to go in at this point... When this first occurred, we updated cron using yum, but that did not help.

Also, another consideration not mentioned before is that we use webmin to update/create some cron jobs and crontab at the cmd prompt for others.

Thanks!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing TOra 1.3.18 & Qt 3.3.5 on CentOS 4.1 (RHEL 4 U1) box running Oracle 10g R2 dbaxps Linux - Software 2 02-22-2007 08:41 AM
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 12:23 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM
Swap to console freezes box elpresidente Debian 4 10-16-2004 11:09 AM
Debian box freezes aliensub Linux - General 0 02-06-2003 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration