INN 2.5, inn-CURRENT-20090103 Issues
Julien ÉLIE
julien at trigofacile.com
Fri Jan 16 21:28:13 UTC 2009
Hi William,
>>This morning for the first time since I upgraded to INN 2.5 the sendinpaths script ran and I got the same error message as I got
>>when running news.daily: Use of uninitialized value in string eq at (eval 139) line 3
Hmmm... Could it be innmail? A Perl script used
by both news.daily and sendinpaths.
Is the following script working fine?
./perl -w script.pl
(Use warnings with "-w"!)
---
#! /usr/bin/perl -w
use lib '/home/news/lib/perl'; use INN::Config;
print "hi!";
---
Could you please test sendinpaths and add "exit;" to it
at several places?
For instance:
# Make report from (up to) $report days of dumps
LOGS=`find . -name 'inpaths.*' ! -size 0 -mtime -$report -print`
if [ -z "$LOGS" ] ; then
echo "No data has been collected this month!"
exit 1
fi
exit; ################## <-------------------
# for check dumps
for i in $LOGS
do
ninpaths -u $i -r $ME > /dev/null 2>&1
if test $? -eq 0; then :
TMP="$TMP -u $i"
fi
done
And then remove the "exit;" and put it here. And then,
again after, etc.
At least you will find out the command which triggers the problem off.
--
Julien ÉLIE
« La fin du monde est un sujet sérieux, surtout pour ceux qui s'y préparent. » (Filiu)
More information about the inn-workers
mailing list