Forum OpenACS Q&A: Analog problem with OACS5.0.0b4

Posted by Raul Rodriguez on
I have followed the install instrudions for the following configuration:
  • RH 8.0
  • PG7.4
  • OpenACS 5.0.0b4 (tarball)
  • AOLserver 3.3oacs1 (from link in install instructions)
  • nsopenssl 2.1a
  • OpenFTS TCL 0.3.2
  • analog-5.32
  • Daemontools 0.76
When I go to the traffic.html page I get :
General Summary

Successful requests: 0 
Corrupt logfile lines: 423 
The following is a sample of the error:
[icannonline@thunder1 analog-5.32]$ sh /etc/cron.daily/analog
/usr/share/analog-5.32/analog: analog version 5.32/Unix
/usr/share/analog-5.32/analog: Warning F: Can't auto-detect format of logfile
  /var/lib/aolserver/icannonline/log/icannonline.log: ignoring it
  (For help on all errors and warnings, see docs/errors.html)
/usr/share/analog-5.32/analog: Warning L: Large number of corrupt lines in
  logfile /var/lib/aolserver/icannonline/log/icannonline.log.2004-01-09-00:00:
  turn debugging on or try different LOGFORMAT
    Current logfile format:
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
I looked at the log files and they appear to be a different than my OACS4.6 test install (non nsopenssl install). Any ideas? TIA
Posted by Raul Rodriguez on
I seemed to have solved the problem by placing the following in /var/lib/aolserver/service0/etc/analog.cfg:
LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" %j\n)
LOGFILE /var/lib/aolserver/icannonline/log/icannonline.log*
Posted by Dirk Gomez on
Looking at I presume you need to set logcombined to true. Does that help?
Posted by Charlie Reitsma on
No. The config.tcl file in OACS5.0.0rc1 already has "logcombined = true". There is an extra field after the "%B" (browser) - does that extra field come from some debug setting?