Dovecot stopped..

Katana

Verified User
Joined
Jul 7, 2004
Messages
20
Dovecot was working right, when all of a sudden it stopped..

When i try to start it it wont and i get this in the services screen:


An error has occurred

Details

/sbin/service dovecot start 2>&1

I presume that that is the start command?

Were would i go off to tackle the problem? ( I can always get my host to go chasing it, but i like to learn myself )
My VPS runs on CentOS 5.x
 
You need to try to restart it from the shell to see the real error message:
Code:
# service dovecot restart
Jeff
 
# service dovecot restart
Shutting down dovecot: [FAILED]
Starting dovecot: Fatal: listen(995) failed: Address already in use
[FAILED]


So something else is already using the port.. Now i gotta hunt that down..
Thanks Jef
 
tcp 0 0 0.0.0.0:25 0.0.0.0:* LIST EN 2147/exim off (0.00/0/0)

I stopped exim through the DA, to no avail for restarting dovecot.. Just tells error again in DA..


My processes as seen in DA service monitor:
directadmin directadmin (pid 2133 8295 8296 8313 8314 8357 )
dovecot Process is stopped
exim exim (pid 8351 )
httpd httpd (pid 1225 1242 1243 1244 1245 1246 2037 )
mysqld mysqld (pid 1085 2084 2087 2092 2093 )
named named (pid 2462 )
proftpd proftpd (pid 2206 )
sshd sshd (pid 1975 8176 8178 )

And then i have Teamspeak running with the TS2perlmod. Only TS is using ports ( 5930 - 9000 - 51234 ) TS2perlmod is just a addon to prevent naughty things from happening
 
Last edited:
I don't see how port 25 has anything to do with it.

I don't see why port 995 is being used by Dovecot.
Code:
netstat -anop|grep :995
Will tell you what is using port 995.

Jeff
 
netstat -anop|grep :995
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 1661/rpc.statd off (0.00/0/0)


And there are 3 orso running in total if i recall right.. ( rpc.statd )
 
Just rebooted the whole shabang and it seems to work again..
Anywere i can check for possible things that caused dovecot to stop?
 
Slight bum to ask were and what i should check to try and trace back the reason dovecot stops working?
 
Back
Top