The reason for this error is the conflict of hostname in two files
check the hostname in
/etc/hosts
/etc/hostname