HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nohup cannot go in foreground
Operating System - HP-UX
1834279
Members
1851
Online
110066
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
01-10-2006 07:12 PM
01-10-2006 07:12 PM
nohup cannot go in foreground
Hi,
I launched a job using nohup, the job containins a sqlplus command with many insert into oracle DB.
The job at moment is stopped and I want to get back the control because I suppose I have to give a commit.
I use fg but is doesn't work.
Any idea on how to get back the control of my job ?
Many thanks
Angelo
I launched a job using nohup, the job containins a sqlplus command with many insert into oracle DB.
The job at moment is stopped and I want to get back the control because I suppose I have to give a commit.
I use fg
Any idea on how to get back the control of my job ?
Many thanks
Angelo
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 07:17 PM
01-10-2006 07:17 PM
Re: nohup cannot go in foreground
If the process is stopped then how we can make to come foreground? May be you can do another thing as,
include trapping of user signal in script with trap and make the background to foreground or run this nohup script with some other to take control.
Process is stopped then you can not make to come back with fg.
--
Muthu
include trapping of user signal in script with trap and make the background to foreground or run this nohup script with some other to take control.
Process is stopped then you can not make to come back with fg.
--
Muthu
Easy to suggest when don't know about the problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 07:18 PM
01-10-2006 07:18 PM
Re: nohup cannot go in foreground
Example:
# nohup sleep 1000 &
[1] 20954
# Sending output to nohup.out
#
# fg 20954
#
# fg 20954
sh: fg: The specified job does not exist.
--
Muthu
# nohup sleep 1000 &
[1] 20954
# Sending output to nohup.out
#
# fg 20954
# fg 20954
sh: fg: The specified job does not exist.
--
Muthu
Easy to suggest when don't know about the problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 01:43 AM
01-11-2006 01:43 AM
Re: nohup cannot go in foreground
Once you logout, the process is no longer associated with an interactive shell. Notice the PPID changes to 1 when you look at the process with ps. Offhand, I don't know of a way to regain control of the process once this has occurred. It may not be possible.
--
Jeff Traigle
Jeff Traigle
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