l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Jan 27 16:28

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Anacron says file not found... but it's there!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Anacron says file not found... but it's there!



On Mon, Jan 27, 2003 at 11:29:12AM -0800, Peter Jay Salzman wrote:
> bill, try this:
> 
> strace -o anacron.log anacrontab -f -n -d -t /home/foo/.anacrontab

A few things:

  1. I mistyped.  The _command_ is "anacron", not "anacrontab". :^)
     That wasn't the problem, though (I just made the mistake in my email) [1]

  2. I noticed that when I specified full path (/home/foo/.anacrontab)
     I actually got a DIFFERENT error.  I mis-reported, sorry!
     The error I got (leading to the 'No such file or directory') was
     when I used a relative path:  ".anacrontab" or "./.anacrontab".
     It seems anacron changes its working directory before trying to open
     the file.  How annoying! >:^(

and finally:

  3. The ACTUAL error I seem to be getting (when specifying the full path)
     is as follows:

       Anacron 2.3 started on 2003-01-27
       anacron: Can't open timestamp file for job test: Permission denied
       anacron: Aborted


Looking at the strace [2], I noticed the following chdir call:

  chdir("/var/spool/anacron")

...which explains both #2 and #3.  Now... what do I do!? <:^(
Is there something like "cron -e" for anacron?  :^P

-bill!
[1] Gotta remember to actually READ the errors more closely. Sorry!
[2] Gotta remember to think like Mike Simons more often.

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.