PedroGoncalez
(usa Debian)
Enviado em 24/04/2018 - 09:06h
Mauriciodez escreveu:
PedroGoncalez escreveu:
See "systemctl status mysql.service" and "journalctl -xe" for details.
posta aí
systemctl status mysql.service
------------------------------------------| Linux User #621728 |-----------------------------------------
" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"
------------------------------------------| Linux User #621728 |-----------------------------------------
Mauriciodez, essa é a mensagem que aparece. Talvez esteja em conflito com o MariaDB? Tentei desinstalar o MariaDB e até mesmo o MySQL mas não desinstalou. Diz que há dependências de outros pacotes (não sei se isso impede a desinstalação).
Mensagem segue abaixo:
root@seduc-0791:/# /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.serviceJob for mariadb.service failed because a timeout was exceeded.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
failed!
root@seduc-0791:/# systemctl status mysql.service
● mariadb.service - MariaDB database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/mysql.service.d
└─50-mariadb-$database.conf
Active: failed (Result: timeout) since Tue 2018-04-24 08:56:31 -03; 16s ago
Process: 22214 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION
Process: 22103 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bi
Process: 22097 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exi
Process: 22095 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exit
Main PID: 22214 (code=exited, status=0/SUCCESS)
abr 24 08:54:59 seduc-0791 systemd[1]: Starting MariaDB database server...
abr 24 08:56:30 seduc-0791 systemd[1]: mariadb.service: Start operation timed out. Terminating.
abr 24 08:56:31 seduc-0791 systemd[1]: Failed to start MariaDB database server.
abr 24 08:56:31 seduc-0791 systemd[1]: mariadb.service: Unit entered failed state.
abr 24 08:56:31 seduc-0791 systemd[1]: mariadb.service: Failed with result 'timeout'.