- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Login problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 08:25 PM
11-16-2005 08:25 PM
Login problem
Like this time:
One user is setting up a test account, and logs in a number of sessions of this account from a PC (Telnet).
During this, another user is changing this account's password and login information (flags, eventually) and updated SYSUAF.
What happened next is that some way the login stopped responding, appearently looping, causing trouble to login, even for the real system manager. He finally could stop all processes of this user, but one, since that remained in RWMBX state. There was no way to stop this process except for rebooting (we could have tried sending a message to the mailbox, but that would have taken more time).
What worries me is the fact that SYSUAF can be updated and at the same time, this record-in-update can be used by LOGINOUT to create a proces and assign it to a user. I would thing that AUTORIZE would need to lock the record of a user, as soon as it is accessed for update, and that LOGINOUT.EXE - in fact: any program requiring access - would signal the record locked.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 09:06 PM
11-16-2005 09:06 PM
Re: Login problem
Di you look at the locks on SYSUAF at the time?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 09:26 PM
11-16-2005 09:26 PM
Re: Login problem
The process in RWMBX state was one of those test processes. So I guess it had to do with some synchronisation problem with SYSUAF. (No evidence, just the feeling).
Perhaps I could try to reproduce ;-) but it might have been one of those very particular, unusual situations where miliseconds can make a differece, so that is a challenge in itself.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 10:47 PM
11-16-2005 10:47 PM
Re: Login problem
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 01:53 AM
11-17-2005 01:53 AM
Re: Login problem
The issue proved to be a bit different, getting deeper into the matter (that is: interrogating the culprits :D). The first user used Authorize to set passwords for a number of people, and at one point, when hitting return after UAF> MOD
Another person was than asked to chnage that password but his session froze as well. ^C freed that session, but the first remained unaccesable due to RWMBX.
After reboot, there was no problem (of course) of accessing that SYSUAF record and the password could be set.
I may take a look into the audit log, and accounting. If the auditserver died for some reason, there should be an entry ein either one of them.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 03:19 AM
11-17-2005 03:19 AM
Re: Login problem
little chance on ACCOUNTING. Those records are written at proces and, but your culprit process did not end. It was taken down with the system...
And do not yet disqualify JOB_CONTROL. That one also does use SYSUAF (and RIGHTSLIST) for various functionalities.
But I also do not have an answer...
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 09:02 AM
11-17-2005 09:02 AM
Re: Login problem
MAIL is one of the applications that will always hold SYSUAF open.
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 01:37 PM
11-17-2005 01:37 PM
Re: Login problem
I suspect this was a resource issue, rather than an RMS timing bug. If it happens again, please look at the RWMBX process to see what it's waiting for.
That the process is in RWMBX state means it's trying to write to a mailbox, NOT accessing an RMS file. Of course, if it has a lock on a record within a file, other processes may block on that lock.
>There was no way to stop this process
>except for rebooting (we could have
>tried sending a message to the mailbox,
>but that would have taken more time).
Nonsense! RWMBX is EASY to fix, just find the mailbox and READ from it:
$ COPY MBA1234: dump.dat
The mailbox itself should be immediately obvious from SDA> SHOW PROCESS/CHANNEL
If it's not obvious, there is one other way a process can get into RWMBX - if you block output on OPA0: for a very long time (like weeks!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 08:48 PM
11-17-2005 08:48 PM
Re: Login problem
not always as there may be multiple mailboxes which are shown. To definitively find which mailbox then you have to look at the register values for the process. One of them will contain a channel number of a channel assigned to a mailbox. That is the mailbox the process is waiting for. On VAX/VMS then register R5 contains the UCB address of the mailbox.
Or use PWAIT SDA extension which does this for you.
http://eisner.encompasserve.org/~miller/pwait_sda00d.zip
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2006 08:14 AM
10-08-2006 08:14 AM
Re: Login problem
However, we now have some idea where to look next time.
OpenVMS Developer & System Manager