- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: infinite loop in rc script- cannot boot system
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
07-04-2004 10:25 PM
07-04-2004 10:25 PM
In HP-UX 11.11 machine, we added new rc script in /sbin/rc3.d/S99xxxx.rc, but accidently there was an infinite loop in the script. So I cannot boot the system.
Also tried to boot in single user mode, but it also runs the rc scripts and HANGs.
Is there any solution to skip the rc script execution in boot up process. Immediate help will be much appreciated.
Thanks,
Mathan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 10:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 10:33 PM
07-04-2004 10:33 PM
Re: infinite loop in rc script- cannot boot system
get console access.
shutdown -r 0
at BCH main menu interrupt boot and enter
bo pri
answer y when prompted whether to interact with ISL
at ISL promt enter
ISL> hpux -is
wait for # prompt and rename the Start-link
# mv /sbin/rc3.d/S99xxxx.rc /sbin/rc3.d/do_not_use
# reboot
HTH
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 10:34 PM
07-04-2004 10:34 PM
Re: infinite loop in rc script- cannot boot system
Alternatively, it might be possible to CTRL-C out of the thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 10:37 PM
07-04-2004 10:37 PM
Re: infinite loop in rc script- cannot boot system
there is indeed a key combination to break out of a rc script: but I was guessing at CTRL-Backspace ;-)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2004 11:09 PM
07-04-2004 11:09 PM
Re: infinite loop in rc script- cannot boot system
Initially this method gives same result (hang in rc script ) but I used CTRL+C, CTRL+Backspace before the rc script starts.Now it allow to boot the single user mode.
Once again thanks for the fast reply.