SUMMARY: Strange crontab and nfs problem

From: Jean-Pol Guillement <Jean-Pol.Guillement_at_math.univ-nantes.fr>
Date: Thu, 03 Jul 2003 11:28:39 +0200 (MET DST)

Thanks to
        "Dr Thomas.Blinn_at_HP.com" <tpb_at_doctor.zk3.dec.com>
        "O'Brien, Pat" <Pat.Obrien_at_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 ?
Received on Thu Jul 03 2003 - 09:29:22 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT