- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Boot Script problem
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
09-07-2001 10:01 AM
09-07-2001 10:01 AM
Boot Script problem
However, It seems to be running before anything else, even before rc1 and rc2.
TIA
Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 10:08 AM
09-07-2001 10:08 AM
Re: Boot Script problem
What is it that leads you to this impression? Make sure that your script (as pointed to by the link) has a valid environment. In particular, make sure that your PATH variable includes what you need.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 10:22 AM
09-07-2001 10:22 AM
Re: Boot Script problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 10:34 AM
09-07-2001 10:34 AM
Re: Boot Script problem
Are you sure that what you are seeing isn't the processing of /etc/rc.config.d/* files as /etc/rc.config sources the files in this directory?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 10:45 AM
09-07-2001 10:45 AM
Re: Boot Script problem
If you do:
ll /sbin/rc*/*myscript
does it reveal more than one link to your script?
Is any output from your script saved in /etc/rc.log or /etc/rc.log.old ? If so, is it at the beginning or at the end of the log file? Does it show the correct link name:
S999myscript ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 10:47 AM
09-07-2001 10:47 AM
Re: Boot Script problem
Try S900 rather then S999.
Three thing to make sure
-link S900scirpt -> /sbin/init.d/script
-script itself /sbin/init.d/script and
-text file in /etc/rc.config.d/ for variable if any.
Check your /etc/rc.log file which is log for all daemon that are started at boot time.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2001 04:45 PM
09-07-2001 04:45 PM
Re: Boot Script problem
Have a look at your /etc/rc.log file. It will list the order in which the startup script was run and the error associated with it, if any. Most of the times the errors are self explanatory, so you should be able to know what you are missing.
You can try the solution sachin is advising of changing the S???script. However don't think that should be the reason. Could be ?.
Hope this helps
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2001 10:47 AM
09-08-2001 10:47 AM
Re: Boot Script problem
seems pretty simple to me: your script does not react
properly when called with the parameter "start_msg"
(and perhaps "stop_msg", too).
But it should, as ALL scripts are called with that
parameter BEFORE even the first is executed with the
parameter "start" (or "stop", of course) to built the
list that you see on the console during that startup
process.
Have a look into the example in "/sbin/init.d/template"
and modify your script accordingly...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2001 07:16 AM
09-10-2001 07:16 AM
Re: Boot Script problem
Good luck.