Pular para o conteúdo

Erro no final da instalação no Debian 7.8 Wheezy [RESOLVIDO]

Responder tópico
  • Denunciar
  • Indicar

1. Erro no final da instalação no Debian 7.8 Wheezy [RESOLVIDO]

Enviado em 16/03/2015 - 14:14h

começo a instalação no debina e no final da isso:
[ ok ] Stopping MySQL database server: mysqld.
150316 11:13:09 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
150316 11:13:09 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
150316 11:13:09 [Note] Plugin 'FEDERATED' is disabled.
150316 11:13:09 InnoDB: The InnoDB memory heap is disabled
150316 11:13:09 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150316 11:13:09 InnoDB: Compressed tables use zlib 1.2.7
150316 11:13:09 InnoDB: Using Linux native AIO
150316 11:13:09 InnoDB: Initializing buffer pool, size = 128.0M
150316 11:13:09 InnoDB: Completed initialization of buffer pool
150316 11:13:09 InnoDB: highest supported file format is Barracuda.
150316 11:13:09 InnoDB: Waiting for the background threads to start
150316 11:13:10 InnoDB: 5.5.41 started; log sequence number 1595675
150316 11:13:10 InnoDB: Starting shutdown...
150316 11:13:11 InnoDB: Shutdown completed; log sequence number 1595675
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: erro ao processar mysql-server-5.5 (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas com dependências impedem a configuração de mysql-server:
mysql-server depende de mysql-server-5.5; porém:
Pacote mysql-server-5.5 não está configurado ainda.

dpkg: erro ao processar mysql-server (--configure):
problemas de dependência - deixando desconfigurado
Erros foram encontrados durante o processamento de:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@srv-teste:~#

Responder tópico

2. Re: Erro no final da instalação no Debian 7.8 Wheezy [RESOLVIDO]

Enviado em 16/03/2015 - 14:55h


Você pode tentar instalar direto do repositório mysql.com:

Primeiro, remova a instalação mal sucedida:
$ sudo dpkg -P mysql

Depois, siga o procedimento abaixo:

1. Baixe o DEB com o repositório para Debian em http://dev.mysql.com/downloads/repo/apt/

2. Instale o pacote com:
$ sudo dpkg -i mysql-apt-config_0.3.3-2debian7_all.deb

3. Em seguida, atualize os pacotes que vêm do novo repo:
$ sudo apt-get update

4. Finalmente, proceda normalmente com a instalação do pacote MySQL Server a partir do repositório:
$ sudo apt-get install mysql-server


Referência: http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/

3. nada

Enviado em 16/03/2015 - 15:13h


Valeu mas nada continua dando mesmo erro, valeu pela tentativa

4. Re: Erro no final da instalação no Debian 7.8 Wheezy [RESOLVIDO]

Enviado em 16/03/2015 - 15:58h


Deve ter um arquivo de log com o erro mais detalhado. Normalmente fica em /var/lib/mysql com extensão .err. Se encontrar mande para cá.

5. Re: Erro no final da instalação no Debian 7.8 Wheezy [RESOLVIDO]

Enviado em 16/03/2015 - 16:10h


Tente:

# dpkg --configure -a
# apt-get -f install

6. startar

Enviado em 16/03/2015 - 17:32h

ele nao consegue startar e nao tem o arquivo nao.


root@srv-teste:/etc/init.d# /etc/init.d/mysql status
[info] MySQL is stopped..
root@srv-teste:/etc/init.d# /etc/init.d/mysql force-reload
[....] Reloading MySQL database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
root@srv-teste:/etc/init.d#

tentei restart retornou isso

7. Re: Erro no final da instalação no Debian 7.8 Wheezy [RESOLVIDO]

Enviado em 16/03/2015 - 18:50h

sombr@ escreveu:

ele nao consegue startar e nao tem o arquivo nao.


root@srv-teste:/etc/init.d# /etc/init.d/mysql status
[info] MySQL is stopped..
root@srv-teste:/etc/init.d# /etc/init.d/mysql force-reload
[....] Reloading MySQL database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
root@srv-teste:/etc/init.d#

tentei restart retornou isso
Cara, faça um favor a si mesmo: dê uma lida no material baixo e recomece do zero;

https://servidordebian.org/pt/wheezy/internet/http/apache2_php5_mysql


8. blz

Enviado em 16/03/2015 - 18:52h


valeu vou tentar

10. sim

Enviado em 17/03/2015 - 19:54h

Sim concerteza. Vou já olhar. Valeu. Amanha quando chegar na empresa vou ver no que da. Dou retorno aqui.

mas olha isso, ele tenta startat usando o usuario "home=/"

[....] Starting MySQL database server: mysqldSem diretório, logando com HOME=/
[FAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.


Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder