Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    150

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

    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
    Last edited by Infopro; 02-12-2010 at 03:19 PM.

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    150

    Default Hello???

    Quote Originally Posted by gkgcpanel View Post
    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

    BUMP!

    Anyone know the answer here???

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by gkgcpanel View Post
    Is it ok to remove this no directory from the /home partition? I assume so, but just want to make sure.
    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.
    Last edited by cPanelDon; 02-17-2010 at 06:03 PM. Reason: Clarification regarding the CPAN directory path

  4. #4
    Registered User
    Join Date
    Jan 2004
    Posts
    3

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

    I have the same issue.
    Did you rm the /home/no dir and did that cause any issues for you?

  5. #5
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

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

    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.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 06-10-2011, 12:41 PM
  2. Add web path for "Restore a Home Directory Backup"?
    By greektranslator in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-05-2011, 01:35 PM
  3. "home directory" backup = 0 bytes
    By headout in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-22-2009, 12:03 AM
  4. how to access "home directory"?
    By fuldfk in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 01-26-2005, 05:11 AM
  5. CPanel/WHM Problem: "Home directory not available"
    By intelliot in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2004, 10:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube