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!

Small Bug in updatehorde (update-horde)

Discussion in 'General Discussion' started by crosswinds, Dec 30, 2009.

  1. crosswinds

    crosswinds Member

    Joined:
    Jul 15, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Not sure where to submit this so please correct me.

    This is present in these versions:

    1) cPanel 11.25.0-C42399 - WHM 11.25.0 - X 3.9
    FREEBSD 6.2 i386 standard on cwpro1

    2) cPanel 11.25.0-C40255 - WHM 11.25.0 - X 3.9
    FREEBSD 6.2 i386 standard on cwpro2

    I updated the first (1) yesterday on a system that uses a remote mysql host.

    In the /usr/local/cpanel/bin/update-horde (and updatehorde) line 50 reads:

    my $mysql_host = qx(grep ^host /root/.my.cnf | sed 's/\"//g' | awk -F= '{ print $2 }');

    The $2 in the awk needs to be escaped giving:

    my $mysql_host = qx(grep ^host /root/.my.cnf | sed 's/\"//g' | awk -F= '{ print \$2 }');


    If not escaped, the host name includes "host=" which breaks the mysql connection.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    9
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Thank you for the information. At the moment I'm not able to reproduce the issue, but if a ticket is submitted we can assist in verifying the symptoms on the affected server and escalate the issue as needed. For suspected bugs please submit a support request; using this method we are able to more efficiently investigate and track each case and this also helps ensure speedier resolution. When available, please PM me the ticket ID number so I may follow-up internally.
     
    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