./root: Stale NFS file handle

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
slthomason
Posts: 5
Joined: Fri Sep 11, 2009 2:23 am

./root: Stale NFS file handle

Post by slthomason »

Hi there,

I have been running Gargoyle for a little while, and everything seems to be working. However, after a few days, my jobs quit running, so I go and try to look at the root file in /etc/crontabs (either with the crontab -e or just trying to look at the file) and I get this error message:

./root: Stale NFS file handle

Does anyone else have the same problem? Any ideas how to resolve it?

Thanks!

slthomason
Posts: 5
Joined: Fri Sep 11, 2009 2:23 am

Re: ./root: Stale NFS file handle

Post by slthomason »

Does Gargoyle write to the crontabs file at boot? I noticed that if there isn't a root file on boot, then it loads this into the root file:

0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 0,4,8,12,16,20 * * * date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
0 0,4,8,12,16,20 * * * bw_get -i "total-download-15m" -h -f "/tmp/data/bwmon/tot
0 0,4,8,12,16,20 * * * bw_get -i "total-upload-15m" -h -f "/tmp/data/bwmon/total
0 0,4,8,12,16,20 * * * bw_get -i "total-download-15h" -h -f "/tmp/data/bwmon/tot
0 0,4,8,12,16,20 * * * bw_get -i "total-upload-15h" -h -f "/tmp/data/bwmon/total
0 0,4,8,12,16,20 * * * bw_get -i "total-download-15d" -h -f "/usr/data/bwmon/tot
0 0,4,8,12,16,20 * * * bw_get -i "total-upload-15d" -h -f "/usr/data/bwmon/total
0 0,4,8,12,16,20 * * * bw_get -i "total-download-1y" -h -f "/usr/data/bwmon/tota
0 0,4,8,12,16,20 * * * bw_get -i "total-upload-1y" -h -f "/usr/data/bwmon/total-

What process is loading that? I think that in cases where there is a lot of stuff loading on boot, something is holding onto the file at the same time that the gargoyle process is trying to write to it, and it is causing the stale handle. Any ideas?

Thanks!

Post Reply