Error when logging to Squirrel Mail

5 posts / 0 new
Last post
#1 Wed, 06/27/2012 - 21:24
hdavy2002

Error when logging to Squirrel Mail

Hi all,

I am getting this error when logging to my squirrelmail.

ERROR Error connecting to IMAP server: localhost. 0 : php_network_getaddresses: getaddrinfo failed: Name or service not known Go to the login page

any suggestions??

Thanks for reading my post and I really appreciate all your help.

Best

Wed, 06/27/2012 - 22:07
andreychek

Howdy,

What is the contents of your /etc/hosts file?

In there, you'd want to make sure it contains a line that contains this:

127.0.0.1 localhost

Thu, 06/28/2012 - 02:34 (Reply to #2)
hdavy2002

This is my hosts file

[root@308217 ~]# vim /etc/hosts 127.0.0.1 localhost 192.168.10.22 308217.funtimecharters.com 308217

Still the same, is there any logs i can see with the possibility of diagnosing this error. The internet is suggesting that the host file should have as you suggested and it seems to have solved a lot of similar issues out there.

But in my case, I am out of luck.

Thanks andreychek, I really appreciate your help.

cheers

Tue, 07/24/2012 - 16:08 (Reply to #3)
matimont

Go to WebMin, then at the bottom of the left menu, click "System Information", then in the status tab, click the refresh icon under "Action" column, that worked for me...

Tue, 07/24/2012 - 20:22
hdavy2002

Thanks Matimont, that helps

Topic locked