tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Can't write to the rc.config file
@ 2005-05-06 19:31 Iain Barker
  0 siblings, 0 replies; only message in thread
From: Iain Barker @ 2005-05-06 19:31 UTC (permalink / raw)



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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-06 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-06 19:31 Can't write to the rc.config file Iain Barker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox