KK,

This means that port 110 or port 25 are already open.  You may be running 110
or 25 through inet.  In this case, edit /etc/inetd.conf and comment out the
lines with pop-3 and smtp, then restart inetd.  Not running inetd?  Maybe you
have a tcpserver already running.  Try killing all tcpserver processes.  You
can see what ports are open using this command:

for tcp ports: netstat -tla
for udp ports: netstat -ula
for both: netstat -utla

Hope this helps!

David Gartner

KK wrote:

> Hello Daniel -
>
> I am facing the same pbl as described below and I followed the same steps as
> instructed by u, making changes where ever required (pls see the code
> below). But when try to execute the script as "./run start" from the command
> prompt, it gives me the following output:
>
> Starting qmail...
> [1] 20142
> tcpserver: fatal: unable to bind: address already used
>
> Any clues, what could have gone wrong. Thanks.
>
> Kind regards.
>
> KK
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: David Gartner <[EMAIL PROTECTED]>
> To: Daniel Abad <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 25, 2001 1:37 AM
> Subject: Re: RES: RES: Telnet fail!
>
> > Daniel,
> >
> > Well.... here's what I have and it works.  You should also make sure that
> the
> > directory vpop is in is owned to the vpopmail user and group you created.
> >
> > This (of course) has to be executable.  You start by doing: ./filename
> start
> > You stop by: ./filename stop
> >
> > You'll have to edit this as needed.
> >
> > #!/bin/sh
> > export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/var/qmail/bin"
> > /etc/rc.d/init.d/functions
> > [ -f /var/qmail/bin/qmail-start ] || exit 0
> > case "$1" in
> > start)
> > echo -n "Starting qmail..."
> > echo
> > /bin/csh -cf '/var/qmail/rc &'
> > /usr/local/bin/tcpserver -c 200 0 110 /var/qmail/bin/qmail-popup
> mail_domain.com
> > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1
> > /usr/local/bin/tcpserver -c 200 -p -x
> /home/vpopmail/etc/tcp.smtp -u89 -g89 0 25
> > /var/qmail/bin/qmail-smtpd &
> > ;;
> > stop)
> > echo -n "Stopping qmail..."
> > echo
> > killall qmail-send
> > killall tcpserver
> > ;;
> > restart)
> > $0 stop
> > $0 start
> > ;;
> > *)
> > echo -n "Usage: $0 {start|stop|restart}"
> > echo
> > exit 1
> > esac
> > exit 0
> >
> > Hope this helps. Good luck!
> >
> > David

Reply via email to