- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP 11 Not booting no /sbin/sh
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
Discussions
Discussions
Forums
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
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
тАО10-30-2001 07:40 AM
тАО10-30-2001 07:40 AM
HP 11 Not booting no /sbin/sh
Booting normally gets to CDE logon screen, then you cannot login.. (sh doesn't appear to work)
So I rebooted in single mode
IPL>boot -is ....
and it cannot find /sbin/sh
So, I booted of the HP bootdisk, did recovery, and chroot_lvm disk to mount the boot disk under /ROOT, I can then see my FS, and guess what /sbin exists and so does sh etc.. obviously /usr etc is not mounted...
So it appears to be then sbin hasn't been modified since 1999!! yet the system doesn't start.. Any ideas...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 07:43 AM
тАО10-30-2001 07:43 AM
Re: HP 11 Not booting no /sbin/sh
They should be:
# ll -d /sbin
dr-xr-xr-x 13 bin bin 3072 Oct 4 14:56 /sbin
# ll /sbin/sh
-r-xr-xr-x 1 bin bin 401408 Nov 3 2000 /sbin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 07:45 AM
тАО10-30-2001 07:45 AM
Re: HP 11 Not booting no /sbin/sh
Thats whats weird..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 07:54 AM
тАО10-30-2001 07:54 AM
Re: HP 11 Not booting no /sbin/sh
Have you tried running a 'pwck' to see if there are any problems with root's entry in the passwd file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 07:57 AM
тАО10-30-2001 07:57 AM
Re: HP 11 Not booting no /sbin/sh
Since you are able to
boot the box and get till
the CDE prompt,but could
not login, the problem could
be with the shell entry in
the /etc/password file.
Have a loot at it and make
sure they are correct.
Also, try logging with different user id to see
whether it works.
Check the size of the /sbin/sh
file to see whether it got changed.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 08:13 AM
тАО10-30-2001 08:13 AM
Re: HP 11 Not booting no /sbin/sh
it looks like the sh in /sbin/ is correct as I can run it from the recovery console..
I have looked at the passwd file and it seems correct.
When running in single user mode it doesn't start which kind of indicates the passwd is not the problem..
it just keeps looping round the screen. the only error message is:
/etc/profile[133]: ksh: not found
yet that also exists.. I seems to have some read problems on the root mount..
p.s cheers for the help so far lads...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 08:36 AM
тАО10-30-2001 08:36 AM
Re: HP 11 Not booting no /sbin/sh
I have had a problem like this before. If the root sheel is ksh, the system WILL NOT BOOT. I dunno why. So a simple attempt to make things easier by making the root shell ksh can stuff your system up. Try changing the root shell to /sbin/sh and see what happens :-)
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 08:39 AM
тАО10-30-2001 08:39 AM
Re: HP 11 Not booting no /sbin/sh
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 09:35 AM
тАО10-30-2001 09:35 AM
Re: HP 11 Not booting no /sbin/sh
Seems that you are using
ksh either for your root account or in a startup
script in the profile.
If so, change the shell
to point to /sbin/sh !
Also edit the /etc/profile
file and see what the 133 line
is referring to.
Better yet, do
cp /etc/profile /etc/profile.orig
cp /usr/newconfig/etc/profile /etc/profile
and start the system .
(for this you would need to
mount /usr manually in the
single user mode).
In all likelihood, you
are accesing the wrong shell
somewhere in your startup
scripts or user id.
-Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2001 10:02 AM
тАО10-30-2001 10:02 AM
Re: HP 11 Not booting no /sbin/sh
this might help.
quote //
if you do a sum on /sbin/sh, you will find your other machine different data (files) on it. The easiest way to correct this situation is to ftp /sbin/sh from your other machine the problem machine. Then, everything should work fine.
//unquote
hope this helps.
thanks