Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    2

    Default ?1.1GB /home/.cpan

    Have a case where 1.1GB is consumed by /home/.cpan
    Read this thread and this one that says it can be deleted with out any issues.

    I know cpan is used by perl. How do I know if this is actively used by cpanel or if it can be deleted. It is consuming alot of disk space.

    Tia.

    cPanel 11.25.0-R46156 - WHM 11.25.0 - X 3.9
    FEDORA 4 i686 vmware
    Last edited by harman; 06-10-2010 at 01:43 AM.

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default It is safe to move

    It is safe to move /home/.cpan. I recommend moving it, not deleting it, until you are sure you no longer need it.

    After moving/renaming /home/.cpan, I recommend running the following commands:

    Code:
    # perl -MCPAN -e shell
    cpan> install Bundle::CPAN
    cpan> reload index
    cpan> reload cpan
    cpan> exit
    # /scripts/checkperlmodules --full
    This will make sure that all the sources that CPAN needs are present and up to date, and also that all Perl modules that cPanel needs are installed.

    The CPAN sources should be fetched anyway when checkperlmodules runs, such as during a regular cPanel update, but following this procedure will let you make sure it completes and no problems are detected.

    Once this is finished, it should be safe to remove the old /home/.cpan that you renamed before you started the above procedure.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    2

    Thumbs up moved /home/.cpan

    So Did the following Steps:

    # du -ahx --max-depth=1 /home -ahx --max-depth=1
    # mv /home/.cpan /home/.cpanold
    # perl -MCPAN -e shell
    cpan> install Bundle::CPAN
    cpan> reload index
    cpan> reload cpan
    cpan> exit
    # /scripts/checkperlmodules --full
    # du -ahx --max-depth=1 /home -ahx --max-depth=1

    /home/.cpanold = 1.1 gb
    /home/.cpan = 24 mb

    24 mb instead of 1.1 gb sounds better to me. Thanks for your help. I will delete the old one once updater runs a couple times.
    Last edited by harman; 06-10-2010 at 08:39 PM.

  4. #4
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    You are very welcome. That is indeed a very big size difference. I am glad I was able to help.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. what is the .cpan and .cpcpan inside the /home
    By golden_eyes in forum Optimization
    Replies: 3
    Last Post: 04-22-2011, 01:56 PM
  2. /home/.cpan/ fills up with garbage
    By sehh in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-30-2007, 10:13 AM
  3. checksum file '/home/.cpan/sources/authors/id/D/DC/DCONWAY/CHECKSUMS' broken
    By thehostinghut in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 11-18-2006, 11:32 PM
  4. What is /home/dot-cpan-060422
    By ladydi711 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-10-2006, 08:28 AM
  5. What's .cpan in the home directory for?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-04-2004, 08:41 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube