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.

cPaddons broken

Discussion in 'cPanel Developers' started by ezrj45.com, Sep 10, 2007.

  1. ezrj45.com

    ezrj45.com Member

    Joined:
    Mar 31, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    Whats in the error log?

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

    ezrj45.com Member

    Joined:
    Mar 31, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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. ezrj45.com

    ezrj45.com Member

    Joined:
    Mar 31, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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::DataStore]: Could not open() file '/home/jeffe/.cpaddons/cPanel::Bulletin_Boards::phpBB.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::DataStore', 1) called at /usr/local/cpanel/Cpanel/DataStore.pm line 91
    eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 49
    Cpanel::DataStore::load_ref('/home/jeffe/.cpaddons/cPanel::Bulletin_Boards::phpBB.0.yaml', 'HASH(0x97c5114)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 3342
    Cpanel::cPAddons::_read_cache('/home/jeffe/.cpaddons/cPanel::Bulletin_Boards::phpBB.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. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    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. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    I see, cpanel does not use apache so it'd never be in there :)

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

    chown jeffe:jeffe /home/jeffe/.cpaddons/cPanel::Bulletin_Boards:hpBB.0.yaml
     
  7. ezrj45.com

    ezrj45.com Member

    Joined:
    Mar 31, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Fixed

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

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    no problem :) The condition that caused that was fixed a long time ago, shouldn't happen again :)
     
Loading...
Similar Threads - cPaddons broken
  1. JetfireMike
    Replies:
    1
    Views:
    145

Share This Page