View Full Version : Dovecot stopped..
Katana
03-15-2008, 05:12 AM
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
jlasman
03-15-2008, 05:44 PM
You need to try to restart it from the shell to see the real error message:
# service dovecot restart
Jeff
Katana
03-16-2008, 04:47 AM
# 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
tanfwc
03-16-2008, 09:05 AM
netstat -anop|grep :25
This will tell you what is using port 25
Katana
03-16-2008, 09:30 AM
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
jlasman
03-16-2008, 12:05 PM
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.
netstat -anop|grep :995
Will tell you what is using port 995.
Jeff
Katana
03-16-2008, 12:47 PM
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 )
Katana
03-18-2008, 06:50 AM
Just rebooted the whole shabang and it seems to work again..
Anywere i can check for possible things that caused dovecot to stop?
Katana
03-20-2008, 01:36 PM
Slight bum to ask were and what i should check to try and trace back the reason dovecot stops working?
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.