l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jan 27 11:57

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!

bill, try this:

strace -o anacron.log anacrontab -f -n -d -t /home/foo/.anacrontab

when you get the command prompt back, look at the file towards the end.
there will be a call to "open" that returned an ENOENT.   you might be
able to do a search on:


look at the arguments to open().  that might provide a hint as to what
file anacron is _really_ trying to open.


begin Bill Kendrick <nbs@sonic.net> 
> Does anyone know anything about anacron?
> I created the following anacrontab file (/home/foo/.anacrontab):
>   SHELL=/bin/sh
>   PATH=/usr/local/bin:/bin:/usr/bin
>   1  65 test echo hello
> I tried running it with:
>   anacrontab -f -n -d -t /home/foo/.anacrontab
> ...but I get this ridiculous error:
>   Anacron 2.3 started on 2003-01-27
>   anacron: Error opening /home/foo/.anacrontab: No such file or directory
>   anacron: Aborted
> -f = Force execution of the jobs, ignoring timestamps.
>      (e.g., do it NOW)
> -n = Run jobs now.  Ignore the delay specifications.
> -d = Don't fork to the background.  (Info. messages go to stderr, here.)
> -t = Use the specified anacrontab (in this case, /home/foo/.anacrontab),
>      rather than the default (/etc/anacrontab)
> Any ideas?!
> Thanks!
> -bill!

First they ignore you, then they laugh at you, then they fight you,
then you win. -- Gandhi, being prophetic about Linux.

Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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:
O'Reilly and Associates
For numerous book donations.