Mr. Roberts: uv.rc -stop is being run as root, however. Wouldn't it then be able to unlock the semaphore?
Thanks, Mike Doyle On Mon, 2005-12-05 at 11:01 -0800, Keith W. Roberts wrote: > Just a thought ... are there any UV processes running as root? Perhaps > uv.rc -stop doesn't stop those for some reason. > > I recall a discussion recently about someone always running such a process > in case a user process running PORT.STATUS aborted, leaving the semaphore > locked, in which case only a root (uvadm?) process can unlock it. > > -Keith > > ----Original Message---- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Monday, December 05, 2005 9:54 AM > To: [email protected] > Subject: Re: [U2][UV] Aborted Shutdown > > > Hi Michael, > > > > Hardly a guru, but fwiw I think the problem is likely to be a > > user process > > that has not completely died. > > > > When Universe starts, it creates a shared memory segment for > > its own use. > > As users login, a shared memory segment is created for each > > user. When the > > user logs off, the shared memory segment is removed. Before > > Universe shuts > > down, the script checks that there are no user shared memory segments > > left. > > > > If you execute the command ipcs -mop | grep ace at the Unix > > shell prompt, > > it will list all the shared memory segments in use by > > Universe. One of the > > processes will be owned by root (or possibly uvadm), and the > > others will > > be user processes. > > > > My guess is that a user is either still logged on when you do your > > shutdown, or is somehow left in a partially logged off state. > > Either way, > > the above command should identify the user concerned. > > > > hth, > > > > asvin. > > > > > > > > > > Michael Doyle <[EMAIL PROTECTED]> > > Subject > > [U2][UV] Aborted Shutdown > > > > UniGurus: > > > > We shutdown UniVerse nightly to perform a full data backup > > with a simple > > "/etc/rc.d/init.d/uv.rc stop" command. Twice in the past week this > > process has errored out with: > > > > Not all UniVerse processes were successfully terminated. > > "1" process(es) still attached to main UniVerse memory segment > > UniVerse has NOT been successfully terminated. > > Aborting shutdown request > > > > Any ideas? RTFM yields nothing. I'm imagining that this might be a > > shared-memory related problem. > > > > UniVerse 10.1 running on RHEL3. > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
