Package: wims
Version: 3.62-13
Filename: pool/main/w/wims/wims_3.62-13_i386.deb
Found error in /var/lib/wims/public_html/bin/coqweb:
$ grep -A5 -B5 /tmp/ /var/lib/wims/public_html/bin/coqweb
# If debug on
#
if [ "$w_croq6_dbg_level" == "1" ];then
echo "[coqweb] called with $* ;;
"
echo "
env start
"
env >/tmp/env$$
sed "s/$/
/" /tmp/sed$$
cat /tmp/sed$$
rm /tmp/env$$ /tmp/sed$$
echo "
env end"
echo "
coqweb start
"
fi
#
# The tuning
Found error in /var/lib/wims/bin/account.sh:
$ grep -A5 -B5 /tmp/ /var/lib/wims/bin/account.sh
if [ "$site_accounting" != "yes" ]; then exit; fi
# working directory. Changeable.
cd `dirname $0`/..
wims_home=`pwd`
tmpdir=$wims_home/tmp/log
cd log
if [ -z "$1" ]; then workday=`date -d "22 hours ago" '+%Y%m%d'`; else workday=$1;fi
test=`grep $workday account/00access.act | awk '{print $1}'`
--
exit
# Now referer logs.
cat /tmp/referer-home.log | sort | uniq | grep 'http://' | grep -v 'wims\.unice\.fr' | sed 's!http://!!g' | awk -F '#' '{print $1}' >>referer.log
echo >/tmp/referer-home.log
cat referer.log* | grep $workday | awk '{print $3" "$4}' \
| sort | uniq | sort -k 1 >$tmpdir/acctmp.log
grep -v '??' $tmpdir/acctmp.log >referer/refuniq.log