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.

CPAN build and cache directory called "no" created under /home

Discussion in 'General Discussion' started by gkgcpanel, Feb 12, 2010.

  1. gkgcpanel

    gkgcpanel Well-Known Member

    Joined:
    Jun 6, 2007
    Messages:
    217
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Recently built and installed a new cPanel server. Noticed today that there is a directory called "no" under the /home partition...

    /home/no

    Inside it, is a Metadata file and a sources/ directory.
    Inside the sources/ directory is:
    authors/
    MIRRORED.BY
    modules/

    Inside authors/ is a 01mailrc.txt file
    Inside modules/ are: 01packages.details.txt and 03modlist.data

    Doing some research, I found that this is part of the CPAN build and cache directory that is created while cPanel is being installed.

    So, I went back to /var/log/cpanel-thread0.log and searched for /home/no

    First of all, I'd like to create this directory. Where?

    CPAN build and cache directory? [/root/.cpan] no
    The path 'no' is not an absolute path. Please specify an absolute path
    CPAN build and cache directory? [/home/no]

    Looks like the system should have simply sent an ENTER for the default /root/.cpan directory, and instead sent "no" with an ENTER. The next line then stated that 'no' is not an absolute path and recommended /home/no which is where the install then sent ENTER and that appears to be how /home/no got created.

    Reading further in the log file, I come across this:

    If you're accessing the net via proxies, you can specify them in the
    CPAN configuration or via environment variables. The variable in
    the $CPAN::Config takes precedence.

    Your ftp_proxy?
    Your http_proxy?
    Your no_proxy?
    You have no /home/no/sources/MIRRORED.BY
    I'm trying to fetch one
    LWP not available
    CPAN: Net::FTP loaded ok
    Fetching with Net::FTP:
    ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY

    and finally:

    System call "/usr/bin/wget -O - "ftp://ftp.cise.ufl.edu/pub/mirrors/CPAN/authors/01mailrc.txt.gz" > /home/no/sources/authors/01mailrc.txt"
    returned status 1 (wstat 256)
    Warning: expected file [/home/no/sources/authors/01mailrc.txt.gz] doesn't exist
    Issuing "/usr/bin/ftp -n"

    Trying 128.227.176.228...
    usage: user username [password] [account]
    Local directory now /home/no/sources/authors

    Please login with USER and PASS
    Please login with USER and PASS
    Please login with USER and PASS
    Please login with USER and PASS
    Please login with USER and PASS
    Please login with USER and PASS
    Passive mode refused.
    Bad luck... Still failed!
    Can't access URL ftp://ftp.cise.ufl.edu/pub/mirrors/C...1mailrc.txt.gz.

    Please check, if the URLs I found in your configuration file
    (ftp://ftp.cise.ufl.edu/pub/mirrors/CPAN/) are valid. The urllist can be
    edited. E.g. with 'o conf urllist push ftp://myurl/'

    Could not fetch authors/01mailrc.txt.gz
    LWP not available
    Fetching with Net::FTP:
    ftp://ftp.cise.ufl.edu/pub/mirrors/C...details.txt.gz
    Couldn't cwd pub/mirrors/CPAN/modules at /usr/lib/perl5/5.8.8/CPAN.pm line 2259, <STDIN> line 33.

    Trying with "/usr/bin/wget -O -" to get
    ftp://ftp.cise.ufl.edu/pub/mirrors/C...details.txt.gz
    --2009-12-16 09:36:45-- ftp://ftp.cise.ufl.edu/pub/mirrors/C...details.txt.gz
    => `-'
    Resolving ftp.cise.ufl.edu... 128.227.176.227, 128.227.176.228, 128.227.176.226
    Connecting to ftp.cise.ufl.edu|128.227.176.227|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /pub/mirrors/CPAN/modules ...
    No such directory `pub/mirrors/CPAN/modules'.


    System call "/usr/bin/wget -O - "ftp://ftp.cise.ufl.edu/pub/mirrors/CPAN/modules/02packages.details.txt.gz" > /home/no/sources/modules/02packages.details.txt"
    Method: System Expect
    spawn /scripts/realperlinstaller IO::Tty Expect YAML::Syck
    commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm
    CPAN: Storable loaded ok
    LWP not available
    LWP not available
    LWP not available

    Trying with "/usr/bin/wget -O -" to get
    http://mirror.candidhosting.com/pub/...1mailrc.txt.gz
    --2009-12-16 09:37:03-- http://mirror.candidhosting.com/pub/...1mailrc.txt.gz
    Resolving mirror.candidhosting.com... 66.230.217.253
    Connecting to mirror.candidhosting.com|66.230.217.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 163281 (159K) [application/x-gzip]
    Saving to: `STDOUT'

    2009-12-16 09:37:03 (632 KB/s) - `-' saved [163281/163281]


    Going to read /home/.cpan/sources/authors/01mailrc.txt.gz

    Trying with "/usr/bin/wget -O -" to get
    http://mirror.candidhosting.com/pub/...details.txt.gz
    --2009-12-16 09:37:04-- http://mirror.candidhosting.com/pub/...details.txt.gz
    Resolving mirror.candidhosting.com... 66.230.217.253
    Connecting to mirror.candidhosting.com|66.230.217.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 842704 (823K) [application/x-gzip]
    Saving to: `STDOUT'

    That explains the 3 files (MIRRORED.BY, 01mailrc.txt and 02packages.details.txt)

    Now, finally for my question :)

    Is it ok to remove this no directory from the /home partition? I assume so, but just want to make sure.

    Thank You,
    Peter Elsner
     
    #1 gkgcpanel, Feb 12, 2010
    Last edited by a moderator: Feb 12, 2010
  2. gkgcpanel

    gkgcpanel Well-Known Member

    Joined:
    Jun 6, 2007
    Messages:
    217
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Hello???


    BUMP!

    Anyone know the answer here???
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Yes; to the best of my knowledge it should be safe to remove the specified directory path of the CPAN build directory.

    Given the reported details I believe the issue should be escalated via a support request; if a bug is suspected please note that the best avenue to report it is via our ticket system, such as by using the link in the top-right corner of the forums, labeled Bugs; using this method helps to ensure greater efficiency, accuracy in diagnosis, full and in-depth investigation and faster resolution. Thank you for your understanding.
     
    #3 cPanelDon, Feb 17, 2010
    Last edited: Feb 17, 2010
  4. regx

    regx Registered

    Joined:
    Jan 29, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have the same issue.
    Did you rm the /home/no dir and did that cause any issues for you?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Did this happen recently, or has that directory existed for a while?

    To reiterate what cPanelDon mentioned, it should be safe to remove the specified directory path of the CPAN build directory. That being said, blindly removing a directory is rarely recommended. I suggest browsing into the directory and ensuring it is in-fact the CPAN build directory before removing it.

    Thank you.
     
Loading...

Share This Page