- 论坛徽章:
- 0
|
本帖最后由 mengchr 于 2011-11-18 10:55 编辑
[root@mail ~]# /etc/init.d/dovecot start
Starting Dovecot Imap: Fatal: listen(::, 143) failed: Address already in use
[FAILED]
根据论坛前辈的postfix安装指南,centos 配置邮件系统。
postfix都已经正常了,Cyrus SASL 认证也测试了,然后安装的dovecot,系统默认的是1.07几的版本
在安装dovecot-devel的时候老是提示依赖问题
把dovecot升级到了1.1.20,
[root@mail ~]# rpm -q dovecot
dovecot-1.1.20-1_98.el5
[root@mail ~]# rpm -q postfix
postfix-2.8.4-1.rhel5
昨天的时候dovecot都启动正常,今天就不能启动了
[root@mail ~]# /etc/init.d/dovecot start
Starting Dovecot Imap: Fatal: listen(::, 143) failed: Address already in use
[FAILED]
查看端口也没有被占用啊?
[root@mail ~]# lsof -i tcp:143
[root@mail ~]# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2555/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2671/httpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2460/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3324/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 2671/httpd
tcp 0 264 192.168.10.253:22 192.168.10.125:1257 ESTABLISHED 3146/1
所有进程情况
[root@mail ~]# ps -aux
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2160 680 ? Ss 09:03 0:00 init [5]
root 2 0.0 0.0 0 0 ? S< 09:03 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 09:03 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< 09:03 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< 09:03 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN 09:03 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S< 09:03 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< 09:03 0:00 [migration/2]
root 9 0.0 0.0 0 0 ? SN 09:03 0:00 [ksoftirqd/2]
root 10 0.0 0.0 0 0 ? S< 09:03 0:00 [watchdog/2]
root 11 0.0 0.0 0 0 ? S< 09:03 0:00 [migration/3]
root 12 0.0 0.0 0 0 ? SN 09:03 0:00 [ksoftirqd/3]
root 13 0.0 0.0 0 0 ? S< 09:03 0:00 [watchdog/3]
root 14 0.0 0.0 0 0 ? S< 09:03 0:00 [events/0]
root 15 0.0 0.0 0 0 ? S< 09:03 0:00 [events/1]
root 16 0.0 0.0 0 0 ? S< 09:03 0:00 [events/2]
root 17 0.0 0.0 0 0 ? S< 09:03 0:00 [events/3]
root 18 0.0 0.0 0 0 ? S< 09:03 0:00 [khelper]
root 19 0.0 0.0 0 0 ? S< 09:03 0:00 [kthread]
root 25 0.0 0.0 0 0 ? S< 09:03 0:00 [kblockd/0]
root 26 0.0 0.0 0 0 ? S< 09:03 0:00 [kblockd/1]
root 27 0.0 0.0 0 0 ? S< 09:03 0:00 [kblockd/2]
root 28 0.0 0.0 0 0 ? S< 09:03 0:00 [kblockd/3]
root 29 0.0 0.0 0 0 ? S< 09:03 0:00 [kacpid]
root 127 0.0 0.0 0 0 ? S< 09:03 0:00 [cqueue/0]
root 128 0.0 0.0 0 0 ? S< 09:03 0:00 [cqueue/1]
root 129 0.0 0.0 0 0 ? S< 09:03 0:00 [cqueue/2]
root 130 0.0 0.0 0 0 ? S< 09:03 0:00 [cqueue/3]
root 133 0.0 0.0 0 0 ? S< 09:03 0:00 [khubd]
root 135 0.0 0.0 0 0 ? S< 09:03 0:00 [kseriod]
root 212 0.0 0.0 0 0 ? S 09:03 0:00 [khungtaskd]
root 213 0.0 0.0 0 0 ? S 09:03 0:00 [pdflush]
root 214 0.0 0.0 0 0 ? S 09:03 0:00 [pdflush]
root 215 0.0 0.0 0 0 ? S< 09:03 0:00 [kswapd0]
root 216 0.0 0.0 0 0 ? S< 09:03 0:00 [aio/0]
root 217 0.0 0.0 0 0 ? S< 09:03 0:00 [aio/1]
root 218 0.0 0.0 0 0 ? S< 09:03 0:00 [aio/2]
root 219 0.0 0.0 0 0 ? S< 09:03 0:00 [aio/3]
root 374 0.0 0.0 0 0 ? S< 09:03 0:00 [kpsmoused]
root 418 0.0 0.0 0 0 ? S< 09:03 0:00 [scsi_eh_0]
root 424 0.0 0.0 0 0 ? S< 09:03 0:00 [ata/0]
root 425 0.0 0.0 0 0 ? S< 09:03 0:00 [ata/1]
root 426 0.0 0.0 0 0 ? S< 09:03 0:00 [ata/2]
root 427 0.0 0.0 0 0 ? S< 09:03 0:00 [ata/3]
root 428 0.0 0.0 0 0 ? S< 09:03 0:00 [ata_aux]
root 444 0.0 0.0 0 0 ? S< 09:03 0:00 [kstriped]
root 465 0.0 0.0 0 0 ? S< 09:03 0:00 [ksnapd]
root 488 0.0 0.0 0 0 ? S< 09:03 0:00 [kjournald]
root 513 0.0 0.0 0 0 ? S< 09:03 0:00 [kauditd]
root 546 0.0 0.0 2396 668 ? S<s 09:03 0:00 /sbin/udevd -d
root 1057 0.0 0.0 0 0 ? S< 09:03 0:00 [kedac]
root 1505 0.0 0.0 0 0 ? S< 09:03 0:00 [kmpathd/0]
root 1506 0.0 0.0 0 0 ? S< 09:03 0:00 [kmpathd/1]
root 1507 0.0 0.0 0 0 ? S< 09:03 0:00 [kmpathd/2]
root 1508 0.0 0.0 0 0 ? S< 09:03 0:00 [kmpathd/3]
root 1509 0.0 0.0 0 0 ? S< 09:03 0:00 [kmpath_handlerd]
root 1532 0.0 0.0 0 0 ? S< 09:03 0:00 [kjournald]
root 1535 0.0 0.0 0 0 ? S< 09:03 0:00 [kjournald]
root 1538 0.0 0.0 0 0 ? S< 09:03 0:00 [kjournald]
root 1687 0.0 0.0 0 0 ? S< 09:04 0:00 [iscsi_eh]
root 1748 0.0 0.0 0 0 ? S< 09:04 0:00 [cnic_wq]
root 1770 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_addr]
root 1788 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_mcast]
root 1789 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_inform]
root 1790 0.0 0.0 0 0 ? S< 09:04 0:00 [local_sa]
root 1797 0.0 0.0 0 0 ? S< 09:04 0:00 [iw_cm_wq]
root 1803 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_cm/0]
root 1804 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_cm/1]
root 1805 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_cm/2]
root 1806 0.0 0.0 0 0 ? S< 09:04 0:00 [ib_cm/3]
root 1811 0.0 0.0 0 0 ? S< 09:04 0:00 [rdma_cm]
root 1831 0.0 0.0 32704 444 ? Ssl 09:04 0:00 brcm_iscsiuio
root 1839 0.0 0.0 3704 552 ? Ss 09:04 0:00 iscsid
root 1840 0.0 0.1 4160 4156 ? S<Ls 09:04 0:00 iscsid
root 2152 0.0 0.0 12628 756 ? S<sl 09:04 0:00 auditd
root 2154 0.0 0.0 12164 688 ? S<sl 09:04 0:00 /sbin/audispd
root 2176 0.0 0.0 1816 572 ? Ss 09:04 0:00 syslogd -m 0
root 2179 0.0 0.0 1764 408 ? Ss 09:04 0:00 klogd -x
root 2247 0.0 0.0 2560 372 ? Ss 09:04 0:00 irqbalance
dbus 2269 0.0 0.0 2848 884 ? Ss 09:04 0:00 dbus-daemon --system
root 2278 0.0 0.0 2256 756 ? Ss 09:04 0:00 /usr/sbin/hcid
root 2284 0.0 0.0 1832 500 ? Ss 09:04 0:00 /usr/sbin/sdpd
root 2313 0.0 0.0 0 0 ? S< 09:04 0:00 [krfcommd]
root 2351 0.0 0.0 23072 1296 ? Ssl 09:04 0:00 pcscd
root 2361 0.0 0.0 1760 536 ? Ss 09:04 0:00 /usr/sbin/acpid
68 2374 0.1 0.1 6164 4016 ? Ss 09:04 0:01 hald
root 2375 0.0 0.0 3264 1004 ? S 09:04 0:00 hald-runner
68 2384 0.0 0.0 2108 808 ? S 09:04 0:00 hald-addon-acpi: listening on acpid socket /var/
root 2406 0.0 0.0 2008 444 ? Ss 09:04 0:00 /usr/bin/hidd --server
root 2438 0.0 0.0 28400 1376 ? Ssl 09:04 0:00 automount
root 2460 0.0 0.0 7212 1056 ? Ss 09:04 0:00 /usr/sbin/sshd
root 2475 0.0 0.0 2836 840 ? Ss 09:04 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 2508 0.0 0.0 4632 1208 ? S 09:04 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/
mysql 2555 0.0 0.5 137316 17108 ? Sl 09:04 0:00 /usr/libexec/mysqld --basedir=/usr --datadir=/va
root 2650 0.0 0.0 8136 1740 ? Ss 09:04 0:00 /usr/libexec/postfix/master
root 2659 0.0 0.0 2000 360 ? Ss 09:04 0:00 gpm -m /dev/input/mice -t exps2
root 2671 0.0 0.3 27720 10776 ? Ss 09:04 0:00 /usr/sbin/httpd
root 2680 0.0 0.0 5380 1100 ? Ss 09:04 0:00 crond
xfs 2713 0.0 0.0 4076 1688 ? Ss 09:04 0:00 xfs -droppriv -daemon
avahi 2748 0.0 0.0 2696 1292 ? Ss 09:04 0:00 avahi-daemon: running [mail.local]
avahi 2749 0.0 0.0 2696 324 ? Ss 09:04 0:00 avahi-daemon: chroot helper
apache 2813 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2814 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2815 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2816 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2817 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2818 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2819 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
apache 2820 0.0 0.1 27720 5112 ? S 09:04 0:00 /usr/sbin/httpd
root 2822 0.0 0.0 3612 428 ? S 09:04 0:00 /usr/sbin/smartd -q never
root 2827 0.0 0.0 1748 444 tty1 Ss+ 09:04 0:00 /sbin/mingetty tty1
root 2828 0.0 0.0 1748 444 tty2 Ss+ 09:04 0:00 /sbin/mingetty tty2
root 2829 0.0 0.0 1748 464 tty3 Ss+ 09:04 0:00 /sbin/mingetty tty3
root 2830 0.0 0.0 1748 444 tty4 Ss+ 09:04 0:00 /sbin/mingetty tty4
root 2832 0.0 0.0 1748 448 tty5 Ss+ 09:04 0:00 /sbin/mingetty tty5
root 2834 0.0 0.0 1748 444 tty6 Ss+ 09:04 0:00 /sbin/mingetty tty6
root 2836 0.0 0.0 15708 2872 ? Ss 09:04 0:00 /usr/sbin/gdm-binary -nodaemon
root 2874 0.0 0.0 16320 2332 ? S 09:04 0:00 /usr/sbin/gdm-binary -nodaemon
root 2876 0.0 0.1 27652 4200 ? Sl 09:04 0:00 /usr/libexec/gdm-rh-security-token-helper
root 2877 0.0 0.1 11400 5168 tty7 Ss+ 09:04 0:00 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.
root 2883 0.0 0.3 25976 10340 ? SN 09:04 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
root 2885 0.0 0.0 2656 1072 ? SN 09:04 0:00 /usr/libexec/gam_server
gdm 2895 0.0 0.5 31656 16504 ? Ss 09:04 0:00 /usr/libexec/gdmgreeter
root 3146 0.0 0.0 10064 2944 ? Rs 09:09 0:00 sshd: root@pts/1
root 3151 0.0 0.0 4636 1444 pts/1 Ss 09:09 0:00 -bash
postfix 3216 0.0 0.0 8180 1336 ? S 09:15 0:00 pickup -l -t fifo -u
root 3227 0.0 0.0 4352 940 pts/1 R+ 09:16 0:00 ps -aux |
|