Strange crontab and nfs problem

From: Jean-Pol Guillement (Jean-Pol.Guillement@math.univ-nantes.fr)
Date: Wed Jul 02 2003 - 08:36:22 EDT


Dear managers,

A strange problem with nfs and cron:

1- since 2 weeks our old AS-1000A (tru64 V4.0F) mounts user disks via nfs
from a linux server.

2- the 2 times the nfs server stopped, the AS-1000A had crontabs to execute
which use nfs user disks.

3- We observed that at the same time (01/06, 21:10) a second cron daemon started.
root 624 0.0 0.1 3.30M 152K ?? I Jun 27 0:26.84 /usr/sbin/cron
root 7857 0.0 0.1 3.38M 168K ?? I 21:10:00 0:03.55 /usr/sbin/cron

3- After the restart of the nfs server, the crontab jobs are executed
by the both cron daemons, and there are errors from the second. In fact
$LOGNAME returns concatenation of two usernames: a fixed one and the $LOGNAME
of the owner of the job.

4- If we kill the second cron all become ok.

Any explanation and idea to prevent this ?

Jean-Pol Guillement



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:25 EDT