Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!sdd.hp.com!apollo!apollo.hp.com!pcc From: pcc@apollo.HP.COM (Peter Craine) Newsgroups: comp.sys.apollo Subject: Re: registry problem Message-ID: <4fee2bb6.20b6d@apollo.HP.COM> Date: 20 Feb 91 17:18:00 GMT References: <9102191833.AA12326@dxmint.cern.ch> Sender: root@apollo.HP.COM Reply-To: pcc@apollo.hp.COM Organization: Hewlett-Packard Chelmsford Response Center Lines: 42 In article <9102191833.AA12326@dxmint.cern.ch>, pschenk%cernapo.cern.ch@PUCC.PRINCETON.EDU (P.R.Schenk) writes: |> Hello. We have a slight problem here. We have a small network ( 3 machines ) |> and while someone was editing the master ( only ) registry, another person |> EX'd the node on which the registry resides. Now rgyd will not start on |> the node ( interactively if gives the message "Cannot initialize registry |> database " ). The question is, how do we get the registry back. Well, you can try /etc/rgyd -restore_master This may fix your problem. If not, then it's almost certainly rgy_create time. |> If I do need to re-create the registry, is there a way to set the |> uid's back to what they were. ( We only have 3 user accounts + the default |> ones ). If I could find out the existing uid's could I use |> adopt in edrgy to do this? This is actually very simple. /systest/ssr_util/acluid will show all the UID's associated with a file's ACL's. You'll see something like this: % acluid stcodes Acl for stcodes: 3F041A5A.2000B623 00000000.00000000 00000000.00000000 pcc.%.% 00000000.00000000 00800040.00000000 00000000.00000000 %.none.% 00000000.00000000 00000000.00000000 14E54ABB.60000021 %.%.r_d 00000000.00000000 00000000.00000000 00000000.00000000 %.%.% % This says that the person "pcc" has uid 3f041a5a.2000b623, group "none" has uid 00800040.00000000, etc. With this information, you can get the UID's of each person's accounts. (Of course, if somebody doesn't own any files, then you don't have to bother adopting UID's. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Peter Craine + "Agent Cooper, I am thrilled to pieces that Hewlett-Packard + the Dharma came to Hohoho, I really am." Chelmsford Response Center + *I* don't want my opinions. Why would HP? Brought to you by Super Global Mega Corp .com