"There are stopped jobs" When Logging Out [SOLVED]

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post September 30th, 2010, 11:23 am

You would think that in the last couple of years I would have had this problem at least once, right?
No such "luck", this is the first time I've ever received this message when trying to logout of an SSH session.

Code: [ Select ]
$ exit
logout
There are stopped jobs.
  1. $ exit
  2. logout
  3. There are stopped jobs.


The first few discussions I came across suggested using the "jobs" command to get the process id and then use "kill" to get rid of it. I didn't like that idea though.

Some more research, and I discovered that all I need to do is use fg to bring the job back into the foreground (fg, foreground, get it?) where I can shut it down properly and logout. :)
Strong with this one, the sudo is.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 30th, 2010, 11:23 am

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post October 5th, 2010, 2:09 pm

On a related note for those who didn't know, you can launch a program to run in the background by appending a trailing '&' to the command line.

Or, if you've already started it in the foreground, you can sent it to the background by stopping it (ctrl+z) and then typing 'bg' for background.
The Beer Monocle. Classy.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 59 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.