- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The job started in background after sometime a...
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
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
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-08-2011 02:16 AM
09-08-2011 02:16 AM
The job started in background after sometime automatically gets killed.
Hi,
I am starting one job in background as below,
nohup /opt/sapbc47/Server/bin/server.sh &
But after sometime when i logoff from that server where i run the job in background as above after some time job gets killed. But if i am not logging off from that server the jobs keep running.
Please let me know how to start the background job in unattended mode so that when i logoff from that server the job will continue to run. But this problem is not coming on other server i am starting the job on that server same as above. We are having HP-UX 11i V1.
Thanks,
Narendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2011 09:42 AM - edited 09-08-2011 09:56 AM
09-08-2011 09:42 AM - edited 09-08-2011 09:56 AM
Re: The job started in background after sometime automatically gets killed.
You could also redirect stdin to /dev/null to make sure.
>sometime when I logoff from that server where I run the job in background as above after some time job gets killed.
nohup should stop that. Have you looked at the nohup.out file for any messages?
>But this problem is not coming on other server I am starting the job on that server same as above.
That's strange, I would expect both to be the same.
Do you have any logs to indicate why it died? Add a signal handler just to track the signals before exiting?