Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Logfile parameter can't be overwritten

mcmenne
2012-11-19
2012-11-19
  • mcmenne
    mcmenne
    2012-11-19

    Hello,

    i have a Problem with executing awstatst.pl from Web-Browser.

    I create Log Statistics for several Linux Web Servers on one single Linux Server.
    So we generate the html by crontab every night.
    That runs fine! But when i try to click on : Hosts - Full list (for example) i get a error.
    It seems that i cannot run awstats.pl with Logfile Paramter.

    I have changed all permissions of the Files to 777 or wwwrun. But it still does not work.
    I allways get the error:

    Error: Logfile parameter can't be overwritten when AWStats is used from a CGI Setup (Config file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).

    Here are some more information:

    SLES 10 SP2 (no SELinux)
    ls -al /usr/local/awstats/wwwroot/etc/
    /usr/local/awstats/wwwroot/logs/

    /usr/local/awstats/wwwroot/cgi-bin/
    /usr/local/awstats/wwwroot/data/
    (where htmls and txt are)
    : wwwrun.nagios (and Permissions 775)

    How we call awstats.pl

    http://myserver1/awstats-bin/awstats.pl?config=webserser2&LogFile=/usr/local/awstats/wwwroot/logs/webserser2/access.log.1&update&output=lasthosts

    Any idea?

    Thanks Menne