Package: srg
Version: 1.3.5-1
Severity: normal

When I run srg I get error "error: syntax error" when I add set -x to
the /etc/cron.daily/srg script I get:

+ SRG=/usr/bin/srg
+ MAIL_UTIL=/usr/bin/mail
+ LOGS=/var/log/squid/access.log
++ date --date '1 day ago' +%Y-%m-%d
+ YESTERDAY=2009-07-26
+ test -x /usr/bin/srg
+ . /etc/default/srg
++ REPORTBASE=/var/www/srg_reports
++ CONFIGFILE=/etc/srg/srg.conf
++ MAILUSER=
++ DAILY_REPORT_RETAIN_DAYS=31
+ '[' -z /etc/srg/srg.conf ']'
+ found=0
+ for log in '$LOGS'
+ '[' -e /var/log/squid/access.log ']'
+ found=1
+ '[' 1 -eq 0 ']'
+ '[' -z ']'
+ /usr/bin/srg -C /etc/srg/srg.conf -m 31 -f 2009-07-26 -t 2009-07-26 -o
/var/www/srg_reports/daily /var/log/squid/access.log
error: syntax error

All config files are package defaults

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages srg depends on:
ii  libc6                        2.7-18      GNU C Library: Shared
libraries
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++
Library v3

Versions of packages srg recommends:
ii  apache2            2.2.9-10+lenny2       Apache HTTP Server
metapackage
ii  apache2-mpm-prefor 2.2.9-10+lenny2       Apache HTTP Server -
traditional n
ii  php5               5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded
scripti
ii  squid              2.7.STABLE3-4.1       Internet object cache (WWW
proxy c

srg suggests no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to