HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pb with nohup
Operating System - HP-UX
1837978
Members
2529
Online
110124
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-28-2002 04:33 AM
03-28-2002 04:33 AM
pb with nohup
Hi,
I have a script used at the boot, correctly installed (in /sbin/init.d and linked from /sbin/rc2.d/Kxxx and /sbin/rc3.d/Sxxx)
This script calls another script with "su - user -c script". On this 2nd script, programs are started by "nohup pgm &" ...
But no nohup.out files are created and all program's message are made in /etc/rc.log ...
Why ?
Thanks in advance.
I have a script used at the boot, correctly installed (in /sbin/init.d and linked from /sbin/rc2.d/Kxxx and /sbin/rc3.d/Sxxx)
This script calls another script with "su - user -c script". On this 2nd script, programs are started by "nohup pgm &" ...
But no nohup.out files are created and all program's message are made in /etc/rc.log ...
Why ?
Thanks in advance.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 04:42 AM
03-28-2002 04:42 AM
Re: pb with nohup
Hi
try
1. The full pathname of nohup
2. nohup command > nohup.out 2>&1
Steve Steel
try
1. The full pathname of nohup
2. nohup command > nohup.out 2>&1
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 05:45 AM
03-28-2002 05:45 AM
Re: pb with nohup
Thanks Steve ...
I already tried your 2nd solution, and it worked.
My pb is that, started with command line on a shell, my script works ... but no at boot time!
Why ?...
I already tried your 2nd solution, and it worked.
My pb is that, started with command line on a shell, my script works ... but no at boot time!
Why ?...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 05:54 AM
03-28-2002 05:54 AM
Re: pb with nohup
Hi,
Check the environment variables / profiles that might be passed on to the script when run through command lines. probably the same set of variables are not passed on using startp script. You should also look if this application need a prerequisite for startup, say the availabaility of another package / application / database.
Hope this helps.
Regds
Check the environment variables / profiles that might be passed on to the script when run through command lines. probably the same set of variables are not passed on using startp script. You should also look if this application need a prerequisite for startup, say the availabaility of another package / application / database.
Hope this helps.
Regds
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP