awstats apache2 config file fails

Discussion in 'Server Operation' started by unclecameron, Mar 6, 2009.

  1. unclecameron

    unclecameron New Member

    I have Debian Lenny running Apache with perl/cgi enabled and working fine. I cp'd the latest awstats stable to /usr/local/awstats and ran the install script successfully. When I attempt a restart of apache, I get the error:

    Invalid command 'LogFile="/var/www/"', perhaps misspelled or defined by a module not included in the server configuration

    when I comment out that directive in the /etc/apache2/conf.d/ file, apache will run, but the url to access that conf file fails on the next directive down:

    Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.

    why isn't apache seeing/parsing awstats config. There are no strange log file errors, and apache is writing successfully to /var/www/ file each time a user accesses the site. I've cut/paste the file path to make sure it's accurate.
  2. unclecameron

    unclecameron New Member

    figured it out, the debian package was conflicting with the downloaded version, and was expecting config files in /etc/awstats/ rather than the standard /etc/apache2/conf.d/ location.

Share This Page