
13th March 2006, 16:52
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
|
|
Fedora 4 TPS mail problem
I used the Fedora 4 TPS Howto, and all worked perfeckt until right now.
Suddenly dovecot won`t start, I get a message that the port i already in use.
This is the services on my system:
Code:
[root@ ~]# service --status-all
acpid (pid 2413) is running...
anacron is stopped
Nightly apt update is disabled.
atd (pid 2726) is running...
auditd (pid 2226) is running...
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=60 /net program /etc/auto.net
Active Mount Points:
--------------------
/usr/sbin/automount --timeout=60 /net program /etc/auto.net
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
hcid is stopped
sdpd is stopped
cpuspeed is stopped
crond (pid 2685) is running...
cupsd (pid 2421) is running...
dc_client is stopped
dc_server is stopped
cat: /var/run/dhcdbd.pid: No such file or directory
Device not specified in /etc/sysconfig/diskdump
dovecot is stopped
gpm (pid 2663) is running...
hald (pid 2753) is running...
Usage: /etc/init.d/hidd {start|stop|restart|reload|condrestart}
httpd (pid 2949 2948 2947 2946 2945 2944 2943 2942 2904) is running...
Firewall is stopped.
irattach is stopped
Usage: /etc/init.d/ispconfig_server {start|stop|restart}
mdmpd is stopped
mDNSResponder (pid 2405) is running...
dbus-daemon (pid 2744) is running...
mysqld (pid 2565) is running...
number of zones: 9
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
Server address not specified in /etc/sysconfig/netdump
netplugd is stopped
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth0 eth1
NetworkManager is stopped
NetworkManagerDispatcher is stopped
Shutting down NFS mountd: rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
rpc.statd (pid 2213) is running...
nifd (pid 2375) is running...
nscd is stopped
ntpd is stopped
portmap (pid 2196) is running...
master (pid 2976) is running...
proftpd (pid 3021) is running...
Process accounting is disabled.
rdisc is stopped
rpc.idmapd (pid 2256) is running...
saslauthd (pid 2737 2736 2735 2734 2733) is running...
sendmail is stopped
smbd is stopped
nmbd is stopped
spamd (pid 2676 2675 2674 2673 2672 2655) is running...
squid is stopped
squid: ERROR: No running copy
sshd (pid 3251 2464) is running...
syslogd (pid 2125) is running...
klogd (pid 2127) is running...
tux is stopped
winbindd is stopped
xfs (pid 2713) is running...
xinetd (pid 2472) is running...
ypbind is stopped
Nightly yum update is disabled.
Wich service is interfearing with Dovecot?
(might be serveral services that shouldn`t be running now, I`ve played around abit)
Last edited by Hagforce; 14th March 2006 at 10:16.
|

13th March 2006, 17:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Please post the output of
|

13th March 2006, 18:13
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
|
|
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 2473/xinetd
tcp 0 0 *:pop3s *:* LISTEN 2473/xinetd
tcp 0 0 *:mysql *:* LISTEN 2566/mysqld
tcp 0 0 *:pop2 *:* LISTEN 2473/xinetd
tcp 0 0 *:pop3 *:* LISTEN 2473/xinetd
tcp 0 0 www.xxx.xxx:783 *:* LISTEN 2656/spamd.pid
tcp 0 0 *:imap *:* LISTEN 2473/xinetd
tcp 0 0 *:55567 *:* LISTEN 2214/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 2197/portmap
tcp 0 0 *:81 *:* LISTEN 2883/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 3022/proftpd: (acce
tcp 0 0 static47.xxxx.co:domain *:* LISTEN 3003/named
tcp 0 0 static48.xxxx.co:domain *:* LISTEN 3003/named
tcp 0 0 www.xxx.xx:domain *:* LISTEN 3003/named
tcp 0 0 www.xxx.xx:ipp *:* LISTEN 2422/cupsd
tcp 0 0 www.xxx.xx:5335 *:* LISTEN 2406/mDNSResponder
tcp 0 0 www.xxx.xx:rndc *:* LISTEN 3003/named
tcp 0 0 *:smtp *:* LISTEN 2977/master
tcp 0 0 *:http *:* LISTEN 2905/httpd
tcp 0 0 *:ssh *:* LISTEN 2465/sshd
tcp 0 0 ::1:rndc *:* LISTEN 3003/named
tcp 0 0 *:https *:* LISTEN 2905/httpd
tcp 0 2892 static48.xxx.com:ssh static67.xxxx.com:60074 ESTABLISHED 3292/0
|

13th March 2006, 23:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Ok, please post the output of
Code:
ls -la /etc/xinetd.d/
|

14th March 2006, 08:49
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
|
|
Here it is:
Code:
total 112
drwxr-xr-x 2 root root 4096 Mar 13 15:54 .
drwxr-xr-x 78 root root 12288 Mar 13 18:08 ..
-rw-r--r-- 1 root root 563 Mar 8 2005 chargen
-rw-r--r-- 1 root root 580 Mar 8 2005 chargen-udp
-rw-r--r-- 1 root root 523 Aug 23 2005 cvs
-rw-r--r-- 1 root root 419 Mar 8 2005 daytime
-rw-r--r-- 1 root root 438 Mar 8 2005 daytime-udp
-rw-r--r-- 1 root root 341 Mar 8 2005 echo
-rw-r--r-- 1 root root 360 Mar 8 2005 echo-udp
-rw-r--r-- 1 root root 323 Jun 30 2005 eklogin
-rw-r--r-- 1 root root 326 Jun 30 2005 gssftp
-rw-r--r-- 1 root root 367 Mar 13 15:47 imap
-rw-r--r-- 1 root root 362 Mar 13 15:47 imaps
-rw-r--r-- 1 root root 450 Mar 13 15:47 ipop2
-rw-r--r-- 1 root root 356 Mar 13 13:44 ipop3
-rw-r--r-- 1 root root 310 Jun 30 2005 klogin
-rw-r--r-- 1 root root 323 Jun 30 2005 krb5-telnet
-rw-r--r-- 1 root root 308 Jun 30 2005 kshell
-rw-r--r-- 1 root root 332 Mar 13 15:54 pop3s
-rw-r--r-- 1 root root 317 May 17 2005 rsync
-rw-r--r-- 1 root root 497 Mar 8 2005 time
-rw-r--r-- 1 root root 518 Mar 8 2005 time-udp
-rw-r----- 1 root root 405 Aug 2 2005 xproftpd
|

14th March 2006, 09:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Ok, please open /etc/xinetd.d/imap, /etc/xinetd.d/imaps, /etc/xinetd.d/ipop2 and /etc/xinetd.d/ipop3 and put
into each of them. Then do this:
Code:
/etc/init.d/xinetd restart
/etc/init.d/dovecot restart
|

14th March 2006, 10:14
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
|
|
When I try to restart Dovecot I get
Code:
Stopping Dovecot Imap: [FAILED]
Starting Dovecot Imap: Fatal: listen(995) failed: Address already in use
[FAILED]
The Netstat -tap showes
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:pop3s *:* LISTEN 2472/xinetd
tcp 0 0 *:mysql *:* LISTEN 2565/mysqld
tcp 0 0 *:33358 *:* LISTEN 2214/rpc.statd
tcp 0 0 www.xxx.xx:783 *:* LISTEN 2655/spamd.pid
tcp 0 0 *:sunrpc *:* LISTEN 2196/portmap
tcp 0 0 *:81 *:* LISTEN 2884/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 3024/proftpd: (acce
tcp 0 0 static47.xxx.xxx:domain *:* LISTEN 3004/named
tcp 0 0 static48.xxx.xxx:domain *:* LISTEN 3004/named
tcp 0 0 www.xxx.xx:domain *:* LISTEN 3004/named
tcp 0 0 www.xxx.xx:ipp *:* LISTEN 2421/cupsd
tcp 0 0 www.xxx.xx:5335 *:* LISTEN 2405/mDNSResponder
tcp 0 0 www.xxx.xx:rndc *:* LISTEN 3004/named
tcp 0 0 *:smtp *:* LISTEN 2978/master
tcp 0 0 *:http *:* LISTEN 2906/httpd
tcp 0 0 *:ssh *:* LISTEN 2464/sshd
tcp 0 0 localhost:rndc *:* LISTEN 3004/named
tcp 0 0 *:https *:* LISTEN 2906/httpd
tcp 0 2072 static48.xxxx.xx:ssh s164173.xxx.xxx.:1563 ESTABLISHED 2698/0
And the ls -la /etc/xinetd.d/ showes
Code:
total 112
drwxr-xr-x 2 root root 4096 Mar 13 15:54 .
drwxr-xr-x 78 root root 12288 Mar 14 10:07 ..
-rw-r--r-- 1 root root 563 Mar 8 2005 chargen
-rw-r--r-- 1 root root 580 Mar 8 2005 chargen-udp
-rw-r--r-- 1 root root 523 Aug 23 2005 cvs
-rw-r--r-- 1 root root 419 Mar 8 2005 daytime
-rw-r--r-- 1 root root 438 Mar 8 2005 daytime-udp
-rw-r--r-- 1 root root 341 Mar 8 2005 echo
-rw-r--r-- 1 root root 360 Mar 8 2005 echo-udp
-rw-r--r-- 1 root root 323 Jun 30 2005 eklogin
-rw-r--r-- 1 root root 326 Jun 30 2005 gssftp
-rw-r--r-- 1 root root 368 Mar 14 10:00 imap
-rw-r--r-- 1 root root 363 Mar 14 10:01 imaps
-rw-r--r-- 1 root root 451 Mar 14 10:02 ipop2
-rw-r--r-- 1 root root 357 Mar 14 10:03 ipop3
-rw-r--r-- 1 root root 310 Jun 30 2005 klogin
-rw-r--r-- 1 root root 323 Jun 30 2005 krb5-telnet
-rw-r--r-- 1 root root 308 Jun 30 2005 kshell
-rw-r--r-- 1 root root 332 Mar 13 15:54 pop3s
-rw-r--r-- 1 root root 317 May 17 2005 rsync
-rw-r--r-- 1 root root 497 Mar 8 2005 time
-rw-r--r-- 1 root root 518 Mar 8 2005 time-udp
-rw-r----- 1 root root 405 Aug 2 2005 xproftpd
|

14th March 2006, 10:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Please add "disable = yes" also in /etc/xinetd.d/pop3s
Then restart xinetd, wait about 30 seconds and then restart dovecot.
|

14th March 2006, 16:19
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
|
|
Thank you so mutch guys!
Now it works.
I actualy think I understood the problem to, after you explained it.
Thanks again.
|

14th March 2006, 17:25
|
|
Senior Member
|
|
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
|
|
I want to change the IP adress on the server, will it be a problem?
Do I have to change the IP somewhere alse than in the ifconf file.....
I see that there are some references to the ip adress in ispconfig.
Just wanted to be sure before I change something
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:22.
|
|
Recent comments
1 day 5 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 6 hours ago
2 days 6 hours ago
2 days 11 hours ago
2 days 18 hours ago
2 days 19 hours ago
2 days 20 hours ago