Replicação de Servidores [RESOLVIDO]

13. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 03/04/2014 - 11:25h

Como faço para verificar? Mas pelo visto o firewall esta ativo,como fazer para desativar?


  


14. Re: Replicação de Servidores [RESOLVIDO]

Filippe
spolti

(usa Fedora)

Enviado em 03/04/2014 - 11:35h




/etc/init.d/iptables status

Se estiver rodando para ele ou libere a porta 22, mais por defualt o iptables não bloqueia a porta 22........


ve se o sshd está rodando


15. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 03/04/2014 - 12:20h

Pronto, sobre o firewall foi corrigido, mas está dando o seguinte erro:

root@172.29.0.181's password:
Permission denied,please try agayn

Está dando permissão negada, mas to fazendo isso como administrador, como faço para resolver essa situação. Que senha é essa,usuário da máquina??


16. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 03/04/2014 - 17:13h

Boa tarde srs,

Estou com esse erro agora,podem me ajudar por favor:

@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
fd:2e:b6:00:fb:76:16:40:12:bc:df:33:de:67:cf:06.
Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:1
remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 172.29.0.181
ECDSA host key for 172.29.0.181 has changed and you have requested strict checking.

Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]


17. Re: Replicação de Servidores [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/04/2014 - 18:23h

welckson escreveu:

Boa tarde srs,

Estou com esse erro agora,podem me ajudar por favor:

@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
fd:2e:b6:00:fb:76:16:40:12:bc:df:33:de:67:cf:06.
Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:1
remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 172.29.0.181
ECDSA host key for 172.29.0.181 has changed and you have requested strict checking.

Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]



Apagando a primeira linha do arquivo "/root/.ssh/known_hosts".

# sed -i 1d /root/.ssh/known_hosts 


ou

# ssh-keygen -f "/root/.ssh/known_hosts" -R 172.29.0.181 


Após apagar a linha tente novamente.






18. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 03/04/2014 - 19:48h

Boa noite, fiz o processo conforme a sua orientação, mas deu o seguinte erro:

root@slave:~# ssh-keygen -f "/root/.ssh/know_hosts" -R 172.29.0.181
line 1 missing key: YzHtveD8Lw0e4qRz8mkJCX25vxFVlRDLhX1NjT/7...
line 2 missing key: WFTYetyUnNzcYDUDS3LTMC1HOUBZ8hizvp93kKKd...
line 3 missing key: /o7558to8FFLo/D47dssi15RlRvzu5crQnPI4wID...
line 4 missing key: i2/bX3SrvLF5zYomZyHWDceQWpMYC/fzojSbTBSP...
line 5 missing key: Ps2EE60ntlNki62+mFF+eYBA3KHA2UjxZlFOthiO...
line 6 missing key: JEIXouJi0vJLwtAuTG/19wMeG/0Q9/rw+Y0/VFZH...
line 7 missing key: UHiU2G6xARAeYZmS9CzTPb8mQrA67cLmepXdvZv1...
line 8 missing key: ZJLCI6TnRJzbef3XEYdN9ftxFnFbnmJyQR/JJAyk...
line 9 missing key: O8mfnRkCgYEA/FwROkOo5uBZ/SwJCbj3n25kQdfQ...
line 10 missing key: bNtBXA30XuvaWC7dfDr3e+qRBxwzPXWefo5IzpKC...
line 11 missing key: LYz/dBpVmicShLFdJGqs7md3L4y4JX1lNJ6rIIYB...
line 12 missing key: 5swgIE/78eCHBm9XwtvBhZ1nUSSx/IzmkjCL/aRJ...
line 13 missing key: KLbMVy32oduS2Fzcu6XQ7mq7gzO6OHaQk61nipUk...
line 14 missing key: lrv33UfdcYUurpWnVzr40o/JT5j1RvJ+0qFzUy8C...
line 15 missing key: wvGoCxlOwHYOe23cKU4X9UaKBAMy7qnlGwqlI/P8...
line 16 missing key: rMpK/MLov+V5Kpd0Q8DlGzouEahovvoHYaTSp89W...
line 17 missing key: DDvmiDx6lmOtAEt1eLGqgpkCgYAms72ASkTwvXWh...
line 18 missing key: 42TQfZeoJP9rWvPwOWQzP8N9Debea6QPK8eh/E4v...
line 19 missing key: Pxy+L0Dcrqbtxj657OI/oWq/QneD99IM3Dcg5vM9...
line 20 missing key: X1QxoQKBgBKsToBA0c99QxlwM7hzr3OAMDGWmQ+j...
line 21 missing key: 8WTOkm47zHlM+WhHwasar5jFYc3MoZa/lUQZiZd3...
line 22 missing key: 6HVYsESxWXVx/uAJXbNguCl+5WUlGamFDDhNti5Z...
line 23 invalid key: -----END...
/root/.ssh/know_hosts is not a valid known_hosts file.
Not replacing existing known_hosts file because of errorsroot@slave:~# ssh-keygen -f "/root/.ssh/know_hosts" -R 172.29.0.181



Repeti o processo, mas deu o mesmo erro:


@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
fd:2e:b6:00:fb:76:16:40:12:bc:df:33:de:67:cf:06.
Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:1
remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 172.29.0.181
ECDSA host key for 172.29.0.181 has changed and you have requested strict checking.

Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]


19. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 04/04/2014 - 10:01h

Oi bom dia,

Por favor me ajuda nesse processo por favor.


20. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 07/04/2014 - 09:16h

Bom dia srs,

Realizei a configuração nos PostgreSQL, máquina servidor e escravo,mas quando eu vou fazer o rsync -av 172.29.0.2://var/lib/postgres/9.1/main ele pede a senha do root@172.29.0.2, gostaria de saber que senha é essa, o comando acima estou fazendo na maquina servidor.



21. Re: Replicação de Servidores [RESOLVIDO]

welckson silva de almeida
welckson

(usa Ubuntu)

Enviado em 12/04/2014 - 11:41h

Bom dia Srs,

Estou apenas com esse problema:

The PostgreSQL server failed to start. Please check the log output:
2014-04-12 08:48:52 BRT FATAL: could not load server certificate file "server.crt": Permissão negada



22. Re: Replicação de Servidores [RESOLVIDO]

Filippe
spolti

(usa Fedora)

Enviado em 14/04/2014 - 08:24h

Dá permissão de leitura neste arquivo para o usuário do postgre




01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts