From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Iain Barker Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Can't write to the rc.config file Date: Fri, 06 May 2005 16:54:25 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1115412564 20333 80.91.229.2 (6 May 2005 20:49:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 May 2005 20:49:24 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri May 06 22:49:21 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DU9k5-0000Hl-4v for gotm-tru64-unix-managers@gmane.org; Fri, 06 May 2005 22:48:13 +0200 Original-Received: (qmail 357 invoked by uid 49509); 6 May 2005 20:54:49 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 342 invoked by uid 49501); 6 May 2005 20:54:49 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-2.5/5.0):. Processed in 0.449166 secs); 06 May 2005 20:54:49 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 6 May 2005 20:54:49 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IG300JO963AYY@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 06 May 2005 16:54:48 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0IG30000262SHF@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 06 May 2005 16:54:38 -0400 (EDT) Original-Received: from mailfrnt.aastra.com (mail.aastra.com [216.94.98.95]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IG300LI562QBI@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 06 May 2005 16:54:27 -0400 (EDT) Original-Received: from bilmail.aastra.com ([10.50.2.10]) by mailfrnt.aastra.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 06 May 2005 16:54:26 -0400 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: hwmgr delete Thread-Index: AcVSb4Gsj3C1tvB+R/qSr8aOIV4PGQAAgGZwAAIv1bA= Content-class: urn:content-classes:message X-Envelope-From: X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on email.cind.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.3 X-OriginalArrivalTime: 06 May 2005 20:54:26.0447 (UTC) FILETIME=[CA11A1F0:01C5527D] Xref: news.gmane.org gmane.os.tru64.managers:8271 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8271 Thanks to everyone who responded: Chris Eubank, Jeffrey Hummel, John = Lanier, Franz Fischer, Eric Sisson, Michael Warchut In summary, We're not running TruCluster on this system, but the use of = /cluster CDSL's is standard for all Alphas on 5.1b with or without = clustering. Other files in the the local /cluster/members/member0/etc = directory could be edited, and all filesystems could be mounted, it was = just the one rc.config file in this weird limbo state. Nobody suggested what the root cause was. The easiest solution was to boot from CD and mount the root filesystem = manually, then rename the /cluster/members/member0/etc directory to = oldetc and copy the files (except rc.config) into a new etc directory. = Restore the backup copy of rc.config and reboot. Of course, now I have a directory /cluster/members/member0/oldetc that = can never be deleted because it contains a nonexistant file, but I can = live with that... -----Original Message----- From: tru64-unix-managers-owner@ornl.gov [mailto:tru64-unix-managers-owner@ornl.gov]On Behalf Of Iain Barker Sent: Friday, 06 May, 2005 15:31 To: tru64-unix-managers@ornl.gov Subject: Can't write to the rc.config file Due to user error, the rc.config file on one of our Alpha 5.1b systems = got deleted and the system was later rebooted so came up without any = locla configuration. I tried to recreate rc.config from a similar copy on another Alpha, but = I cannot write to the file - it seems to be in some sort of limbo state. I can rm the nonexistant file (it doesn't say 'No such file or = directory" as it would if the file weren't present) but I can't recreate = a file with that same name either manually or using rcmgr... See console logs below - it's almost like the rc.config file is present = in the filesystem (AdvFS with LSM mirroring) but not accessible. There = aren't any processes running that would have a lock on the file though, = as the system is currently booted single user. INIT: SINGLE-USER MODE fopen: /etc/rc.config: Invalid argument # mount -u / # ls -l /etc/rc.config lrwxr-xr-x 1 root system 39 Apr 6 21:08 /etc/rc.config -> = ../cluster/members/{memb}/etc/rc.config # cd /cluster/members/member0/etc # rm -f rc.config # ls > rc.config rc.config: cannot create # rcmgr set HOSTNAME csgds1 # rcmgr get HOSTNAME Error: Cannot open /etc/rc.config # Any ideas? thanks.