Posts

Showing posts from December, 2013

Slow SSH login SSH2_MSG_SERVICE_ACCEPT received

After installing new VM, my login to the server was with delay after entering the username. The ssh -v logs shows as follow: # ssh -v root@newserver  ... debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password ... and delay were happening at SSH2_MSG_SERVICE_ACCEPT received debug line, This server being recently installed, it even couldn't resolve its own hostname: # ping newserver.example.com ^C # So for me I needed to add the new VM FQDN to dns server or to /etc/hosts file of the server: # vim /etc/hosts 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 10.18.20.32 newserver.example.com newserver And issue resolved.  Even though disabling useDNS in sshd config file was solv

yum update [Errno -3] Error performing checksum

Recently I had this issue of checksum error while doing yum update in my RHEL5 servers. # yum update Loaded plugins: security rhel5-local/primary_db                                                                                                                          |    0 B     00:00 ftp://10.8.227.50/pub/LocalYumRepoRHEL5.1/repodata/c7408a1fce29f12df452017556509b3a3ebde95d7d01e8ea0adb052f97c43e86-primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror. Error: failure: repodata/c7408a1fce29f12df452017556509b3a3ebde95d7d01e8ea0adb052f97c43e86-primary.sqlite.bz2 from rhel5-local: [Errno 256] No more mirrors to try. The usaual following way didn't work for me: # yum clean all # yum clean metadata # yum update Further I have disabled fastmirror for my yum config and it didn't work as well: # grep enabled /etc/yum/pluginconf.d/fastestmirror.conf enabled=0 I've even disabled http cache in yum.conf but same error: # cat /etc/yum.