Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Changing domain extension via modify account issue

Discussion in 'General Discussion' started by snakes1100, Oct 20, 2018.

  1. snakes1100

    snakes1100 Member

    Joined:
    Jul 23, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    Customer has whm/cpanel - Removed -

    WHM Version: CENTOS 7.5 [xxxxx] v76.0.0

    Modify Account - Change domain from .tv to .org fails with error below.


    Error: API failure: Undefined subroutine &Cpanel::Services::Available::ensure_mysql_if_expected called at /usr/local/cpanel/Whostmgr/Accounts/Modify.pm line 349.

    This file doesnt even exist on the server.


    [root@xxxxxxxx public]# locate Modify.pm
    /usr/local/cpanel/Cpanel/FileUtils/Modify.pm
    /usr/local/cpanel/Cpanel/Homedir/Modify.pm
    /usr/local/cpanel/Cpanel/Locale/Utils/User/Modify.pm
    /usr/local/cpanel/Cpanel/MysqlUtils/MyCnf/Modify.pm
    /usr/local/cpanel/Cpanel/Security/Authn/User/Modify.pm
    /usr/local/cpanel/Cpanel/Session/Modify.pm
    /usr/local/cpanel/Cpanel/Sys/Hostname/Modify.pm

    I verified that file dont exist on a few servers i manage for them all running 76.0.0
     
    #1 snakes1100, Oct 20, 2018
    Last edited by a moderator: Oct 20, 2018
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    441
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    cPanel 76.0.0 is still only in Edge/Current (a Release Candidate), so there may still be some bugs in it.

    You would probably do cPanel and yourself a favour, and open a support ticket with them so that the cPanel development team can see if there is a bug that need fixing, and solve your issue at the same time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. snakes1100

    snakes1100 Member

    Joined:
    Jul 23, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    Im guessing you didnt read my post fully, if you go back & read my post, you'd know that this is a - Removed - server, not mine.
     
    #3 snakes1100, Oct 20, 2018
    Last edited by a moderator: Oct 20, 2018
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    441
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    The provider of the server would seem to be irrelevant in this case.

    I don't understand why you are reluctant to reach out to cPanel support ? If you are not prepared/able to do so, ask your client to.

    Irrespective of who provides the server - and since you say you manage "a few servers for them" (whoever "them" is), if you are acting on behalf of either your client as a server administrator, or the server provider itself; either ask the server provider for support, or go directly to cPanel support.

    And my observations regarding the cPanel version still stand.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 rpvw, Oct 20, 2018
    Last edited: Oct 20, 2018
  5. Glenndilen

    Glenndilen Registered

    Joined:
    Oct 22, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    England
    cPanel Access Level:
    Root Administrator
    I'm having this same issue on v76.0.0 RC.

    Error: API failure: Undefined subroutine &Cpanel::Services::Available::ensure_mysql_if_expected called at /usr/local/cpanel/Whostmgr/Accounts/Modify.pm line 349.

    Cannot modify any accounts on this WHM installation. Changing any information requires creating a new account, and copying data over manually as a workaround for the time being.

    We are looking into API logs and a patch for the time being. If anyone else has any information, would be appreciated.
    As soon as a fix is found, I'll post here.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,733
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Glenndilen


    First I want to note that is a Perl module you should not expect to find that specific file. The issue isn't actually with that file it's with:
    Code:
    Undefined subroutine &Cpanel::Services::Available::ensure_mysql_if_expected
    Can you show me the API you're running as well as the full error?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice