SUMMARY: Strange crontab and nfs problem

From: Jean-Pol Guillement (Jean-Pol.Guillement@math.univ-nantes.fr)
Date: Thu Jul 03 2003 - 05:28:39 EDT


Thanks to
        "Dr Thomas.Blinn@HP.com" <tpb@doctor.zk3.dec.com>
        "O'Brien, Pat" <Pat.Obrien@choicepoint.com>

They tell that this dual cron problem should be a bug in V4.0F,
but that this release is too old to get a patch.
I have to do some tests in the crontab scripts.

Jean-Pol Guillement

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The original question:

> 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 ?



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