LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-20-2010, 07:19 AM   #1
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,446
Blog Entries: 11

Rep: Reputation: 182Reputation: 182
Resume other CPAN process?


Hi folks,

while configuring cpan through o conf init inside the cpan shell my SSH connection went down. After reconnecting cpan comes up with this little thing:
Quote:
There seems to be running another CPAN process (pid 30131). Contacting...
Other job is running.
Shall I try to run in downgraded mode? (Y/n) [y]
Now i could just kill the other process but wonder if its possible to just resume the cpan process?
 
Old 10-21-2010, 05:30 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
you'd have to swap out it's controlling tty (which is possible but not easily done). In the future if you run it in screen then all you'd need to do is reattach to the running screen
 
Old 10-26-2010, 03:32 PM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,446
Blog Entries: 11

Original Poster
Rep: Reputation: 182Reputation: 182
Thanks for the reply.

Can you tell how "swap the tty" works? or any links to dig me in?

Cheers Zhjim
 
Old 10-27-2010, 05:11 AM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
http://etbe.coker.com.au/2008/02/27/...nning-process/

http://pasky.or.cz/~pasky/dev/retty/

There was a third one that had a really good discussion on the topic and even a program similar to retty but I can't seem to find that link (thought I had it bookmarked, if I find it I'll post it here)
 
1 members found this post helpful.
Old 10-27-2010, 06:32 AM   #5
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,446
Blog Entries: 11

Original Poster
Rep: Reputation: 182Reputation: 182
Thank you estabroo.
This'll hopefully get me to understand tty and alike a bit more.
 
  


Reply

Tags
cpan, process, resume


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to resume a process via any terminal mohit_parihar Linux - General 2 01-27-2010 03:17 AM
how to resume a process via any terminal in linux mohit_parihar Linux - General 2 01-26-2010 11:32 PM
process stop and resume. bruse Linux - Newbie 2 01-24-2006 07:14 AM
pause/resume an ssh make or other process linuxhippy Slackware 4 09-01-2005 05:03 AM
How to resume a remote process? J_Szucs Linux - Newbie 1 10-08-2002 10:16 AM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration