Anacron job 'cron.daily'
hi
I have etch stable and I'm getting the following root mails: Code:
/etc/cron.daily/man-db: Code:
# ls -la /usr/share/man/man1/ControlPanel.1.gz Code:
# cat /etc/cron.daily/man-db |
If that is the only entry that cron is whining about check what it's linking to and if it doesn't exist delete it.
|
a dangling symlink means it's not linked to anything, you can safely remove it.
|
Quote:
|
An easy way to deal with symlinks is to install 'symlinks' from the repos.
From the symlinks man page: Code:
It scans directories for symbolic links and lists them on stdout, often revealing flaws in the filesystem tree. Code:
-d causes dangling links to be removed. |
you mean, now it's OK ?
Code:
# symlinks -d |
no, you have to tell it where to look for symlinks.
As root; Code:
symlinks -d / |
I've done:
Code:
symlinks -d / |
try your scrpit again :
Code:
/etc/cron.daily/man-db |
I get no errors:
Code:
# /etc/cron.daily/man-db |
thx a lot !
|
sorry, but this problem still exists.
if I'm doing: Code:
# /etc/cron.daily/man-db Code:
/etc/cron.daily/man-db: |
I don't know then. I would try to re-create the db as root with:
Code:
mandb -c |
thx, it seems to work now.
|
what happens after this command:
Code:
# symlinks -r -d / |
All times are GMT -5. The time now is 07:04 AM. |