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