batcher f5069.n550.z2 skipping "@03014255464630300000000267730000..." too long

Denis Shaposhnikov dsh at neva.vlink.ru
Tue Jun 20 09:00:35 UTC 2000


>>>>> "Katsuhiro" == Katsuhiro Kondou <kondou at nec.co.jp> writes:

 Katsuhiro> } I use inn-BETA-20000505 and periodicly see message like
 Katsuhiro> this in } errlog. What is mean? I think, this article
 Katsuhiro> don't sent to this site } and lost.

 Katsuhiro> How are you runnig batcher?  Batcher claims input data is

This is part of my newsfeeds:

uufeed!\
        :!*\
        :Tx,Wnb*:/usr/local/news/bin/buffchan -f 2 -p /var/run/news/uufeed.pid

f5069.n550.z2:\
        fido.*,\
        !comp.*,!control,!junk,!misc.*,!relcom.*\
        :Tm:uufeed!

I use this script, for sending batches:

#! /bin/sh
#
# SH script to send FTN batches out.

. /usr/local/news/lib/innshellvars

PROGNAME=`basename $0`
LOG=${MOST_LOGS}/${PROGNAME}.log

# Go to where the action is, start logging.
cd ${BATCH}
umask 002
DEBUG=""

if [ "X$1" = X-d ]; then
    DEBUG="-d"
    shift
else
    [ ! -f ${LOG} ] && touch ${LOG}
    chmod 0660 ${LOG}
    exec >>${LOG} 2>&1
fi

echo "$PROGNAME: [$$] begin `date`"

#  List of sitenames to send to.
if [ -n "$1" ]; then
    LIST="$*"
else
    LIST=`ls | grep "f[0-9]*.n[0-9]*.z[0-9]*$"`
fi

# Do the work...
for SITE in ${LIST}; do
    BATCHFILE=${SITE}.ifmail
    LOCK=${LOCKS}/LOCK.${SITE}
    trap 'rm -f ${LOCK}; exit 1' 1 2 3 15

    shlock -p $$ -f ${LOCK} || {
	echo "${PROGNAME}: [$$] ${SITE} locked by `cat ${LOCK}`"
	continue
    }

    # See if any data is ready for host.
    if [ -f ${SITE}.work ]; then
	cat ${SITE}.work >> ${BATCHFILE}
	rm -f ${SITE}.work
    fi

    mv ${SITE} ${SITE}.work
    ctlinnd -s -t30 flush ${SITE} || continue
    cat ${SITE}.work >> ${BATCHFILE}
    rm -f ${SITE}.work

    if [ ! -s ${BATCHFILE} ]; then
	echo "${PROGNAME}: [$$] no articles for ${SITE}"
	rm -f ${BATCHFILE}
	continue
    fi

    echo "${PROGNAME}: [$$] begin ${SITE}"
    if [ -f /usr/local/etc/ifmail/send-ifmail.conf ]; then
	. /usr/local/etc/ifmail/send-ifmail.conf
    else
	ifnews_prog=/usr/local/libexec/ifmail/ifnews
	ifnews_flags=""
    fi

    time batcher -b 0 -p "${ifnews_prog} ${ifnews_flags} %s" \
	${SITE} ${BATCHFILE} && rm -f ${BATCHFILE}
    echo "${PROGNAME}: [$$] end ${SITE}"
    rm -f ${LOCK}
done

echo "${PROGNAME}: [$$] end   `date`"

-- 
DSS5-RIPE DSS-RIPN 2:550/5068 at fidonet 2:550/5069 at fidonet
mailto:dsh at vlink.ru http://neva.vlink.ru/~dsh
Key fingerprint = 46 C8 1B 3B 15 1F 64 B0  38 0B 28 CE B0 75 7B E9



More information about the inn-bugs mailing list