- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX startup hang confusion
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
тАО12-18-2007 12:38 PM
тАО12-18-2007 12:38 PM
HP-UX startup hang confusion
I am stumped on this one and hope somebody cn shed some light on it. I am having HP-UX 11.23 hang on startup. I have narrowed the problem down to a specific startup script. I am getting no error messages on the console, it is just hanging. When I enter a control-backslash on the console the startup continues. My questions are why the hang is occurring and why it's occurring where it is.
The sequence of events is:
HP-UX is booted,
fsck's run
log replays run
cleaning /etc/ptmp...
[copyright is displayed]
"/sbin/auto_parms: DHCP access is disabled" message
startup hangs here. I enter ctrl-backslash and I get:
"HP-UX Start-up in progress"
followed by the startup messages
If I remove a startup script from the end of the rc2.d directory (S900 level script), the startup runs without problem. This script was supplied by a vendor and doesn't perform the normal start_msg, stop_msg, start, stop format but runs a couple "su - userid -c" commands.
I've already removed anything that I can see from the startup script that would do terminal I/O. The userid that is being "su-ed" to is running the csh instead of the posix sh.
Why would a script being run at the end of the startup cause the startup to hang before displaying any of the messages that the rc1.d and rc2.d scripts would display?
Any ideas on how to debug this mess?
Thanks.
- Tags:
- hang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 12:59 PM
тАО12-18-2007 12:59 PM
Re: HP-UX startup hang confusion
Are you able to run the script on its own after startup is complete, or are there errors runing it. This may help to debug it.Maybe you can modify it to have the start and stop message.
Cheers John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 01:14 PM
тАО12-18-2007 01:14 PM
Re: HP-UX startup hang confusion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 06:08 PM
тАО12-18-2007 06:08 PM
Re: HP-UX startup hang confusion
Also the the environment may not be set the same in the rc world as in the normal world.
Lastly, I would add some echo commands to a file that would allow you to see where the script 'hangs'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 07:23 PM
тАО12-18-2007 07:23 PM
Re: HP-UX startup hang confusion
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2007 12:37 AM
тАО12-19-2007 12:37 AM
Re: HP-UX startup hang confusion
I've had it hang in scripts because it is doing terminal I/O. If you can redirect stdin to /dev/null, that may fix it.
- Tags:
- scummy C shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 03:01 PM
тАО12-20-2007 03:01 PM
Re: HP-UX startup hang confusion
I'm now outta here until the new year so I'll close the thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 03:07 PM
тАО12-20-2007 03:07 PM