Missing /var/run/mariadb after reboot
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. Ryan Zwankhuizen
  2. Saturday, 20 July 2019
  3.  Subscribe via email

Something strange I found recently.
Running Plesk Onyx 17.8.11 with Cloudlinux 7.6 on CentOS7

The server restarts but MariaDB/Mysql does not start.
The issue is that /var/run/mariadb folder does not exist after the reboot.

To solve temporarily, create the mariadb folder inside /var/run and change permissions to mysql:mysql

Then systemctl start mariadb and systemctl start mysqld

All good.
But missing again after a reboot.
Rate this post:
  1. 20.07.2019 21:07:15
  2. # 1
Sergey Khristich Accepted Answer
Posts: 504
Joined: 20.05.2019
Hello Ryan!
Please check if you have entries about the need to create this directory in /usr/lib/tmpfiles.d/mysql.conf
for example:
egrep -r /var/run /usr/lib/tmpfiles.d | grep mysql
/usr/lib/tmpfiles.d/mysql.conf:d /var/run/mysqld 0755 mysql mysql -

egrep -r /var/run /usr/lib/tmpfiles.d | grep mariadb

if not, try adding a line:
d /var/run/mariadb 0755 mysql mysql -

If can you open a support ticket https://cloudlinux.zendesk.com/hc/en-us/requests/new so we can take a closer look at your system? You can post the ticket number here and we'll link this thread to it.

Thank you.
Marketing Manager
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

We use cookies to ensure you get the best experience using our website and services. Read more about it in our Privacy Policy. Please agree to the use of cookies to proceed. Alternatively, you may disable cookies in your browser at any time.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.