Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    5

    Exclamation cPaddons broken

    Recently I discovered the cPaddons on my WHM no longer work.
    I'm running WHM 11.2.0, cPanel 11.11.0-C16908, with perl 5.8.8.
    When I click on the link to upgrade, uninstall, or install a script is sits at
    "This is a cPanel packaged module. (v0.2)", and nothing ever happens no matter how long I wait. This occurs with both user, and root accounts. I've checked to make sure moderation is not active. Can anyone offer some insight?

  2. #2
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    698

    Default

    Quote Originally Posted by ezrj45.com View Post
    Recently I discovered the cPaddons on my WHM no longer work.
    I'm running WHM 11.2.0, cPanel 11.11.0-C16908, with perl 5.8.8.
    When I click on the link to upgrade, uninstall, or install a script is sits at
    "This is a cPanel packaged module. (v0.2)", and nothing ever happens no matter how long I wait. This occurs with both user, and root accounts. I've checked to make sure moderation is not active. Can anyone offer some insight?
    Whats in the error log?

    Feel free to create a ticket and post its ID here so I can take a look.

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    5

    Default cPaddons broken

    I'm not seeing any error messages in error_log.
    I just noticed that when I do an rpm -q perl, it shows perl-5.8.5-16.RHEL4.
    I'm not 100% confident perl is the issue, but I noticed the problem shortly after upgrading to 5.8.8.

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    5

    Default error log

    Here is a copy of what shows up in the error log when I try to install a new addon as a user.
    Previously I was looking in the apache error_log.
    The error messages are the same regardless if I'm using root, or the user.

    Mon Sep 10 13:40:51 2007 die [Cpanel:ataStore]: Could not open() file '/home/jeffe/.cpaddons/cPanel::Bulletin_Boards:hpBB.0.yaml' for reading: Permission denied at /usr/local/cpanel/Cpanel/Logger.pm line 35
    Cpanel::Logger::cplog('Could not open() file \'/home/jeffe/.cpaddons/cPanel::Bulletin_B...', 'die', 'Cpanel:ataStore', 1) called at /usr/local/cpanel/Cpanel/DataStore.pm line 91
    eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 49
    Cpanel:ataStore::load_ref('/home/jeffe/.cpaddons/cPanel::Bulletin_Boards:hpBB.0.yaml', 'HASH(0x97c5114)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 3342
    Cpanel::cPAddons::_read_cache('/home/jeffe/.cpaddons/cPanel::Bulletin_Boards:hpBB.0', 'HASH(0x97c5114)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 819
    Cpanel::cPAddons::_handlemod(1, 'cPanel::CMS::Mambo', '3900ad70a104928a4ecdb43fa837e2cc', 'HASH(0x8f84c08)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 333
    Cpanel::cPAddons::cPAddons_mainpg('HASH(0x8f84c08)') called at (eval 31) line 1
    eval 'Cpanel::cPAddons::cPAddons_mainpg(@{$argref});' called at cpanel.pl line 1353
    main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 4376
    main::dotag(undef) called at cpanel.pl line 4265
    main::cpanel_parseblock('SCALAR(0x8f8b7e4)') called at cpanel.pl line 4219
    main::cpanel_parse('GLOB(0x91ae3d8)') called at cpanel.pl line 1043

  5. #5
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    698

    Default

    Quote Originally Posted by ezrj45.com View Post
    I'm not seeing any error messages in error_log.
    I just noticed that when I do an rpm -q perl, it shows perl-5.8.5-16.RHEL4.
    I'm not 100% confident perl is the issue, but I noticed the problem shortly after upgrading to 5.8.8.
    Interesting, please create a ticket and post its ID here so I can take a look. I'm unable to reproduce it.

    http://support.cpanel.net/

    thanks

  6. #6
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    698

    Default

    Quote Originally Posted by ezrj45.com View Post
    Here is a copy of what shows up in the error log when I try to install a new addon as a user.
    Previously I was looking in the apache error_log.
    I see, cpanel does not use apache so it'd never be in there

    Itd be in :
    /usr/local/cpanel/logs/error_log

    Quote Originally Posted by ezrj45.com View Post

    Mon Sep 10 13:40:51 2007 die [Cpanel:ataStore]: Could not open() file '/home/jeffe/.cpaddons/cPanel::Bulletin_Boards:hpBB.0.yaml' for reading: Permission denied at /usr/local/cpanel/Cpanel/Logger.pm line 35
    chown jeffe:jeffe /home/jeffe/.cpaddons/cPanel::Bulletin_Boards:hpBB.0.yaml

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    5

    Default Fixed

    That fixed it. Every one of my users have root:root ownership of the files in ~/.cpaddons/.
    Thank you for your help.

  8. #8
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    698

    Default

    Quote Originally Posted by ezrj45.com View Post
    That fixed it. Every one of my users have root:root ownership of the files in ~/.cpaddons/.
    Thank you for your help.
    no problem The condition that caused that was fixed a long time ago, shouldn't happen again

Similar Threads & Tags
Similar threads

  1. no cpaddons
    By nikgup14 in forum New User Questions
    Replies: 2
    Last Post: 09-20-2009, 05:04 PM
  2. cpAddons - Where do I start?
    By nickp666 in forum cPanel Developers
    Replies: 7
    Last Post: 10-04-2008, 11:03 AM
  3. cPaddons
    By nickn in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-21-2006, 03:57 PM
  4. cpaddons missing again
    By chris74108 in forum cPanel Developers
    Replies: 0
    Last Post: 09-21-2006, 10:52 AM
  5. Unjailing users is broken & results in broken FTP
    By sexy_guy in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-29-2003, 02:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube