Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Nov 2005
    Location
    Nottingham UK
    Posts
    2

    Default cpaddons won't work anymore - is there a fix?

    I've tried to find the answer to this problem here but simple can't see it.

    When I go into Scripts Library I see ...

    [a fatal error or timeout occurred while processing this directive]

    And the same error when I pick on the scripts to install...

    [a fatal error or timeout occurred while processing this directive]
    cPAddon cPanel::CMS::Mambo

    This is a cPanel packaged module. (v0.2)

    Website http://www.mamboserver.com/

    It's the same error whatever module you choose.

    I am using 10.9.1-STABLE 14304

    My error log says ...

    (internal death) Sun Jul 1 10:56:56 2007 [6257] error: Can't locate File/Touch.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/cpaddons /usr/local/cpanel/perl /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/FileUtils.pm line 33, <THEMELANGFD> line 1084.
    eval {...} called at /usr/local/cpanel/Cpanel/FileUtils.pm line 33
    Cpanel::FileUtils::touchfile('/var/cpanel/cpaddons_moderated.yaml') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 2577
    Cpanel::cPAddons::_write_this('/var/cpanel/cpaddons_moderated.yaml', 'HASH(0x91e85e8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 2571
    Cpanel::cPAddons::_write_cache('/var/cpanel/cpaddons_moderated', 'HASH(0x91e85e8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 2528
    Cpanel::cPAddons::_read_cache('/var/cpanel/cpaddons_moderated', 'HASH(0x90413e4)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 79
    Cpanel::cPAddons::cPAddons_init() called at (eval 23) line 1
    eval 'Cpanel::cPAddons::cPAddons_init();' called at cpanel.pl line 3597
    main::modloader('cPAddons') called at /usr/local/cpanel/Cpanel.pm line 241
    Cpanel::loadmodule('cPAddons') called at cpanel.pl line 540
    main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 3496
    main::dotag(undef) called at cpanel.pl line 3410
    main:arsehtml('GLOB(0x8ef99a8)') called at cpanel.pl line 355
    touch: cannot touch `/var/cpanel/cpaddons_moderated.yaml': Permission denied
    Sun Jul 1 10:56:56 2007 warn [Cpanel:ataStore]: Could not open() file '/var/cpanel/cpaddons_moderated.yaml' for writing: Permission denied
    Sun Jul 1 10:56:56 2007 warn [Cpanel:ataStore]: at /usr/local/cpanel/Cpanel/DataStore.pm line 26
    Cpanel:ataStore::store_ref('/var/cpanel/cpaddons_moderated.yaml', 'HASH(0x91e85e8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 2579
    Cpanel::cPAddons::_write_this('/var/cpanel/cpaddons_moderated.yaml', 'HASH(0x91e85e8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 2571
    Cpanel::cPAddons::_write_cache('/var/cpanel/cpaddons_moderated', 'HASH(0x91e85e8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 2528
    Cpanel::cPAddons::_read_cache('/var/cpanel/cpaddons_moderated', 'HASH(0x90413e4)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 79
    Cpanel::cPAddons::cPAddons_init() called at (eval 23) line 1
    eval 'Cpanel::cPAddons::cPAddons_init();' called at cpanel.pl line 3597
    main::modloader('cPAddons') called at /usr/local/cpanel/Cpanel.pm line 241
    Cpanel::loadmodule('cPAddons') called at cpanel.pl line 540
    main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 3496
    main::dotag(undef) called at cpanel.pl line 3410
    main:arsehtml('GLOB(0x8ef99a8)') called at cpanel.pl line 355
    Sun Jul 1 10:56:56 2007 warn [cPAddons]: couldn't make missing yaml out of store
    Sun Jul 1 10:56:56 2007 warn [cPAddons]: at /usr/local/cpanel/Cpanel/cPAddons.pm line 2530
    Cpanel::cPAddons::_read_cache('/var/cpanel/cpaddons_moderated', 'HASH(0x90413e4)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 79
    Cpanel::cPAddons::cPAddons_init() called at (eval 23) line 1
    eval 'Cpanel::cPAddons::cPAddons_init();' called at cpanel.pl line 3597
    main::modloader('cPAddons') called at /usr/local/cpanel/Cpanel.pm line 241
    Cpanel::loadmodule('cPAddons') called at cpanel.pl line 540
    main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 3496
    main::dotag(undef) called at cpanel.pl line 3410
    main:arsehtml('GLOB(0x8ef99a8)') called at cpanel.pl line 355

    Would really appreciate some help.

    Kind regards

    Karl

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    install perl module File::Touch

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

    Default same problem

    I'm having the same problem. File::Touch is installed according to whm and according to the shell check for it. I have version .02 installed:

    File::Touch is up to date (0.02).

    Also, my log looks the same. Why is INC looking in 5.6.2 directories when it should be looking in my 5.8.8 directory? Right?

    /usr/lib/perl5/site_perl/5.6.2 has a CORE file and no perl modules, but File::Touch is in /usr/lib/perl5/site_perl/5.8.8

    Do I just remove the 5.6.2 directory and try again? I also have 5.8.0 and 5.8.4 directories, though those have File in them as well. I'm assuming I don't need any of these old directories and I can keep my 5.8.8 directory but would like to make sure before I blow them all away. Plus cpanel may still look in the wrong spot after I blow them away. Thoughts on how to fix?

    BTW, I need to load an addon but cannot upgrade cpanel to version 11 for a month at least for other reasons so I'm guessing I need help with a hack or pointed to a script that can recreate INC. I'm using 10.9.0-RELEASE 10737

    Thanks,
    Kevin
    Last edited by triemstr; 07-10-2007 at 01:11 AM.

  4. #4
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    704

    Default

    Have your admin go into WHM -> cPanel -> Manage cPAddons -> Update Moderation

    This will get /var/cpanel/cpaddons_moderated turned into /var/cpanel/cpaddons_moderated.yaml

    Then it won't be trying to touch or yaml-ify a file that it does not have permission to.

    I beleive this situation is detected and avoided in later versions but will check to be sure.

    Thanks!

  5. #5
    Registered User
    Join Date
    Aug 2004
    Posts
    4

    Default

    cpdan, that worked for the most part so thanks a lot for the reply.

    I also had to changed ownership in user directories:

    /home/user/.cpaddons/cPanel::Bulletin_Boards::phpBB.0.yaml

    from root:root to user:user and kept permissions at 600 then it worked.

    Thanks again! You're the man cpdan!

    -Kevin

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

    Default

    Quote Originally Posted by triemstr View Post
    cpdan, that worked for the most part so thanks a lot for the reply.

    I also had to changed ownership in user directories:

    /home/user/.cpaddons/cPanel::Bulletin_Boards::\phpBB.0.yaml

    from root:root to user:user and kept permissions at 600 then it worked.
    I see, that was resolved a while ago a shouldn't happen again.

    Quote Originally Posted by triemstr View Post

    Thanks again! You're the man cpdan!

    -Kevin
    I'm gald it helped Kevin

Similar Threads & Tags
Similar threads

  1. chkservd not work anymore
    By assassin85 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-24-2009, 11:31 AM
  2. Apache failed...won't fix
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-21-2006, 03:56 AM
  3. Host A Entry won't fix
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-17-2005, 04:33 AM
  4. PHPMyAdmin does not work anymore!!!
    By WMS in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-25-2004, 05:33 PM
  5. awstats does not work anymore?
    By GaryW in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-25-2004, 11:05 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube