- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with a startup script
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
тАО03-23-2000 12:00 AM
тАО03-23-2000 12:00 AM
Problem with a startup script
level 3. The script works fine when I transition from run level 2 to run level
3, but when I re-boot the system the script runs and then ends. In the startup
script I a starting another script in background (that I want to stay active).
See that attached code example.
Thanks for any help you can offer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2000 12:43 AM
тАО03-23-2000 12:43 AM
Re: Problem with a startup script
Place the startup link file in /sbin/rc3.d directory and ame it appropriately.
It will enable the file to start in run level 3.
I hope this will help.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2000 12:53 AM
тАО03-23-2000 12:53 AM
Re: Problem with a startup script
you want to stay up running. The process will be adopted by init and your start
script would exit and
leave it running.
nohup /opt/rnic/bin/rnicd 1>/opt/rnic/log/rnic.log 2>&1 &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2000 01:42 AM
тАО03-23-2000 01:42 AM
Re: Problem with a startup script
finished. Also the startup file is the last script run in rc3.d .
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2000 03:22 AM
тАО03-23-2000 03:22 AM
Re: Problem with a startup script
the root user, your environment is set differently. There might be env.
variables that need to be set in order to run that aplication. Try to find out
what they are, set and export them before running your nohup line. If you
can't point them out, run the entire roots .profile before the nohup line.
ex: ". /.profile" #run on current shell.
Good Luck!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2000 03:57 AM
тАО03-23-2000 03:57 AM
Re: Problem with a startup script
* * * * /opt/rnic/bin/rnicd 1>/opt/rnic/log/rnic.log 2>&1
Sachin