I can't find the service which uses port 110 
In /var/log/qmail/pop3d/
Tcpserver:fatal:unable to bind: address already used 
When typing 

[EMAIL PROTECTED] root]# lsof | grep 110
rpc.statd  546 rpcuser  mem    REG        3,2    11012  3014674 
/usr/lib/sasl/libcrammd5.so.1.0.19
slapd      655    root  mem    REG        3,2    11012  3014674 
named      669   named  mem    REG        3,2    11012  3014674 
/usr/lib/sasl/libcrammd5.so.1.0.19
xfs        805     xfs  mem    REG        3,2    11012  3014674 
/usr/lib/sasl/libcrammd5.so.1.0.19
gdm-binar  928    root  mem    REG        3,2    11012  3014674 
/usr/lib/sasl/libcrammd5.so.1.0.19
fam       1021    root  mem    REG        3,2    11012  3014674 
/usr/lib/sasl/libcrammd5.so.1.0.19
nautilus  1030    root  mem    REG        3,2   110576    98686 
/usr/lib/libgsf-1.so.1.6.0
rhn-apple 1039    root  mem    REG        3,2   110560   393237 
/usr/lib/python2.2/site-packages/rpmmodule.so
lsof      1230    root    5w  FIFO        0,5             14110 pipe
lsof      1232    root    4r  FIFO        0,5             14110 pipe

and 

[EMAIL PROTECTED] root]# pstree -p
init(1)---apmd(613)
        +-atd(837)
        +-bdflush(9)
        +-bonobo-activati(1010)
        +-crond(734)
        +-cupsd(745)
        +-eggcups(1035)
        +-gconfd-2(1008)
        +-gdm-binary(859)---gdm-binary(928)---X(929)
        ╕                                   +-gnome-session(939)---ssh-agent(997)
        +-gnome-panel(1028)
        +-gnome-settings-(1014)
        +-gnome-terminal(1054)---bash(1056)---pstree(1256)
        ╕                      +-gnome-pty-helpe(1055)
        +-gpm(714)
        +-kapmd(3)
        +-keventd(2)
        +-khubd(73)
        +-kjournald(15)
        +-kjournald(179)
        +-kjournald(180)
        +-kjournald(181)
        +-kjournald(182)
        +-kjournald(183)
        +-kjournald(184)
        +-kjournald(185)
        +-klogd(509)
        +-kscand/DMA(6)
        +-kscand/HighMem(8)
        +-kscand/Normal(7)
        +-ksoftirqd_CPU0(4)
        +-kswapd(5)
        +-kupdated(10)
        +-magicdev(1032)
        +-mdrecoveryd(11)
        +-metacity(1012)
        +-mingetty(853)
        +-mingetty(854)
        +-mingetty(855)
        +-mingetty(856)
        +-mingetty(857)
        +-mingetty(858)
        +-mozilla-bin(1234)
        +-named(669)
        +-nautilus(1030)
        +-nmbd(818)---nmbd(819)
        +-notification-ar(1052)
        +-pam-panel-icon(1037)---pam_timestamp_c(1040)
        +-portmap(527)
        +-rhn-applet-gui(1039)
        +-rhnsd(847)
        +-rpc.statd(546)
        +-slapd(655)
        +-smbd(814)
        +-sshd(682)
        +-svscanboot(860)---readproctitle(872)
        ╕                 +-svscan(871)---supervise(879)
        ╕                               +-supervise(880)
        ╕                               +-supervise(881)---tcpserver(1219)
        ╕                               +-supervise(895)---multilog(1222)
        ╕                               +-supervise(897)---tcpserver(1138)
        ╕                               +-supervise(898)---multilog(899)
        +-syslogd(505)
        +-xfs(805)
        +-xinetd(696)---fam(1021)

when using telnet 

[EMAIL PROTECTED] root]# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user ww
+OK
pass ww
-ERR unable to write pipe
Connection closed by foreign host.


You've got either a frozen process that will not let go, or something 
else is hanging onto that port.

You can try to use:
lsof |grep 110
to see what program has a handle on it.  Otherwise in a ps try to see if 
any other pop daemons are lingering around.

My guess is you may have stopped the pop service and started it before 
all the children had a chance to die off - or one just doesn't want to go.

-kris

[EMAIL PROTECTED] wrote:

>Dear all , 
>
>am trying to install pop3 or imap service 
>i have copied this script
>vi  /var/qmail/supervise/qmail-pop3d/run
>#!/bin/sh
>MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
>exec /usr/local/bin/softlimit -m 2000000 \
>        /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c "$MAXPOP3D" \
>         0 110 /var/qmail/bin/qmail-popup  mail.alkhabeer.com /var/qmail/bin/auth_pop 
> \
>        /var/qmail/bin/qmail-pop3d Maildir 2>&1
>but when i try to run it i get this error 
>[EMAIL PROTECTED] root]# /var/qmail/supervise/qmail-pop3d/run
>tcpserver: fatal: unable to bind: address already used
>
>-
>  
>
>>How can I use 
>>qmail-ldap auth_pop, auth_imap
>>can you put me in the road  
>>
>>    
>>
>
>more QLDAPINSTALL
>
>and have a look at /var/qmail/boot/qmail-pop3d/run
>
>  
>


Reply via email to