LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-21-2006, 02:14 PM   #1
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Anacron resource deadlock problem in FC5


I've noticed that ever since I upgraded from FC4 to FC5, I get the following in my cron.daily log:

Code:
/etc/cron.daily/0anacron:

anacron: Cannot run - another anacron process is already running.: Resource deadlock avoided
I've googled a bit and it seems other people have this problem too but there's no definite consensus on either the cause or the proper solution. Both crond and anacron are set to on in chkconfig, and there is a '0anacron' in /etc/cron.daily/ (as well as cron.weekly and cron.monthly).

Any ideas anyone?

Thanks in advance.

Regards
David
 
Old 06-23-2006, 09:28 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I had this issue, and resolved it by putting this in the /etc/cron.daily/0anacron script:

if [ ! -e /var/run/anacron.pid ]
then
anacron -u cron.daily
fi

and similar for the scripts in cron.weekly, and cron.monthly.

I can't remember exactly where I found this solution...
 
Old 07-31-2006, 10:32 AM   #3
ahz10
Member
 
Registered: Apr 2005
Distribution: Fedora,Trustix,FreeBSD
Posts: 62

Rep: Reputation: 15
I'm having the same problem on FC5. I found a suggestion to run

Quote:
As root: chkconfig --del anacron.
However, on my system:

Code:
# chkconfig --list anacron
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
#  /etc/init.d/anacron  status
anacron is stopped
 
  


Reply



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
anacron startscript juli SUSE / openSUSE 2 05-01-2005 01:51 PM
Timer Deadlock problem in timer_create and delete_timer nkk4u Programming 0 04-15-2005 02:10 AM
Anacron problem sachinh Linux - General 0 02-09-2005 01:02 AM
Diagnosing Deadlock jcase008 Linux - Software 3 07-03-2004 09:09 PM
deadlock rajani Programming 0 03-11-2002 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:41 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