Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / August 2005



Tip: Looking for answers? Try searching our database.

Can't Run CPAN

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lola Lee - 31 Aug 2005 12:01 GMT
For some reason, when I try to do "sudo cpan", it won't start up, and
generates this following message:

Terminal does not support AddHistory.
CPAN.pm panic: Lockfile /Users/lolajl/.cpan/.lock
reports other host TsarskoeSelo.local and other process 20574.
Cannot proceed.

Looking in Activity Monitor, I don't see process 20574.  Tried shutting
down and starting my computer up again but this doesn't do the trick.
What's causing this?

Signature

Lola - mailto:lola@his.com
http://www.lolajl.net | Blog at http://www.lolajl.net/blog/
Freedom is not free.
I'm in Bowie, MD, USA, halfway between DC and Annapolis.

Lola Lee - 31 Aug 2005 12:31 GMT
> For some reason, when I try to do "sudo cpan", it won't start up, and
> generates this following message:

Well . . . I figured it out - removed .lock and all is back to normal.
I'd like to know why this happened, though.

Signature

Lola - mailto:lola@his.com
http://www.lolajl.net | Blog at http://www.lolajl.net/blog/
Freedom is not free.
I'm in Bowie, MD, USA, halfway between DC and Annapolis.

Daniel T. Staal - 31 Aug 2005 14:31 GMT
>> For some reason, when I try to do "sudo cpan", it won't start up, and
>> generates this following message:
>
> Well . . . I figured it out - removed .lock and all is back to normal.
> I'd like to know why this happened, though.

Sounds like CPAN was (previously) started and not closed correctly.  The
.lock file was so that you don't accidentally run two copies at the same
time.  The message gives enough information for you to check if CPAN is
currently running.

So, the expected thing for you to do is to check if CPAN is running, and
if it isn't, remove the .lock file and run CPAN.  Which you did.  ;)

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.