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!

restartsrv mysql doing things it should not

Discussion in 'cPanel Developers' started by Anoop P Alias, May 20, 2017.

  1. Anoop P Alias

    Anoop P Alias Well-Known Member

    Mar 31, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I am opening this post to report a bug in restartsrv_mysql . The script find out the actual location of mysql socket file and automatically symlink /var/lib/mysql/mysql.sock to the actual mysql socket.

    The problem with this is ,I have integrated the Maxscale proxy router to listen on /var/lib/mysql/mysql.sock for a High available mysql service and whenever restartsrv mysql is called , it will delete the mysql.sock and symlink it to original mysql socket which is unwanted in my case .

    So please open an internal case and modify the restartsrv_mysql script behavior such that the script ignores the socket if it is symlinked to another socket or in short if symlink target exists.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You can submit a bug report using the following URL so we can take a closer look:

    Submit A Bug Report

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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