- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot Boot System in Single-User Mode
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
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
07-29-2005 02:34 AM
07-29-2005 02:34 AM
I came in this morning and when I tried to log
onto the system I got a message saying invalid password. (I got this message for every login
that I tried). Something must have happened lastnight to the passwd file. So I am trying
to reboot to single-user mode (for the first time I might add).
I powered off the system,
Then interupted the process
At the boot menu I typed "bo pri"
At the ISL> prompt, typed hpux -is
The system then does it thing and then prompted
me for a login name, when I typed root and also a pseudo root called "alsoroot" neither
of the passwords worked, I got a message stating that "authentication incorrect"
so I am stuck at that.
Can anyone help me get logged in so that I can
check reset the root password as well as check the passwd file to see if it exhists.
Thanks,
Andre'
please enter a login name prompt
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:40 AM
07-29-2005 02:40 AM
SolutionUNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:43 AM
07-29-2005 02:43 AM
Re: Cannot Boot System in Single-User Mode
It seems there must have been a problem in your procedure although it sounds correct. If the system truly came up in single user mode, you would already be logged in as root without any prompting for a login name or passwd. When you say the "system then does it thing", exactly what are you seeing? Do you see the menu list with start/wait alternating, or do you just see some text containing all the copyright information and so on?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:45 AM
07-29-2005 02:45 AM
Re: Cannot Boot System in Single-User Mode
on staff.
Am I doing the correct thing to get into single user mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:47 AM
07-29-2005 02:47 AM
Re: Cannot Boot System in Single-User Mode
any way, if it doesn't work, you can boot to maintainance mode.
ISL>hpux -lm
and then mount all os fs, and change passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:48 AM
07-29-2005 02:48 AM
Re: Cannot Boot System in Single-User Mode
is said press any key within 10 seconds, I will do that again since I cannot scroll back the console screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:50 AM
07-29-2005 02:50 AM
Re: Cannot Boot System in Single-User Mode
I did the hpux -lm when that did not work
is when I started over and typed hpux -is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 02:52 AM
07-29-2005 02:52 AM
Re: Cannot Boot System in Single-User Mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:14 AM
07-29-2005 03:14 AM
Re: Cannot Boot System in Single-User Mode
An option I may like you to try is to connect a windows machine to your unix box console port using an appropriate serial cable (R232c). Try now to access your unix box througt HYPERTERMINAL with your windows machine com1 or com2 port.
Another option is to use the secure web console to access your unix box trough the internet explorer.
Regards.
Berenger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:14 AM
07-29-2005 03:14 AM
Re: Cannot Boot System in Single-User Mode
and missed the 10 second window to interupt,
so when the system rebooted on its own, the
following messages resulted:
sbin/ioinitrc:
/dev/vg00/lvol1: 1 BLK(S) missing
/dev/vg00/lvol1: Bad cylinder groups(fixed)
/dev/vg00/lvol1: 46 files, 0 icont, 41927 used, 41806free (96 frags, 5124 blocks)
inst: Failed to find user bin in passwd file, using uid2 instead.
inst: Failed to find user root in passwd file; using current uid (0) instead.
please enter login name:
I am going to go reboot again and try the single user interupt again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:20 AM
07-29-2005 03:20 AM
Re: Cannot Boot System in Single-User Mode
when the ten second interrupt boot screen comes up press a key
then do a
boot pri
say yes to interact with IPL
then do
hpux -lm
mount any filesystems you need such as var usr and so on
passwd root
change your root password
If you are still locked out because of a security program.
Depending on the type of backup system you use. If it has a client on the machine. You may be able to boot up the machine and restore /etc/passwd to the machine from your backupserver and /tcb if you run trusted machines.
Once you get back into your machine. Change all the passwords and make sure no one stuck a root shell somewhere on the box. It sounds like someone fooled with your system and this is not good.
Also if you have ssh with keys, sudo, powerbroker, and su setup You may be able to think of creative ways to gain access back to your system. For example you had ssh keys setup to allow you to ssh to the box, and sudo setup to allow you to sudo to root. Not a default way, but knowing your evironment be creative too. :)
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:29 AM
07-29-2005 03:29 AM
Re: Cannot Boot System in Single-User Mode
"inst: Failed to find user root in passwd file; using current uid (0) instead."
There is no "root" user in the passwd file so it can't automatically log you in as root and prompts you for a login name. I think you're going to need to find that CD. It looks to me like someone prior to you trashed the passwd file and who knows what else!!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:30 AM
07-29-2005 03:30 AM
Re: Cannot Boot System in Single-User Mode
same messages as my last reply, and after the "failed to find" line it also had
overifing default level with level 's'
Boot Authentication:
Please enter your login name:
So I will now try the hpux -lm again and
hope for the best.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:37 AM
07-29-2005 03:37 AM
Re: Cannot Boot System in Single-User Mode
'root' password expired and my Sr. Op changed it, then forgot what he changed it
too, this was discovered when I tried to log
on as root one day and the password had expired a second time and he mentioned that he changed it a while back, then of course in order to change it you need to no the old
password and he could not remember it. So as
a work around I have been using a backup root
logon "alsoroot", does this give you any additional ideas why this single user mode is not working?, when I enter alsoroot or
a few other operations user-ids they do not work either, can you mount devices from the ISL prompt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:45 AM
07-29-2005 03:45 AM
Re: Cannot Boot System in Single-User Mode
First off, Do you have a same model and very very similar configuration machine in your data center ? If not, my plan is dead before it could event start. But if you do, and by sheer luck, you have a hot pluggable (user servicable) root disk and can afford some down time on thas server, you can shut it down, replace that disk with your semi-dead root disk. Boot your server, and hopefully you have another slot for the dead disk that you can connect it to. Copy a known good passwd file over from the currently running disk. Put back the drive into the root drive position and try booting it this way.
I know this is a lot of things to expect but you never know. You may luck out.
Good luck
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 03:47 AM
07-29-2005 03:47 AM
Re: Cannot Boot System in Single-User Mode
I agree that the recovery CD sounds like a good option. Other than that, maybe restore from a recent Ignite tape?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 04:06 AM
07-29-2005 04:06 AM
Re: Cannot Boot System in Single-User Mode
sold that a few months ago, I do not have
that CD either, so I will have to contact HP and have them ship me a replacement. I tired
the hpux -lm and got a big list of messages
I just went out to write the messages down and the system tried to reboot itself and
not the red fault light is blinking so that
is not a good sign... lol
Users were supposed to have weened themselves
from this system anyway and were just using it to look up some old information....
I will assign points prior to closing this thread once I get the matter resloved (when I get that CD from HP)
Thanks for all your time and efforts as always.
Andre'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:45 AM
08-01-2005 02:45 AM
Re: Cannot Boot System in Single-User Mode
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:50 AM
08-01-2005 02:50 AM
Re: Cannot Boot System in Single-User Mode
assuming p4 is the selection number for your optical media reader like cd or dvd drive upon making a search at the boot menu, I suggest you let it do its boot up without any interruptions after making the "bo p4" selection, i.e., do not opt to interact with isl at all. The kernel on this CD is not vmunix as far as I know. Just let it take you to a rdumentary menu system, which is same or very similar to the character based system install menu.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 06:13 AM
08-01-2005 06:13 AM
Re: Cannot Boot System in Single-User Mode
I was able to boot from the recovery CD and working with them on the phone for 1.45 hours
everything is fine now.
I thank you all for your time and efforts.
Andre'