Hello all, i have a problem with maria db.
System: Centos 7 64
After DDOS attack, maria db does not start.
I reboot server and i got this error:
I tried "service mariadb restart"
Server domain changed to "hostname".
How to fix it?
System: Centos 7 64
After DDOS attack, maria db does not start.
I reboot server and i got this error:
I tried "service mariadb restart"
Code:
May 10 18:05:39 hostname mariadb-prepare-db-dir[5195]: rm: cannot remove ‘/var/lib/mysql/domains/hostname/.discovered/backup_info_1704060007’: Permission denied
May 10 18:05:39 hostname mariadb-prepare-db-dir[5195]: rm: cannot remove ‘/var/lib/mysql/domains/hostname/.discovered/backup_info_1704070007’: Permission denied
May 10 18:05:39 hostname mariadb-prepare-db-dir[5195]: rm: cannot remove ‘/var/lib/mysql/domains/hostname/.discovered/backup_info_1703290007’: Permission denied
May 10 18:05:39 hostname mariadb-prepare-db-dir[5195]: rm: cannot remove ‘/var/lib/mysql/mysql.daily.dump.0.gz’: Permission denied
May 10 18:05:39 hostname mariadb-prepare-db-dir[5195]: rm: cannot remove ‘/var/lib/mysql/mysql.daily.dump.1.gz’: Permission denied
May 10 18:05:39 hostname mariadb-prepare-db-dir[5195]: rm: cannot remove ‘/var/lib/mysql/mysql.daily.dump.2.gz’: Permission denied
May 10 18:05:39 hostname systemd[1]: mariadb.service: control process exited, code=exited status=1
May 10 18:05:39 hostname systemd[1]: Failed to start MariaDB database server.
May 10 18:05:39 hostname systemd[1]: Unit mariadb.service entered failed state.
May 10 18:05:39 hostname systemd[1]: mariadb.service failed.
Server domain changed to "hostname".
How to fix it?
Last edited: