From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jean-Pol.Guillement@math.univ-nantes.fr (Jean-Pol Guillement) Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Strange crontab and nfs problem Date: Thu, 03 Jul 2003 11:28:39 +0200 (MET DST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200307030928.LAA18468@lebesgue.math.univ-nantes.fr> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1057224512 32740 80.91.224.249 (3 Jul 2003 09:28:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2003 09:28:32 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jul 03 11:28:30 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19Y0OD-0008Vn-00 for ; Thu, 03 Jul 2003 11:28:30 +0200 Original-Received: (qmail 558 invoked by uid 5); 3 Jul 2003 09:28:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 497 invoked by uid 49493); 3 Jul 2003 09:28:47 -0000 Original-Received: from Jean-Pol.Guillement@math.univ-nantes.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.9/5.0):. Processed in 1.368099 secs); 03 Jul 2003 09:28:47 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 3 Jul 2003 09:28:45 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHF006U3ZNWFF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 03 Jul 2003 05:28:45 -0400 (EDT) Original-Received: from lebesgue.math.univ-nantes.fr (lebesgue.math.sciences.univ-nantes.fr [193.52.98.8]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHF00AJCZNSUU@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 03 Jul 2003 05:28:41 -0400 (EDT) Original-Received: from (guilleme@localhost) by lebesgue.math.univ-nantes.fr (8.9.3/jtpda-5.3.3) id LAA18468 for tru64-unix-managers@ornl.gov; Thu, 03 Jul 2003 11:28:39 +0200 (MET DST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:4740 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4740 Thanks to "Dr Thomas.Blinn@HP.com" "O'Brien, Pat" 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 ?