LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 08:19 AM   #1
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,467
Blog Entries: 11

Rep: Reputation: 184Reputation: 184
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, 06:30 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,095
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, 04:32 PM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,467
Blog Entries: 11

Original Poster
Rep: Reputation: 184Reputation: 184
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, 06:11 AM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,095
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, 07:32 AM   #5
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,467
Blog Entries: 11

Original Poster
Rep: Reputation: 184Reputation: 184
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 04:17 AM
how to resume a process via any terminal in linux mohit_parihar Linux - General 2 01-27-2010 12:32 AM
process stop and resume. bruse Linux - Newbie 2 01-24-2006 08:14 AM
pause/resume an ssh make or other process linuxhippy Slackware 4 09-01-2005 06:03 AM
How to resume a remote process? J_Szucs Linux - Newbie 1 10-08-2002 11:16 AM


All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
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