The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with perlinstaller

Discussion in 'General Discussion' started by Avg-Joe, Jun 25, 2005.

  1. Avg-Joe

    Avg-Joe Member

    Joined:
    Mar 28, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I keep getting this meesage anytime I try to install a new perl script:

    Code:
    spawn /scripts/perlinstaller HTML::Template
    Testing connection speed...(this could take a while)....Done
    Ran out of working CPAN mirrors.  Please contact cPanel Support at /scripts/cPanelPerl.pm line 209.
    It's almost like i'm not connecting out at all. what can i do about this?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to clean out the cpanel cpan settings:

    rm -Rf /root/.cpcpan

    Then try again.
     
  3. Avg-Joe

    Avg-Joe Member

    Joined:
    Mar 28, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Did that. now getting

    Code:
    spawn /scripts/perlinstaller HTML::Template
    Fetching CPAN mirrors...Done
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)..................................................................................................................................................Done
    Ping:6.121 Testing connection speed to cpan.erlbaum.net using wget...Warning: removing bad mirror cpan.erlbaum.net from url list
    test failed...Done
    Ping:21.266 Testing connection speed to ftp.sedl.org using wget...Warning: removing bad mirror ftp.sedl.org from url list
    test failed...Done
    Ping:30.851 Testing connection speed to www.theshell.com using wget...Warning: removing bad mirror www.theshell.com from url list
    test failed...Done
    Ping:30.944 Testing connection speed to cpan.mirrors.redwire.net using wget...Warning: removing bad mirror cpan.mirrors.redwire.net from url list
    test failed...Done
    
    About 30 more ping errors editted out for length...
    
    Ping:1000 Testing connection speed to ftp.uos.ac.kr using wget...Warning: removing bad mirror ftp.uos.ac.kr from url list
    test failed...Done
    Ping:1000 Testing connection speed to cpan.waldonet.net.mt using wget...Warning: removing bad mirror cpan.waldonet.net.mt from url list
    test failed...Done
    Ran out of working CPAN mirrors.  Please contact cPanel Support at /scripts/cPanelPerl.pm line 209.
    Basically, the same error as before only longer. any ideas?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That suggests that your not getting any local DNS resolution on the server. If you try a dig locally on any of those, does it fail to resolve?

    dig cpan.erlbaum.net

    If you have your own server as the main resolver in /etc/resolv.conf you should check that DNS is up and running and functioning correctly. Once it is working, if that's the problem, you may need to repeat the step in my previous post.
     
  5. Avg-Joe

    Avg-Joe Member

    Joined:
    Mar 28, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    The dig comes up positive. Resolves without error. Ran through the cpan again. still errors out. Ran upcp and it also gave the same errors on ping.

    /etc/resolv.conf appears to be set up correctly, so I'm at a loss here.
     
  6. Avg-Joe

    Avg-Joe Member

    Joined:
    Mar 28, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    ANy Ideas here? This error is recurring and I can't find any reason for the problem,
     
  7. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    Can you ping hostnames? Maybe the firewall is blocking your connections?
     
  8. Avg-Joe

    Avg-Joe Member

    Joined:
    Mar 28, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Ping goes through. I'm not understanding the nature of this problem at all. I need to install perl scripts, but keep hitting this wall.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just a guess, you haven't chmod 000 /usr/bin/wget have you?
     
  10. Avg-Joe

    Avg-Joe Member

    Joined:
    Mar 28, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I haven't personally, but it is set to 000... what should it be set to?

    I set it to 700 to run from root, but curious what the best setting should be? I was able to get the perl script installed (finally!)
     
    #10 Avg-Joe, Jun 26, 2005
    Last edited: Jun 26, 2005
  11. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Normally, it should be set to 755. However, if you want to stop users from running it, you'd set it to 700. If it was set to 000, then it would have been set manually by a person or a script. I don't know if rfxnetworks LES might do that, for example.
     
Loading...

Share This Page