I accidentily put a CMS (v5) machine into single user mode on a remote location, and locked myself out. :-(
Is there a way to get CMS back into multi-user mode remote, from the command line, or a commandline util?
When you log into the CMS ... you need to be at the CMS menu. If you happen to be at the UNIX prompt you will need to log in with a login capable of using the CMS menu.
If you are using a login with that ability type cms.
If you are already at the CMS menu,
-select "System Setup"
--Select "CMS State"
---Highlight "Multi User State" (tab or arror down and hit spacebar)
----Hit enter which will move the cursor over to "Modify"
-----Hit enter again and you should now be in multi user state
Make sure to reconnect the network cable if you unplugged that.
If you're logging in as root you cant use the CMS menu.
If someone else is logged in you wont be able to log in. Single user mode means exactly that ONE user can be logged into the system. If its a CMS supervisor users, or someone logging in for admin puirposes .. whatever. So you'll need to unplug it from the network to drop their connection.
Oops ... in the proceedure for changing to multi user mode you have to type X not hit the space bar to select multi user mode.
I'll repaste the corrected commands here:
If you are already at the CMS menu,
-select "System Setup"
--Select "CMS State"
---Highlight "Multi User State" (tab or arror down to the multi user selection field and hit "x" to select multi user)
----Hit enter which will move the cursor over to "Modify"
-----Hit enter again and you should now be in multi user state
thanks, for all the answers,
That would have been my solutions, but the box is hundreds of kilometers away from me and my local admin is on holiday.
The procedure you describe in the second post is correct, but only works when you are on the console, or if the system is still in multi-user mode.
when you start CMS from for example the cms or cmssvc user, it will just kick you off with the earlier mentioned message.
But I fixed this issue by doing the following;
It is the one-user issue that got me.
When the system goes into single -user mode it tells evryone they are logged off. One user got 'clever' and logged back in straight away, preventing me from logging in.
The way to 'fix' this is:
Log in as root
do a < who -u >
This will show you all active users.
Then do a <ps -edalf > and find all terminal processes these users have open.
Then just kill them by < kill 'PID#' >
This will alow you to quickly log back in and fix the issue...
I missread the previous post. you said you tried to telnet in but got kicked back out and I read into that that you had logged into root. I guess I should have clarified.
I didn't know you could still get in as root when the CMS was in single user mode. Thats good to know however.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.