Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th September 2004, 09:14 AM
dtaju Offline
Registered User
 
Join Date: Sep 2004
Posts: 1
Error connecting to IMAP server: localhost.

Hi,
I have install FC2 and qmailtoaster. The webmail is SquirrelMail version 1.4.3a-1.
I also configure the dovecot.conf file at /etc
with this:

protocols = imap imaps

imap_listen = *
pop3_listen = *

auth_userdb = vpopmail
auth_passdb = vpopmail
default_mail_env = maildir:/home/vpopmail/domains/%d/%n/Maildir

I have try: service dovecot status
dovecot dead but subsys locked

I stiil got on webmail
Error connecting to IMAP server: localhost.
111 : Connection refused


What have I done wrong?
Reply With Quote
  #2  
Old 11th November 2004, 08:49 PM
breun Offline
Registered User
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 73
I don't know, but today my dovecot suddenly stopped working and now also says "dovecot dead but subsys locked" when i run "service dovecot status" (although "service dovecot start" seems to run OK). "service dovecot stop" fails. I'm on FC3 and dovecot-0.99.11-1.1.fc2.dag, but get the same response using dovecot-0.99.11-1.FC3.4 (isn't that supposed to be -1.4.FC3 by the way?). these are both default clean unmodified installs (default dovecot.conf).
Reply With Quote
  #3  
Old 11th November 2004, 10:09 PM
breun Offline
Registered User
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 73
When I run "service dovecot start" after booting (dovecot not set to start automatically) this is added to /var/log/maillog:

Quote:
Nov 11 23:00:53 breuniac dovecot: Dovecot starting up
Nov 11 23:00:54 breuniac dovecot: Auth process died too early - shutting down
Nov 11 23:00:54 breuniac imap-login: fd_send(-1) failed: Broken pipe
What could be the problem? I want local users to be able to log in using their account username and password. I have these lines in /etc/dovecot.conf

auth_userdb = passwd
auth_passdb = shadow (default: auth_passdb = pam)

I also set auth_verbose = yes, but where can I find this verbose output on authentication? /var/log/maillog tells me no more than that the "Auth process died too early".

Last edited by breun; 11th November 2004 at 11:08 PM.
Reply With Quote
  #4  
Old 12th November 2004, 12:11 AM
breun Offline
Registered User
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 73
I mailed the author of dovecot and the told me to check the output of ldd /usr/libexec/dovecot/dovecot-auth. According to the output dovecot-auth was missing libmysqlclient.so.10 on my machine. Strangely enough it was installed in /usr/lib/mysql as part of the mysql package. Just to be sure I reinstalled mysql and now dovecot works again!
Reply With Quote
  #5  
Old 30th November 2004, 08:19 PM
asommer Offline
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks for the info...I had the same problem on FC3 upgraded from FC2. I downloaded MySQL from thier site though and needed to install:

MySQL-shared-compat-4.1.7-0.i386.rpm

for it to work....Just an FYI.

thanks again.
Reply With Quote
Reply

Tags
connecting, error, imap, localhost, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error connect to server at 'localhost' failed peter5898 Using Fedora 6 12th February 2007 01:16 PM
Squirrelmail / Dovecot / Sendmail problem - ERROR: Connection dropped by IMAP server. Racerdude Servers & Networking 1 2nd December 2006 08:07 AM
Error connecting to IMAP server: localhost. dogbone Servers & Networking 6 8th January 2006 07:35 AM
Quirrelmail - Error connecting to IMAP server lrgarza Using Fedora 0 10th November 2005 06:18 PM
SquirrelMail ERROR: Connection dropped by IMAP server. alarcha15 Servers & Networking 5 14th October 2005 05:24 PM


Current GMT-time: 11:41 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat