recovery mysql em um servidor bagunçado 16.04

0

Depois de atrapalhar o SO com o comando errado / estou tentando recuperar o que posso antes de uma nova instalação mais provável.

Estou trabalhando remotamente em um servidor ubuntu 16.04, por isso tenho acesso limitado e não consigo acessar o modo de recuperação agora.

O SSH, o Apache e outros servidores estão funcionando bem, mas não o mysql.

Quando eu corro

service mysql start

Recebo uma resposta de erro e abaixo estão a saída de systemctl statusmysql.service e journalctl -xe

root@server:~# systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor 
preset: enabled)
Active: inactive (dead) (Result: exit-code) since Mon 2017-10-16 03:01:00 CEST; 13s ago
Process: 13496 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=203/EXEC)
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Service hold off time over, scheduling restart.
Oct 16 03:01:00 server.mauro systemd[1]: Stopped MySQL Community Server.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Start request repeated too quickly.
Oct 16 03:01:00 server.mauro systemd[1]: Failed to start MySQL Community Server.

e

root@server:~# journalctl -xe
Oct 16 03:01:00 server.mauro systemd[13496]: mysql.service: Failed at step EXEC spawning /usr/share/mysql/mysql-systemd-start
-- Subject: Process /usr/share/mysql/mysql-systemd-start could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The process /usr/share/mysql/mysql-systemd-start could not be executed and failed.
-- 
-- The error number returned by this process is 13.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Control process exited, code=exited status=203
Oct 16 03:01:00 server.mauro systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has failed.
-- 
-- The result is failed.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Unit entered failed state.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 16 03:01:00 server.mauro systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has finished shutting down.
Oct 16 03:01:00 server.mauro systemd[1]: mysql.service: Start request repeated too quickly.
Oct 16 03:01:00 server.mauro systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has failed.
-- 
-- The result is failed.

Alguém tem uma idéia de onde eu posso começar a procurar uma maneira de corrigir o problema do servidor mysql e, em seguida, ser capaz de fazer backup dos bancos de dados?

Sobre o backup de bancos de dados Estou trabalhando na cópia dos arquivos e diretórios criados pelo mysql, esperando poder copiar no meu laptop ...

obrigado

    
por mauro santini 16.10.2017 / 03:32

0 respostas