Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Mensagens - rhmgh

Páginas: [1] 2
1
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 09 de Julho de 2017, 07:55 »
Na primeira tentativa, eu tinha instalado o LAMP server, mas como começou a gerar os erros com o SNMP eu achei que poderia ta gerando algum conflito de alguma coisa e resolvi zerar a máquina e reinstalei ela toda, atualizei e só instalei os pacotes do snmp. Gerou os mesmo erros.

Eu fiz a instalação desses dois pacotes e do snmp-mibs-downloader simultaneamente.

Código: [Selecionar]
cdt@srv-ubuntu:~$ apt-cache policy snmp
snmp:
  Instalado: 5.7.3+dfsg-1ubuntu4
  Candidato: 5.7.3+dfsg-1ubuntu4
  Tabela de versão:
 *** 5.7.3+dfsg-1ubuntu4 500
        500 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Código: [Selecionar]
cdt@srv-ubuntu:~$ apt-cache policy snmpd
snmpd:
  Instalado: 5.7.3+dfsg-1ubuntu4
  Candidato: 5.7.3+dfsg-1ubuntu4
  Tabela de versão:
 *** 5.7.3+dfsg-1ubuntu4 500
        500 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Código: [Selecionar]
cdt@srv-ubuntu:~$ sudo /etc/init.d/snmpd restart
[sudo] senha para cdt:
[....] Restarting snmpd (via systemctl): snmpd.serviceJob for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
 failed!

Código: [Selecionar]
cdt@srv-ubuntu:~$ journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade snmpd.service está sendo iniciada.
Jul 09 07:40:14 srv-ubuntu snmpd[1755]:  * Starting SNMP services:
Jul 09 07:40:14 srv-ubuntu snmpd[1762]: Turning on AgentX master support.
Jul 09 07:40:14 srv-ubuntu snmpd[1762]: Error opening specified endpoint "udp:127.0.0.1:161"
Jul 09 07:40:14 srv-ubuntu snmpd[1762]: Server Exiting with code 1
Jul 09 07:40:14 srv-ubuntu systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jul 09 07:40:14 srv-ubuntu systemd[1]: Failed to start LSB: SNMP agents.
-- Subject: A unidade snmpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade snmpd.service falhou.
--
-- O resultado é failed.
Jul 09 07:40:14 srv-ubuntu systemd[1]: snmpd.service: Unit entered failed state.
Jul 09 07:40:14 srv-ubuntu systemd[1]: snmpd.service: Failed with result 'exit-code'.


Código: [Selecionar]
cdt@srv-ubuntu:~$ sudo snmpwalk -Os -c public -v 1 localhost | head
Timeout: No Response from localhost

Olha que curioso. Fazendo novos testes para tentar encontrar a raiz do problema, parece que ele ocorre quando eu tenho partições em hd's diferentes.

Fiz uma instalação com todos os diretórios na mesma partição. Instalei o snmp e snmpd e funcionou corretamente.
Fiz uma instalação com duas partições no mesmo disco físico, coloquei o / em uma partição e o /home em outra. Instalei o snmp e snmpd e funcionou corretamente.

No último caso, fiz a instalação usando discos diferentes, para partições diferentes, seguindo o mesmo exemplo acima, o / em um disco e o /home em outro disco e nesse caso específico é que está gerando os erros quando eu instalado o snmpd.



2
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 08 de Julho de 2017, 21:53 »
Sim,

Código: [Selecionar]
Turning on AgentX master support.
Error opening specified endpoint "udp:127.0.0.1:161"
Server Exiting with code 1

3
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 07 de Julho de 2017, 16:29 »
Eu também tive os mesmos erros
Citar
Alerta: o diretório pessoal '/var/lib/snmp' não pertence ao usuário que você está criando atualmente.
Citar
Warning: Unknown token: defaultMonitors.
quando fiz a instalação do pacote em meu Kubuntu. Mas isso não impediu o serviço de iniciar. É certo que o pacote está com problemas, pois está trazendo pelo menos uma opção de configuração que não é reconhecida, e o script de inicialização também não está funcionando corretamente.

Mas além disso, me parece que o pacote tem dependências externas, alguma coisa pré-instalada está influindo no funcionamento dele.
Também acredito nisso, na instalação ele já apresenta problemas, na minha estação que é ubuntu desktop, não apresentou problema, montei uma VM com o mate, também funcionou. Ta parecendo que é só na versão server.

Veja se responde iniciar dessa forma:

Código: [Selecionar]
sudo /usr/sbin/snmpd -f
Numa segunda janela do shell, check usando aquele mesmo comando antes mencionado para verificação.

Mesma coisa
Código: [Selecionar]
cdt@srv-ubuntu:~$ snmpwalk -Os -c public -v 1 localhost | head
Timeout: No Response from localhost

4
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 07 de Julho de 2017, 08:48 »
Reinstalei o sistema todinho em um hd formatado. Fui fazer a instalação do SNMP depois de ter atualizado ela toda. E já começou a gerar os erros di novo.

Logo de cara, ele da o seguinte erro: (esse foi simples corrigir)
Código: [Selecionar]
adduser: Alerta: o diretório pessoal '/var/lib/snmp' não pertence ao usuário que você está criando atualmente.



Depois ele da 2 warnings:
Código: [Selecionar]
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)

Continuou gerando aquele erro da linha 145 e mais uma: (comentando elas para de gerar os erros, mas não sei ainda qual a função delas)
Código: [Selecionar]
/etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.        (conteudo da linha: defaultMonitors          yes)
/etc/snmp/snmpd.conf: line 147: Warning: Unknown token: linkUpDownNotifications.   (conteúdo da linha: linkUpDownNotifications  yes)

E por último:
Código: [Selecionar]
snmpd[30505]: Turning on AgentX master support.
snmpd[30505]: Error opening specified endpoint "udp:127.0.0.1:161"
snmpd[30505]: Server Exiting with code 1
systemd[1]: snmpd.service: Control process exited, code=exited status=1
systemd[1]: Failed to start LSB: SNMP agents.
systemd[1]: snmpd.service: Unit entered failed state.
systemd[1]: snmpd.service: Failed with result 'exit-code'.

5
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 06 de Julho de 2017, 08:32 »
Mudou o erro, mas continua sem funcionar! =(

Código: [Selecionar]
cdt@ubuntu:~$ journalctl -xe
Jul 06 08:01:06 ubuntu snmpd[12570]:  * Starting SNMP services:
Jul 06 08:01:06 ubuntu snmpd[12577]: MIB search path: /usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/sit
Jul 06 08:01:06 ubuntu snmpd[12577]: Cannot find module (ux,mteTrigger,mteTriggerConf): At line 0 in (none)
Jul 06 08:01:06 ubuntu snmpd[12577]: Turning on AgentX master support.
Jul 06 08:01:06 ubuntu snmpd[12577]: Error opening specified endpoint "udp:127.0.0.1:161"
Jul 06 08:01:06 ubuntu snmpd[12577]: Server Exiting with code 1
Jul 06 08:01:06 ubuntu snmpd[12570]: Warning: -s option is deprecated, use -Lsd instead
Jul 06 08:01:06 ubuntu systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jul 06 08:01:06 ubuntu systemd[1]: Failed to start LSB: SNMP agents.
-- Subject: A unidade snmpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade snmpd.service falhou.
--
-- O resultado é failed.
Jul 06 08:01:06 ubuntu systemd[1]: snmpd.service: Unit entered failed state.
Jul 06 08:01:06 ubuntu systemd[1]: snmpd.service: Failed with result 'exit-code'.
Jul 06 08:01:06 ubuntu sudo[12559]: pam_unix(sudo:session): session closed for user root

Código: [Selecionar]
cdt@ubuntu:~$ snmpwalk -Os -c public -v 1 localhost | head
Timeout: No Response from localhost

6
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 05 de Julho de 2017, 17:19 »
Dei uma procurada, mas não encontrei nada relacionado. Montei uma ou VM no virtual box e com ela zerada, instalou direito.
Essa que não ta funcionando tem o apache2, php, mysql e mysqladmin pro meu lab. Nem o firewall ta habilitado.

7
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 05 de Julho de 2017, 17:09 »
Tente o seguinte, remova todos os arquivos de configuração e tente instalar novamente.

sudo apt-get purge snmpd
sudo apt-get install snmpd


Não deu certo
Código: [Selecionar]
cdt@ubuntu:~$ sudo apt-get purge snmpd
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Os pacotes a seguir serão REMOVIDOS:
  snmpd*
0 pacotes atualizados, 0 pacotes novos instalados, 1 a serem removidos e 0 não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 138 kB de espaço em disco serão liberados.
Você quer continuar? [S/n]
(Lendo banco de dados ... 71833 ficheiros e directórios actualmente instalados.)
A remover snmpd (5.7.3+dfsg-1ubuntu4) ...
A purgar os ficheiros de configuração para snmpd (5.7.3+dfsg-1ubuntu4) ...
A processar 'triggers' para man-db (2.7.5-1) ...

Código: [Selecionar]
cdt@ubuntu:~$ sudo apt-get install snmpd
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Pacotes sugeridos:
  snmptrapd
Os NOVOS pacotes a seguir serão instalados:
  snmpd
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 0 B/57,1 kB de arquivos.
Depois desta operação, 138 kB adicionais de espaço em disco serão usados.
Pré-configurando pacotes ...
A seleccionar pacote anteriormente não seleccionado snmpd.
(Lendo banco de dados ... 71814 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../snmpd_5.7.3+dfsg-1ubuntu4_amd64.deb ...
A descompactar snmpd (5.7.3+dfsg-1ubuntu4) ...
A processar 'triggers' para systemd (229-4ubuntu17) ...
A processar 'triggers' para ureadahead (0.100.0-19) ...
A processar 'triggers' para man-db (2.7.5-1) ...
Configurando snmpd (5.7.3+dfsg-1ubuntu4) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript snmpd, action "start" failed.
● snmpd.service - LSB: SNMP agents
   Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Qua 2017-07-05 17:07:06 BRT; 9ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 9008 ExecStart=/etc/init.d/snmpd start (code=exited, status=1/FAILURE)

Jul 05 17:07:06 ubuntu systemd[1]: Starting LSB: SNMP agents...
Jul 05 17:07:06 ubuntu snmpd[9008]:  * Starting SNMP services:
Jul 05 17:07:06 ubuntu snmpd[9014]: /etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.
Jul 05 17:07:06 ubuntu systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jul 05 17:07:06 ubuntu systemd[1]: Failed to start LSB: SNMP agents.
Jul 05 17:07:06 ubuntu systemd[1]: snmpd.service: Unit entered failed state.
Jul 05 17:07:06 ubuntu systemd[1]: snmpd.service: Failed with result 'exit-code'.
dpkg: erro ao processar o pacote snmpd (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
A processar 'triggers' para systemd (229-4ubuntu17) ...
A processar 'triggers' para ureadahead (0.100.0-19) ...
Erros foram encontrados durante o processamento de:
 snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)



8
Servidores / Re:Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 05 de Julho de 2017, 16:59 »
Não, tirei snapshot da VM, e voltei ela ... mas já fiz diversas tentativas sem sucesso. Mas na atual situação só dei 2x o sudo apt-get install snmpd

9
Servidores / Ubuntu server 16.04 + SNMPD 5.7.3+dfsg-1ubuntu4
« Online: 05 de Julho de 2017, 16:28 »
Galera, estou com dificuldades para instalar o snmp no ubuntu, durante a instalação apresenta erros e o serviço não inicia.
Código: [Selecionar]
cdt@ubuntu:~$ sudo apt-get install snmpd
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
snmpd is already the newest version (5.7.3+dfsg-1ubuntu4).
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar? [S/n]
Configurando snmpd (5.7.3+dfsg-1ubuntu4) ...
[b]update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)[/b]
Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript snmpd, action "start" failed.
● snmpd.service - LSB: SNMP agents
   Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Ter 2017-07-04 13:21:17 BRT; 8ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3271 ExecStart=/etc/init.d/snmpd start (code=exited, status=1/FAILURE)

Jul 04 13:21:16 ubuntu systemd[1]: Starting LSB: SNMP agents...
Jul 04 13:21:16 ubuntu snmpd[3271]:  * Starting SNMP services:
[b]Jul 04 13:21:17 ubuntu snmpd[3276]: /etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.
[/b]Jul 04 13:21:17 ubuntu systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jul 04 13:21:17 ubuntu systemd[1]: Failed to start LSB: SNMP agents.
Jul 04 13:21:17 ubuntu systemd[1]: snmpd.service: Unit entered failed state.
Jul 04 13:21:17 ubuntu systemd[1]: snmpd.service: Failed with result 'exit-code'.
dpkg: erro ao processar o pacote snmpd (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
 snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Código: [Selecionar]
cdt@ubuntu:~$ sudo systemctl status snmpd.service
● snmpd.service - LSB: SNMP agents
   Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Ter 2017-07-04 13:21:17 BRT; 46s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3271 ExecStart=/etc/init.d/snmpd start (code=exited, status=1/FAILURE)

Jul 04 13:21:16 ubuntu systemd[1]: Starting LSB: SNMP agents...
Jul 04 13:21:16 ubuntu snmpd[3271]:  * Starting SNMP services:
Jul 04 13:21:17 ubuntu snmpd[3276]: /etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.
Jul 04 13:21:17 ubuntu systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jul 04 13:21:17 ubuntu systemd[1]: Failed to start LSB: SNMP agents.
Jul 04 13:21:17 ubuntu systemd[1]: snmpd.service: Unit entered failed state.
Jul 04 13:21:17 ubuntu systemd[1]: snmpd.service: Failed with result 'exit-code'.

/var/log/syslog
Código: [Selecionar]
Jul  5 16:35:46 srv-titanio systemd[1]: Reloading.
Jul  5 16:35:46 ubuntu systemd[1]: Started ACPI event daemon.
Jul  5 16:35:46 ubuntu systemd[1]: Reloading.
Jul  5 16:35:46 ubuntu systemd[1]: Started ACPI event daemon.
Jul  5 16:35:46 ubuntu systemd[1]: Starting LSB: SNMP agents...
Jul  5 16:35:46 ubuntu snmpd[7991]:  * Starting SNMP services:
Jul  5 16:35:46 ubuntu snmpd[7996]: /etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.
Jul  5 16:35:46 ubuntu snmpd[7996]: /etc/snmp/snmpd.conf: line 147: Warning: Unknown token: linkUpDownNotifications.
Jul  5 16:35:46 ubuntu snmpd[7996]: Turning on AgentX master support.
Jul  5 16:35:46 ubuntu snmpd[7996]: Error opening specified endpoint "udp:127.0.0.1:161"
Jul  5 16:35:46 ubuntu snmpd[7996]: Server Exiting with code 1
Jul  5 16:35:46 ubuntu systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jul  5 16:35:46 ubuntu systemd[1]: Failed to start LSB: SNMP agents.
Jul  5 16:35:46 ubuntu systemd[1]: snmpd.service: Unit entered failed state.
Jul  5 16:35:46 ubuntu systemd[1]: snmpd.service: Failed with result 'exit-code'.

Não alterei nenhum configuração nos arquivos, estão do jeito padrão.

Desde já agradeço a atenção.



10
Servidores / Re:MySQL 5.7 e Ubuntu Server 16.04.2
« Online: 03 de Julho de 2017, 15:44 »
Consegui resolver, obrigado pela disponibilidade.

A solução que eu encontrei foi:

Editar o arquivo:
Código: [Selecionar]
vim /etc/apparmor.d/usr.sbin.mysqld
Na sessão:
# Allow data dir access
  /var/lib/mysql/ r,
  /var/lib/mysql/** rwk,
  /sites/mysql/ r,                                   --- adicionado por mim
  /sites/mysql/** rwk,                         --- adicionado por mim

Usar o comando:
Código: [Selecionar]
mysqld --initialize
Depois foi só inicializar o mysql (ele iniciou sem erros), ai ele começou a criar os arquivos na outra partição.

11
Servidores / Re:MySQL 5.7 e Ubuntu Server 16.04.2
« Online: 03 de Julho de 2017, 14:48 »
Qual o sistema de arquivos que você está usando nessa partição separada?
ext4

Como você está fazendo a montagem?
no fstab
UUID=64179307-772b-4cac-8e33-5e22cf664d3b /sites          ext4    defaults        0       0

Quem é o proprietário da pasta que é o ponto de montagem?
o usuário mysql e as permissões está com 755


12
Servidores / MySQL 5.7 e Ubuntu Server 16.04.2
« Online: 03 de Julho de 2017, 13:21 »
Pessoal,

Estou tentando instalar o mysql 5.7 no ubuntu server 16.04.2, com a base em uma partição separada, ou seja, o diretório /var/lib/mysql em um outra partição. Se eu instalo tudo na mesma partição, instala e funciona direitinho, mas ai que eu mudo o caminho da base, volta a gerar os erros.

Alguém já teve essa experiência e poderia me ajudar?

Código: [Selecionar]
root@ubuntu:~# mysqld --initialize
mysqld: Can't create directory '/sites/mysql/' (Errcode: 17 - File exists)
2017-07-03T16:14:08.876855Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-07-03T16:14:08.883416Z 0 [ERROR] Aborting

Código: [Selecionar]
root@ubuntu:~# mysql_install_db
2017-07-03 13:14:36 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2017-07-03 13:14:36 [ERROR]   The data directory needs to be specified.

Código: [Selecionar]
root@ubuntu:~# /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
 failed!
root@ubuntu:~# journalctl -xe
Jul 03 13:15:08 ubuntu systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jul 03 13:15:08 ubuntu systemd[1]: Stopped MySQL Community Server.
-- Subject: A unidade mysql.service concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade mysql.service concluiu o desligamento.
Jul 03 13:15:08 ubuntu systemd[1]: Starting MySQL Community Server...
-- Subject: Unidade mysql.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade mysql.service está sendo iniciada.
Jul 03 13:15:08 ubuntu mysql-systemd-start[1365]: MySQL system database not found in /sites/mysql. Please run mysqld --initialize.
Jul 03 13:15:08 ubuntu systemd[1]: mysql.service: Control process exited, code=exited status=1
Jul 03 13:15:08 ubuntu systemd[1]: Failed to start MySQL Community Server.
-- Subject: A unidade mysql.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade mysql.service falhou.
--
-- O resultado é failed.
Jul 03 13:15:08 ubuntu systemd[1]: mysql.service: Unit entered failed state.
Jul 03 13:15:08 ubuntu systemd[1]: mysql.service: Failed with result 'exit-code'.
Jul 03 13:15:08 ubuntu systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jul 03 13:15:08 ubuntu systemd[1]: Stopped MySQL Community Server.
-- Subject: A unidade mysql.service concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade mysql.service concluiu o desligamento.
Jul 03 13:15:08 ubuntu systemd[1]: mysql.service: Start request repeated too quickly.
Jul 03 13:15:08 ubuntu systemd[1]: Failed to start MySQL Community Server.
-- Subject: A unidade mysql.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade mysql.service falhou.
--
-- O resultado é failed.

Código: [Selecionar]
2017-07-03T15:53:14.845790Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2017-07-03T15:53:14.845919Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
2017-07-03T15:53:15.321659Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-07-03T15:53:15.329563Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.18-0ubuntu0.16.04.1) starting as process 2434 ...
2017-07-03T15:53:15.381161Z 0 [Note] InnoDB: PUNCH HOLE support available
2017-07-03T15:53:15.381258Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-07-03T15:53:15.381268Z 0 [Note] InnoDB: Uses event mutexes
2017-07-03T15:53:15.381276Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-07-03T15:53:15.381284Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-07-03T15:53:15.381291Z 0 [Note] InnoDB: Using Linux native AIO
2017-07-03T15:53:15.383264Z 0 [Note] InnoDB: Number of pools: 1
2017-07-03T15:53:15.384245Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2017-07-03T15:53:15.399310Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-07-03T15:53:15.453456Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-07-03T15:53:15.474248Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-07-03T15:53:15.535027Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-07-03T15:53:15.659145Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-07-03T15:53:15.659270Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-07-03T15:53:15.708608Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-07-03T15:53:15.711006Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-07-03T15:53:15.711068Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-07-03T15:53:15.715413Z 0 [Note] InnoDB: Waiting for purge to start
2017-07-03T15:53:15.765954Z 0 [Note] InnoDB: 5.7.18 started; log sequence number 2534985
2017-07-03T15:53:15.766972Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-07-03T15:53:15.768095Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-07-03T15:53:15.932996Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2017-07-03T15:53:15.933057Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2017-07-03T15:53:15.933168Z 0 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
2017-07-03T15:53:15.933211Z 0 [Note] Server socket created on IP: '127.0.0.1'.
2017-07-03T15:53:15.966439Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170703 12:53:15
2017-07-03T15:53:16.068796Z 0 [Note] Event Scheduler: Loaded 0 events
2017-07-03T15:53:16.069380Z 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.7.18-0ubuntu0.16.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
2017-07-03T15:53:16.069398Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
2017-07-03T15:53:16.069403Z 0 [Note] Beginning of list of non-natively partitioned tables
2017-07-03T15:53:16.284256Z 0 [Note] End of list of non-natively partitioned tables
2017-07-03T15:53:16.933341Z 3 [Note] Access denied for user 'root'@'localhost' (using password: NO)
2017-07-03T15:53:19.823793Z 0 [Note] Giving 0 client threads a chance to die gracefully
2017-07-03T15:53:19.823900Z 0 [Note] Shutting down slave threads
2017-07-03T15:53:19.823909Z 0 [Note] Forcefully disconnecting 0 remaining clients
2017-07-03T15:53:19.823919Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2017-07-03T15:53:19.824046Z 0 [Note] Binlog end
2017-07-03T15:53:19.836472Z 0 [Note] Shutting down plugin 'ngram'
2017-07-03T15:53:19.836539Z 0 [Note] Shutting down plugin 'ARCHIVE'
2017-07-03T15:53:19.836547Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2017-07-03T15:53:19.836554Z 0 [Note] Shutting down plugin 'partition'
2017-07-03T15:53:19.836560Z 0 [Note] Shutting down plugin 'MyISAM'
2017-07-03T15:53:19.836572Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2017-07-03T15:53:19.836578Z 0 [Note] Shutting down plugin 'CSV'
2017-07-03T15:53:19.836584Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-07-03T15:53:19.836640Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2017-07-03T15:53:19.836648Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2017-07-03T15:53:19.836657Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2017-07-03T15:53:19.836663Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2017-07-03T15:53:19.836668Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2017-07-03T15:53:19.836673Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2017-07-03T15:53:19.836677Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2017-07-03T15:53:19.836682Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2017-07-03T15:53:19.836687Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2017-07-03T15:53:19.836691Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2017-07-03T15:53:19.836696Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2017-07-03T15:53:19.836701Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2017-07-03T15:53:19.836705Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2017-07-03T15:53:19.836710Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2017-07-03T15:53:19.836720Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2017-07-03T15:53:19.836726Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2017-07-03T15:53:19.836731Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2017-07-03T15:53:19.836736Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2017-07-03T15:53:19.836741Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2017-07-03T15:53:19.836747Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2017-07-03T15:53:19.836752Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2017-07-03T15:53:19.836757Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2017-07-03T15:53:19.836762Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2017-07-03T15:53:19.836767Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2017-07-03T15:53:19.836812Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2017-07-03T15:53:19.836819Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2017-07-03T15:53:19.836824Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2017-07-03T15:53:19.836829Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2017-07-03T15:53:19.836837Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2017-07-03T15:53:19.836845Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2017-07-03T15:53:19.836850Z 0 [Note] Shutting down plugin 'InnoDB'
2017-07-03T15:53:19.837315Z 0 [Note] InnoDB: FTS optimize thread exiting.
2017-07-03T15:53:19.838339Z 0 [Note] InnoDB: Starting shutdown...
2017-07-03T15:53:19.938942Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2017-07-03T15:53:19.939398Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 170703 12:53:19
2017-07-03T15:53:21.666179Z 0 [Note] InnoDB: Shutdown completed; log sequence number 2640448
2017-07-03T15:53:21.668053Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2017-07-03T15:53:21.668077Z 0 [Note] Shutting down plugin 'MEMORY'
2017-07-03T15:53:21.668086Z 0 [Note] Shutting down plugin 'sha256_password'
2017-07-03T15:53:21.668091Z 0 [Note] Shutting down plugin 'mysql_native_password'
2017-07-03T15:53:21.668283Z 0 [Note] Shutting down plugin 'binlog'
2017-07-03T15:53:21.668942Z 0 [Note] /usr/sbin/mysqld: Shutdown complete

2017-07-03T15:53:21.927257Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2017-07-03T15:53:21.927427Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
2017-07-03T15:53:22.412750Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-07-03T15:53:22.428178Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.18-0ubuntu0.16.04.1) starting as process 2522 ...
2017-07-03T15:53:22.452819Z 0 [Note] InnoDB: PUNCH HOLE support available
2017-07-03T15:53:22.452889Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-07-03T15:53:22.452898Z 0 [Note] InnoDB: Uses event mutexes
2017-07-03T15:53:22.452905Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-07-03T15:53:22.452934Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-07-03T15:53:22.452944Z 0 [Note] InnoDB: Using Linux native AIO
2017-07-03T15:53:22.454856Z 0 [Note] InnoDB: Number of pools: 1
2017-07-03T15:53:22.455812Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2017-07-03T15:53:22.468863Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-07-03T15:53:22.513551Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-07-03T15:53:22.532354Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-07-03T15:53:22.558448Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-07-03T15:53:22.610131Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-07-03T15:53:22.610267Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-07-03T15:53:22.657454Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-07-03T15:53:22.659181Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-07-03T15:53:22.659261Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-07-03T15:53:22.661162Z 0 [Note] InnoDB: Waiting for purge to start
2017-07-03T15:53:22.711679Z 0 [Note] InnoDB: 5.7.18 started; log sequence number 2640448
2017-07-03T15:53:22.714556Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-07-03T15:53:22.718104Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-07-03T15:53:22.721812Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170703 12:53:22
2017-07-03T15:53:22.748531Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2017-07-03T15:53:22.748586Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2017-07-03T15:53:22.748601Z 0 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
2017-07-03T15:53:22.748638Z 0 [Note] Server socket created on IP: '127.0.0.1'.
2017-07-03T15:53:22.760162Z 0 [Note] Event Scheduler: Loaded 0 events
2017-07-03T15:53:22.760612Z 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.7.18-0ubuntu0.16.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
2017-07-03T15:53:22.760626Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
2017-07-03T15:53:22.760631Z 0 [Note] Beginning of list of non-natively partitioned tables
2017-07-03T15:53:22.799249Z 0 [Note] End of list of non-natively partitioned tables
2017-07-03T15:53:22.960567Z 3 [Note] Access denied for user 'root'@'localhost' (using password: NO)
2017-07-03T15:53:23.002860Z 4 [Note] Access denied for user 'root'@'localhost' (using password: NO)
2017-07-03T15:53:35.818128Z 5 [Note] Access denied for user 'root'@'localhost' (using password: NO)
2017-07-03T15:54:00.053309Z 0 [Note] Giving 0 client threads a chance to die gracefully
2017-07-03T15:54:00.053492Z 0 [Note] Shutting down slave threads
2017-07-03T15:54:00.053500Z 0 [Note] Forcefully disconnecting 0 remaining clients
2017-07-03T15:54:00.053520Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2017-07-03T15:54:00.059412Z 0 [Note] Binlog end
2017-07-03T15:54:00.062794Z 0 [Note] Shutting down plugin 'ngram'
2017-07-03T15:54:00.062831Z 0 [Note] Shutting down plugin 'ARCHIVE'
2017-07-03T15:54:00.062839Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2017-07-03T15:54:00.062853Z 0 [Note] Shutting down plugin 'partition'
2017-07-03T15:54:00.062861Z 0 [Note] Shutting down plugin 'MyISAM'
2017-07-03T15:54:00.062892Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2017-07-03T15:54:00.062900Z 0 [Note] Shutting down plugin 'CSV'
2017-07-03T15:54:00.062906Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-07-03T15:54:00.062969Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2017-07-03T15:54:00.062985Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2017-07-03T15:54:00.062992Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2017-07-03T15:54:00.062997Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2017-07-03T15:54:00.063002Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2017-07-03T15:54:00.063007Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2017-07-03T15:54:00.063012Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2017-07-03T15:54:00.063017Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2017-07-03T15:54:00.063022Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2017-07-03T15:54:00.063027Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2017-07-03T15:54:00.063032Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2017-07-03T15:54:00.063037Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2017-07-03T15:54:00.063042Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2017-07-03T15:54:00.063047Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2017-07-03T15:54:00.063052Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2017-07-03T15:54:00.063057Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2017-07-03T15:54:00.063062Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2017-07-03T15:54:00.063067Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2017-07-03T15:54:00.063072Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2017-07-03T15:54:00.063077Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2017-07-03T15:54:00.063082Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2017-07-03T15:54:00.063087Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2017-07-03T15:54:00.063092Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2017-07-03T15:54:00.063097Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2017-07-03T15:54:00.063102Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2017-07-03T15:54:00.063145Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2017-07-03T15:54:00.063152Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2017-07-03T15:54:00.063156Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2017-07-03T15:54:00.063161Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2017-07-03T15:54:00.063166Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2017-07-03T15:54:00.063170Z 0 [Note] Shutting down plugin 'InnoDB'
2017-07-03T15:54:00.063374Z 0 [Note] InnoDB: FTS optimize thread exiting.
2017-07-03T15:54:00.064518Z 0 [Note] InnoDB: Starting shutdown...
2017-07-03T15:54:00.165466Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2017-07-03T15:54:00.165940Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 170703 12:54:00
2017-07-03T15:54:01.635962Z 0 [Note] InnoDB: Shutdown completed; log sequence number 2640476
2017-07-03T15:54:01.638505Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2017-07-03T15:54:01.638534Z 0 [Note] Shutting down plugin 'MEMORY'
2017-07-03T15:54:01.638553Z 0 [Note] Shutting down plugin 'sha256_password'
2017-07-03T15:54:01.638560Z 0 [Note] Shutting down plugin 'mysql_native_password'
2017-07-03T15:54:01.638802Z 0 [Note] Shutting down plugin 'binlog'
2017-07-03T15:54:01.639611Z 0 [Note] /usr/sbin/mysqld: Shutdown complete


Desde já, agradeço a atenção!

13
Aplicativos / Remmina
« Online: 13 de Junho de 2017, 10:48 »
Senhores, é possível usar a área de transferência para copiar e colar um arquivo da maquina local para a máquina remota ou vice-versa?


14
Aplicativos / [Evolution] Caminho da pasta raiz
« Online: 11 de Maio de 2017, 13:25 »
Galera,

Alguem sabe como alterar o a pasta raiz do imap no evolution?

No thunderbird, nas "Configurações" >> "Servidor" >> "Avançado" >> "Servidor de diretórios IMAP" eu consigo preencher a opção e colocar por exemplo INBOX.
No outlook também é possível, mas não encontrei nada parecido no evolution.

15
Servidores / Re:PROFTPD + TLS
« Online: 07 de Fevereiro de 2017, 17:24 »
Nesses casos funciona certinho. O problema é o acesso via browser mesmo.

Páginas: [1] 2