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!

Mysql.service changed on disk

Discussion in 'Database Discussion' started by mdvaldosta, Feb 27, 2017.

Tags:
  1. mdvaldosta

    mdvaldosta Member

    Joined:
    Jul 14, 2016
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Valdosta, GA
    cPanel Access Level:
    Root Administrator
    I recently setup a new cPanel server and after migrating from the pre-installed mysql 5.6 > MariaDB 10.1 I get the following message when restarting mysql:

    mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units:

    Warning: mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units.

    Everything seems to run fine otherwise.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-11262 is scheduled for inclusion with a future build of cPanel 62 and will ensure systemd reloads when adjusting MySQL/Maria's limits.conf file or after upgrading to the system to MariaDB. You can monitor the cPanel 62 Change Log for this case to see when it's included. In the meantime, you should be able to address the issue by manually running the following command:

    Code:
    systemctl daemon-reload
    Note that you will still see the warning message after running this command, but it shouldn't result in any problems. Once the case is released, this warning message should no longer appear.

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

    mdvaldosta Member

    Joined:
    Jul 14, 2016
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Valdosta, GA
    cPanel Access Level:
    Root Administrator
    Perfect answer. Thanks.
     
    cPanelMichael likes this.
  4. succinctapps

    succinctapps Registered

    Joined:
    Jun 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Just ran into the same problem.

    Upgraded from MySQL 5.6 all the way to MariaDB 10.2. Everything was running smoothly.

    MySQL went away once, got "Restarting mysql (via systemctl): Warning: mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units.", ran systemctl daemon-reload and the service started up OK.

    Just upgraded to 11.68.0.9. Rebooted the system and came back to no mysql.

    "service mysql restart" gave me the same error again. Tried running systemctl daemon-reload but keep getting the same error when I try to start or stop the service.
     
  5. succinctapps

    succinctapps Registered

    Joined:
    Jun 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Eventually started.
     
  6. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    66
    I faced this problem in latest version now (v68.0.14)
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look?

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

    Ov1d1u Registered

    Joined:
    Apr 10, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest
    cPanel Access Level:
    Root Administrator
    Hello,
    Any Update ? cPanel version
    • v68.0.26


    Code:
    ● mariadb.service - MariaDB 10.2.12 database server
       Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
      Drop-In: /etc/systemd/system/mariadb.service.d
               └─migrated-from-my.cnf-settings.conf
       Active: active (running) since Sat 2018-01-20 10:10:19 EET; 7min ago
         Docs: man:mysqld(8)
               [URL='https://mariadb.com/kb/en/library/systemd/']systemd[/URL]
     Main PID: 5806 (mysqld)
       Status: "Taking your SQL requests now..."
       CGroup: /system.slice/mariadb.service
               └─5806 /usr/sbin/mysqld
    Jan 20 10:10:18 server.xxxxx systemd[1]: Starting MariaDB 10.2.12 database server...
    Jan 20 10:10:18 server.xxxxx mysqld[5806]: 2018-01-20 10:10:18 139821609609344 [Note] /usr/sbin/mysqld (mysqld 10.2.12-MariaDB) starting as process 5806 ...
    Jan 20 10:10:19 server.xxxxxx systemd[1]: Started MariaDB 10.2.12 database server.
    Warning: mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.
    

    Keep getting the same error whit systemctl daemon-reload

    Thank You!
     
    #8 Ov1d1u, Jan 20, 2018
    Last edited by a moderator: Jan 20, 2018
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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