I
I
Igor2019-11-06 06:09:10
MySQL
Igor, 2019-11-06 06:09:10

MariaDB won't start, why?

I just installed MariaDB, when I check the status I get the following:

mariadb.service - MariaDB 10.3.17 database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-11-06 15:23:47 +06; 3s ago
     Docs: man:mysqld(8)
           https://mariadb.com/kb/en/library/systemd/
 Main PID: 5540 (code=exited, status=200/CHDIR)

ноя 06 15:23:46 backup systemd[1]: Starting MariaDB 10.3.17 database server...
ноя 06 15:23:46 backup systemd[5488]: mariadb.service: Failed to connect stdout to the journal socket, ignoring: Permission denied
ноя 06 15:23:46 backup systemd[5489]: mariadb.service: Failed to connect stdout to the journal socket, ignoring: Permission denied
ноя 06 15:23:46 backup systemd[5491]: mariadb.service: Failed to connect stdout to the journal socket, ignoring: Permission denied
ноя 06 15:23:46 backup systemd[5540]: mariadb.service: Failed to connect stdout to the journal socket, ignoring: Permission denied
ноя 06 15:23:47 backup systemd[1]: mariadb.service: Main process exited, code=exited, status=200/CHDIR
ноя 06 15:23:47 backup systemd[1]: mariadb.service: Failed with result 'exit-code'.
ноя 06 15:23:47 backup systemd[1]: Failed to start MariaDB 10.3.17 database server.

I don’t understand at all about MariaDB, what could it be? What is a socket? I don't have it at all, the socket folder is empty.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Nalomenko, 2019-11-06
@nalomenko

It's likely that MySQL is already running on the same port MariaDB is trying to get up on. You need to either change the port in the MariaDB configuration or kill the MySQL process

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question