- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Server boots into 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
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
03-18-2002 12:39 PM
03-18-2002 12:39 PM
1. /etc/inittab
init:3:initdefault:
2. /etc/passwd
root:*:0:3::/home/root:/usr/bin/sh
Any help greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 12:43 PM
03-18-2002 12:43 PM
Re: Server boots into single user mode
/usr isn't mounted so it may be causing you problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 12:46 PM
03-18-2002 12:46 PM
Re: Server boots into single user mode
Try changing /usr/bin/sh in /etc/passwd to /sbin/sh
/usr isn't mounted so it may be causing you problems.
so your new password file entry for user root will be as below :
root:*:0:3::/home/root:/sbin/sh
Thanks,
-Piyush.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 12:50 PM
03-18-2002 12:50 PM
Re: Server boots into single user mode
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:01 PM
03-18-2002 01:01 PM
Re: Server boots into single user mode
What messages are you getting on the console?
Root's shell should not be changed from the default /sbin/sh. You create many problems for yourself when booting into single user or maintenance mode and root's shell is not the default.
If /home/root is in the root (/) filesystem, then that's fine. For security reasons, it's a good thing for the root account home directory to be something besides /.
Has your problem just recently began to occur? If so, what has been changed recently?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:06 PM
03-18-2002 01:06 PM
Re: Server boots into single user mode
Is it a new system ? Is it a new problem ? Did you change anything with AUTO file in the LIF area ?
Check your AUTO file with 'lifcp' command.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:38 PM
03-18-2002 01:38 PM
Re: Server boots into single user mode
TO: Sandip
I have a box that have home directory for root: /home/root that does not boot into single user mode
TO: Darrell
It is not a new system, I am the new person here and not sure for how long this problem exists. I was told that last time somebody rebooted the box remotely and it went to single user mode.
So, should I try to change entry in /etc/passwd from:
root:*:0:3::/home/root:usr/bin/sh
to
root:*:0:3::/home/root:/sbin/sh
???
Thank you all for your replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:41 PM
03-18-2002 01:41 PM
Re: Server boots into single user mode
On our test box I tried to duplicate the problem by changing the entry in /etc/passwd to
root:*:0:3::/home/root:usr/bin/sh
and I could not reproduce the problem, it did not boot into single user mode.
Thank you all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:43 PM
03-18-2002 01:43 PM
Re: Server boots into single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:45 PM
03-18-2002 01:45 PM
Solution1./home/root is perfectly fine. I bet there is a problem wiht the Auto boot file , please check with the
lifcp /dev/rdsk/c0t0d0:AUTO file
2. In the single user mode type init 2 or init 3 to knwo whether the system is really setup to go tho the other levels manually or not.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 01:47 PM
03-18-2002 01:47 PM
Re: Server boots into single user mode
Check the log files and boot messages. Do you get anything on the console ? Any file system errors ?
Check the LIF file -AUTO and make sure that 'hpux' is not starting with '-is' there.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 06:25 AM
03-19-2002 06:25 AM
Re: Server boots into single user mode
hp
it does not have -is
2. As soon as I can reboot the box I will test
root:*:0:3::/home/root:/sbin/sh
Thank you all very much.