Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!sun-barr!lll-winken!uunet!mcsun!ukc!edcastle!cs.ed.ac.uk!cs.edinburgh.ac.uk!jtb From: jtb@cs.edinburgh.ac.uk (Jo Blishen) Newsgroups: comp.sys.hp Subject: setmntent problem Keywords: setmntent, mnttab, AMD Message-ID: <7760@skye.cs.ed.ac.uk> Date: 14 Mar 91 17:08:59 GMT Sender: nnews@cs.ed.ac.uk Reply-To: jtb@cs.edinburgh.ac.uk (Jo Blishen) Organization: Department of Computer Science, University of Edinburgh Lines: 24 I am experiencing an intermittent problem when running AMD 5.2 on a HP9000/375 under HP-UX version 7.0. AMD reports the following errors: setmntent ("/etc/mnttab","a") permission denied couldn't find how to unmount /a/server/whichever/partition... It seems that AMD is failing to add a record of a new NFS mount to the mount table. AMD then fails to unmount this NFS-mounted partition at some time later on and so I end up in an inconsistent state with a partition mounted and no record of it. This leads to further errors when someone tries to use that partition again as it is already NFS-mounted and I get "device busy" messages. Has anyone else seen this? Has anyone else fixed this already? Is there any known problem with "setmntent" - it seems to me that it shouldn't be giving "permission denied" messages to a program running as root trying to append to /etc/mnttab? Jo -- Jo Blishen JANET: jtb@uk.ac.ed.lfcs LFCS, Dept. of Computer Science UUCP: ..!mcvax!ukc!lfcs!jtb University of Edinburgh ARPA: jtb%lfcs.ed.ac.uk@nsfnet-relay.ac.uk Edinburgh EH9 3JZ, UK. Tel: 031-650-5192