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.

No more custom packages in 11.36?

Discussion in 'General Discussion' started by vs-fam, Mar 12, 2013.

  1. vs-fam

    vs-fam Active Member

    Joined:
    Mar 18, 2010
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    8
    Hi,

    We use Percona MySQL on our servers, however, in cPanel 11.36 update preferences, the option to select what package to update no longer is available, hence cPanel will replace/update everything with its packages.

    Is that the case? No more custom packages?
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Try the following steps.

    1. Run "touch /etc/mysqlupdisable" from SSH as root.

    2. Enter "MYSQLUP=never" to /etc/cpupdate.conf

    If you have cPanel 11.36.0.4 on your server, the above should work ( check for case 63298 in changelog CPanelVersion1136 < AllDocumentation/ChangeLog < TWiki )
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
  4. vs-fam

    vs-fam Active Member

    Joined:
    Mar 18, 2010
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    8
    Those instructions don't work and shouldn't be followed. EasyApache breaks.

    EDIT: Package Percona-Server-devel-55 is needed as well. The instructions does not mention it. That solves EasyApache issue.
     
    #4 vs-fam, Mar 13, 2013
    Last edited: Mar 13, 2013
  5. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    We followed those instructions and worked just fine (replacing MySQL with MariaDB). The only problem we had was actually a bug in MariaDB 5.5.29 that had to do with mysqli library. We fixed the problem by editing
    Code:
    /var/cpanel/easy/apache/rawopts/all_php5
    and add
    Code:
    --with-mysqli=mysqlnd
    , then easyapache worked flawlessly.
     
  6. vs-fam

    vs-fam Active Member

    Joined:
    Mar 18, 2010
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    8
    Well, that doesn't work for Percona.
     
  7. vs-fam

    vs-fam Active Member

    Joined:
    Mar 18, 2010
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    8
    Narrowing it down, EasyApache exits with: checking for mysql_config... not found

    Code:
    checking for mysql_config... not found
    configure: error: Unable to find your mysql installation
    EDIT: In order to have mysql_config, the devel package should be installed. The link provided by cpanelnick does not mention the devel package: Percona-Server-devel-55

    It solves it and EasyApache works
     
    #7 vs-fam, Mar 13, 2013
    Last edited: Mar 13, 2013
  8. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Indeed , that's the case , i forgot to mention it since i didn't think "further" that some people might not know that. I for one always install all packages , example of mariadb:
    Code:
    root@nlsrv1 [~]# rpm -qa|grep MariaDB
    MariaDB-server-5.5.30-1.x86_64
    MariaDB-shared-5.5.30-1.x86_64
    MariaDB-devel-5.5.30-1.x86_64
    MariaDB-common-5.5.30-1.x86_64
    MariaDB-client-5.5.30-1.x86_64
    MariaDB-compat-5.5.30-1.x86_64
    Basically you need to look at what packages you uninstall and then keep in mind to install the same packages from your desired alternative such as Percona or MariaDB.
     
    #8 InterServed, Mar 13, 2013
    Last edited: Mar 13, 2013
  9. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Thank you for bringing the missing -devel package to our attention. I've asked for the article to be updated with that information.
     
  10. cPanelJesse

    cPanelJesse Technical Analyst Manager
    Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    51
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Houston
    cPanel Access Level:
    Root Administrator
    I have updated the blog entry to include the Percona-Server-devel-55 package - in my testing it didn't appear to need this (or installed it automatically) previously.

    Thanks for pointing this out!
     
Loading...

Share This Page