Sorry I didn't mention the source of MariaDB documentationHi,
I applied exactly the mentioned instructions in MariaDB documentation but unfortunately I always receive the following error message:
# systemctl status mariadb.service
● mariadb.service - LSB: start and stop MariaDB
Loaded: loaded (/etc/init.d/mariadb; bad; vendor preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: failed (Result: exit-code) since Thu 2018-05-03 04:54:02 +03; 15min ago
Docs: man:systemd-sysv-generator(8)
Process: 17145 ExecStart=/etc/init.d/mariadb start (code=exited, status=1/FAILURE)
May 03 04:54:01 domain.com systemd[1]: Starting LSB: start and stop MariaDB...
May 03 04:54:01 domain.com mysqld[17145]: Starting MariaDB
May 03 04:54:01 domain.com mysqld[17145]: .2018-05-03T01:54:01.525119Z mysqld_safe Logging to '/var/lib/mysql/domain.com.err'.
May 03 04:54:01 domain.com mysqld[17145]: 2018-05-03T01:54:01.551305Z mysqld_safe A mysqld process already exists
May 03 04:54:02 domain.com systemd[1]: mariadb.service: Control process exited, code=exited status=1
May 03 04:54:02 domain.com systemd[1]: Failed to start LSB: start and stop MariaDB.
May 03 04:54:02 domain.com systemd[1]: mariadb.service: Unit entered failed state.
May 03 04:54:02 domain.com systemd[1]: mariadb.service: Failed with result 'exit-code'.
How can I fix this issue?
IMPORTANT:
- In the attachments you can find "/opt/mariadb-data/my.cnf" AND "/etc/init.d/mariadb files"
- Ubuntu Linux 16.04.2 x64
- Downloaded mariadb-10.2.14-linux-x86_64.tar.gz
-- Best Regards, Muhammad Bashir Al-Noimi Skype+Telegram+GMail: mbnoimi