Sorry about this but this is a junkyard.
read on

On Tuesday, May 22, 2001 19:44, Joshua Nichols [SMTP:[EMAIL PROTECTED]] wrote:
> 
> Sorry about the long posting, but at least everythings in one place.
> 
> It seems to me that qmail-pop3d is not running correctly, thus explaining
> the errors in /var/log/maillog, but is that also causing my splogger process
> problem?
> 
> 
> > > I just sent out a sizable mailing, so I expect the server to be busy and
> > > working hard, but seriously... thousands of copies of splogger?  Is it
> > > /supposed/ to run a new instance for each outgoing message?
> >
> > No, not at all. You are obviously doing something wrong. Please
> > provide more detail:
> > - how are you starting qmail
> 
> With supervise.  I've added several key files below for a more complete
> reference.
> 
> > - how are you sending out the mailing
> It's a perl script that uses sendmail, but it is the qmail replacement for
> sendmail.
> 
> > - are the splogger processes visibly doing something towards syslog
> 
> Well, /var/log/maillog has tons of these error messages:
> 
> May 22 11:31:57 nsc pop3d: 990545517.798654 tcpserver: fatal: unable to
> bind: address already used
> 
> 
> 
> FILES:
> 
> /var/qmail/supervise/qmail-send/run
> ---------------------------------------
> #!/bin/sh
> exec /var/qmail/rc
> ---------------------------------------
where is the contents of /var/qmail/rc ??????
> 
> 
> /var/qmail/supervise/qmail-send/log/run
> ---------------------------------------
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000
> /var/log/qmail/qmail-send
> ---------------------------------------
> 
> 
> /var/qmail/supervise/qmail-pop3d/run
> ---------------------------------------
> #!/bin/sh
> tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.nextstepcapital.net
> /bin/ \
> checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
> /var/qmail/bin/splogger \
> pop3d&
> ---------------------------------------
remove the 
| /var/qmail/bin/splogger pop3d& 
from the above script the logging is done in /var/qmail/supervise/qmail-pop3d/log/run
this is why you get a lot of splogger processes
> 
> 
> /var/qmail/supervise/qmail-pop3d/log/run
> ---------------------------------------
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s2500000
> /var/log/qmail/qmail-pop3d
> ---------------------------------------
> 
> 
> /etc/rc.d/init.d/qmail
> ---------------------------------------
> #!/bin/sh -e
> # /etc/init.d/qmail : start or stop the qmail mail subsystem.
> # borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail
> # modified by Adam McKenna <[EMAIL PROTECTED]>
> 
> PATH=$PATH:/usr/local/bin:/var/qmail/bin
> 
> case "$1" in
>     start)
>     echo -n "Starting mail-transport-agent:"
>     svc -u /var/qmail/supervise/*
>     echo -n " qmail"
>     svc -u /var/qmail/supervise/*/log
>     echo " logging."
>     ;;
> stop)
>     echo -n "Stopping mail-transport-agent: "
>     echo -n " qmail"
>     svc -d /var/qmail/supervise/*
>     echo " logging"
>     svc -d /var/qmail/supervise/*/log
>     ;;
> restart)
>     $0 stop
>     $0 start
>     ;;
> reload|force-reload)
>     echo "Reloading 'locals' and 'virtualdomains' control files."
>     svc -h /var/qmail/supervise/qmail-send
>     ;;
> *)
>     echo 'Usage: /etc/init.d/qmail {start|stop|restart|reload}'
>     exit 1
> esac
> 
> exit 0
> ---------------------------------------
> 
> 
> /etc/rc.local (partial)
> ---------------------------------------
>     /etc/init.d/svscan start
>     tcpserver 0 110 /var/qmail/bin/qmail-popup mail.nextstepcapital.net \
>     /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> ---------------------------------------
remove 
    tcpserver 0 110 /var/qmail/bin/qmail-popup mail.nextstepcapital.net \
    /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

because qmail-popup is already running under supervise
this is why you get the error message  fatal: unable to bind: address already used

> 

Reply via email to