Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2006, 16:52
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 13th March 2006, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Please post the output of
Code:
netstat -tap
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th March 2006, 18:13
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #4  
Old 13th March 2006, 23:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Ok, please post the output of
Code:
ls -la /etc/xinetd.d/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th March 2006, 08:49
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #6  
Old 14th March 2006, 09:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Ok, please open /etc/xinetd.d/imap, /etc/xinetd.d/imaps, /etc/xinetd.d/ipop2 and /etc/xinetd.d/ipop3 and put

Code:
disable = yes
into each of them. Then do this:

Code:
/etc/init.d/xinetd restart
/etc/init.d/dovecot restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 14th March 2006, 10:14
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #8  
Old 14th March 2006, 10:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,589
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please add "disable = yes" also in /etc/xinetd.d/pop3s

Then restart xinetd, wait about 30 seconds and then restart dovecot.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 14th March 2006, 16:19
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default

Thank you so mutch guys!

Now it works.

I actualy think I understood the problem to, after you explained it.

Thanks again.
Reply With Quote
  #10  
Old 14th March 2006, 17:25
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
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
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
Problem sending mail to 2nd SMTP server inside network kisong Server Operation 2 2nd March 2006 18:05


All times are GMT +2. The time now is 14:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.