Results 1 to 8 of 8

Thread: Error when trying to register cPanel plugin

  1. #1
    Member
    Join Date
    Apr 2008
    Location
    Seattle, WA
    Posts
    16
    cPanel/WHM Access Level

    Root Administrator

    Default Error when trying to register cPanel plugin

    Registering this same plugin works on another box, so obviously something is amiss here. I've tried running /scripts/checkperlmodules --force and even reinstalling Perl but to no avail.

    Server is running CentOS 6.0 on Xen with cPanel 11.30.2


    [2011-09-01 19:48:53 +0000] die [Internal Death while parsing [stdin] 4018] open3: exec of file - failed at /usr/local/cpanel/bin/register_cpanelplugin line 33
    at /usr/local/lib/perl5/5.8.8/IPC/Open3.pm line 246
    IPC::Open3::_open3('open3', 'main', 'GLOB(0x202e9e0)', 'GLOB(0x202ea00)', '>&STDERR', 'file', '-') called at /usr/local/lib/perl5/5.8.8/IPC/Open3.pm line 307
    IPC::Open3:pen3('GLOB(0x202e9e0)', 'GLOB(0x202ea00)', '>&STDERR', 'file', '-') called at /usr/local/cpanel/bin/register_cpanelplugin line 33


    open3: exec of file - failed at /usr/local/cpanel/bin/register_cpanelplugin line 33
    [2011-09-01 19:48:53 +0000] die [Internal Death while parsing [stdin] 4017] Invalid image ([a fatal error or timeout occurred while processing this directive]
    ) in cpaddonsfile at /usr/local/cpanel/bin/register_cpanelplugin line 40.
    at /usr/local/cpanel/bin/register_cpanelplugin line 40


    [a fatal error or timeout occurred while processing this directive]
    Invalid image ([a fatal error or timeout occurred while processing this directive]
    ) in cpaddonsfile at /usr/local/cpanel/bin/register_cpanelplugin line 40.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Error when trying to register cPanel plugin

    For the other box where this is working, is it running CentOS 5 instead? I am just trying to rule out whether this is related to using CentOS 6 or not.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Apr 2008
    Location
    Seattle, WA
    Posts
    16
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Error when trying to register cPanel plugin

    Yes, actually, it is CentOS 5. I suspected it might be related which is why I specifically mentioned that. Both boxes are 64 bit.

  4. #4
    Member MattDees's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default Re: Error when trying to register cPanel plugin

    Please try renerating the file. What image format did you use when creating the cpanelplugin file?
    Matt Dees

  5. #5
    Member
    Join Date
    Apr 2008
    Location
    Seattle, WA
    Posts
    16
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Error when trying to register cPanel plugin

    I actually did try regenerating the file. I don't remember what it was on the original plugin file but I know this time it was a PNG. Shall I try a JPG? I would also be willing to send you the plugin file if that would be helpful.

  6. #6
    Member MattDees's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default Re: Error when trying to register cPanel plugin

    That would be really helpful. Also having the source image you used would be handy.

    If you want you can open a ticket w/ "ATTN: Matt Dees" in the subject line at tickets.cpanel.net/submit

    If you do it after business hours today, I probably won't get to it until tuesday.
    Matt Dees

  7. #7
    Member
    Join Date
    Apr 2008
    Location
    Seattle, WA
    Posts
    16
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Error when trying to register cPanel plugin

    Putting the Relevant files here.
    Attached Files Attached Files

  8. #8
    cPanel Support Manager
    Join Date
    Dec 2010
    Location
    Texas
    Posts
    99
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Error when trying to register cPanel plugin

    brainyron, it sounds like you're missing the "file" rpm.

    Code:
    open3: exec of file - failed at
    Is the "file" rpm installed?

    Code:
    rpm -q file
    This rpm/binary is required by /usr/local/cpanel/bin/register_cpanelplugin. Installing that rpm should then take care of this for you.

    Code:
    yum install file
    This rpm should have been installed by default on a minimal CentOS install; although I have seen some CentOS 6 installations lack this RPM for yet to be determined reasons. A case had since been filed on this matter (Case 51199) to have cPanel ensure this RPM is installed for you just in case your CentOS install lacked it. That's planned for 11.32. But, as mentioned, it's just a matter of installing the missing RPM manually in the interim.

Similar Threads

  1. Getting Error During Adding WHM Plugin
    By madihrb in forum cPanel Developers
    Replies: 8
    Last Post: 06-22-2009, 09:56 AM
  2. cPanel PHP Register Globals
    By Kent Brockman in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 06-30-2008, 06:18 PM
  3. cPanel Plugin cURL Error
    By xrserver in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 04-11-2008, 10:58 AM
  4. Horde error due to Jonah Plugin
    By rligg in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-17-2008, 03:15 PM