Can't restart mysqld & lfd

Hello,

I see restart link for lfd on your screenshot. I'm not quite sure on why you are missing restart link for mysql, but still you can restart it the following way:

Restart = Stop + Start.
 
Thanks for your assistance

zEitEr, I think something has not configured correctly. How can I check if MariaDB is installed correctly on CentOS7?
 
At least run:

Code:
mysql --defaults-extra-file=/usr/local/directadmin/conf/my.cnf

in console and see its output.

Code:
systemctl status mysqld
 
Thanks Alex,

What do you think:
Code:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 510
Server version: 5.5.41-MariaDB MariaDB Server

Copyright (c) 2000, 2014, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> systemctl status mysqld
    -> exit
    ->
[1]+  Stopped                 mysql --defaults-extra-file=/usr/local/directadmin                                                                                                                                                             /conf/my.cnf
[root@s1 ~]# clear
[root@s1 ~]# mysql --defaults-extra-file=/usr/local/directadmin/conf/my.cnf
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 526
Server version: 5.5.41-MariaDB MariaDB Server

Copyright (c) 2000, 2014, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>
[2]+  Stopped                 mysql --defaults-extra-file=/usr/local/directadmin                                                                                                                                                             /conf/my.cnf
[root@s1 ~]# systemctl status mysqld
● mysqld.service - MySQL database server
   Loaded: loaded (/etc/systemd/system/mysqld.service; enabled; vendor preset: d                                                                                                                                                             isabled)
   Active: active (running) since Tue 2016-12-06 17:43:03 UTC; 30min ago
 Main PID: 24600 (mysqld_safe)
   CGroup: /system.slice/mysqld.service
           ├─24600 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
           └─24677 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql -...

Dec 06 17:43:03 s1.test.com systemd[1]: Started MySQL database server.
Dec 06 17:43:03 s1.test.com systemd[1]: Starting MySQL database ser....
Dec 06 17:43:04 s1.test.com mysqld_safe[24600]: 161206 17:43:04 mysq...
Dec 06 17:43:04 s1.test.com mysqld_safe[24600]: 161206 17:43:04 mysq...
Hint: Some lines were ellipsized, use -l to show in full.

What about lfd, is it normal that it's been stopped?
 
Back
Top