I have 5 different virtual servers with 5 different domains on my server.
On the Virtualmin > Server Configuration > SSL Certificate page, under one of my domains, I hit the “set as default services certificate” button and my mariaDB failed to restart and made the following error:
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
Running the command systemctl status mariadb.service I get the following return:
When attempting to restart the mariaDB from Webmin > Server > MariaDB Server I got the following error:
DBI connect failed : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
There appears to be no /var/run/mysqld/mysqld.sock in the file system anywhere.
# The MariaDB configuration file
# The MariaDB/MySQL tools read configuration files in the following order:
# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
# 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
# 4. "~/.my.cnf" to set user-specific options.
# If the same option is defined multiple times, the last one will apply.
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
# This group is read both both by the client and the server
# use it for options that affect everything
# Import all .cnf files from configuration directory
Please help. I have multiple high traffic sites on this server and they are all offline.