- Plesk 12.5 for Linux
- Plesk 11.x for Linux
- Plesk 12.0 for Linux
Unable to log in to Horde webmail:
Error connecting to mail server.
Unable to telnet localhost on port 143 from the server:
# telnet localhost 143
telnet: localhost: Name or service not known
localhost: Unknown host
127.0.0.1 localhostentry is missing in the
# grep "127.0.0.1 localhost" /etc/hosts
- There may be a duplicate
# grep hosts /etc/nsswitch.conf
hosts: db files nisplus nis dns
hosts: files dns
Name Service Switch or hosts misconfiguration.
The solution below should be applied from the server directly. It is not possible to apply it from Plesk web interface.
- Connect to the server using SSH
/etc/hostsfile in any text editor, for example,
# vi /etc/hosts
- Add the
127.0.0.1 localhostline in it and save the file
/etc/nsswitch.conffile in any text editor, for example,
# vi /etc/nsswitch.conf
Remove one of the lines that start with "hosts"