Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMS single user mode 3

Status
Not open for further replies.

telcoguy

MIS
Dec 5, 2001
514
NL
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?
 
If you can telnet into it. I believe it is possible if you go into the cmssvc menu.
 
Often when you put it into single user mode and then get disconnected or log out someone else will log in.

If that happens you only have 3 options ... wait till they log out, reboot the box, or (my favorite) disconnect the network connection to the CMS.

If you have a console you can log in while its disconnected and put it back into multi user mode. Then plug the network cable back in.

I'll dig up and post a proceedure for putting it back into multi user mode in a minute.
 
Tried that,but unfortunately that will result in :

$
The system is currently in single user mode
$
and then throws you back into the dollar prompt.
 
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
 


Simreal,

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'm glad you figured it out.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top