
- CGI BIN AWSTATS PL CONFIG INSTALL
- CGI BIN AWSTATS PL CONFIG SOFTWARE
If you set your errors log like this : error_log / path / to / log. Nginx by default output logs that already can be read by awstats, as long as you use the Combined format.
/usr/share/doc/awstats : docs, tools for building the static html pages, icons and other static files used by html. /usr/share/awstats : contains all tools and libraries used by awstats. /etc/awstats : contains all the conf files for each of your awstats installation. CGI BIN AWSTATS PL CONFIG INSTALL
On debian squeeze, awstats install things in 3 places : Install Awstats apt - get install awstats
Creating a configuration file for each vhost. # /usr/lib/cgi-bin/ -config= -updateĬreate/Update database for config "/etc/awstats/nf" by AWStats version 7.0 (build 1.971)įrom data in log file "/var/log/apache2/access.log". I then installed apache2, and set SiteDomain to "" in /etc/awstats/nf. Open("/etc/awstats/", O_RDONLY) = -1 ENOENT (No such file or directory) Open("yourdomain.ext", O_RDONLY) = -1 ENOENT (No such file or directory) Open("/usr/lib/cgi-bin/nf", O_RDONLY) = -1 ENOENT (No such file or directory) Open("/usr/lib/cgi-bin/", O_RDONLY) = -1 ENOENT (No such file or directory) Setup ('/etc/awstats/nf' file, web server or permissions) may be wrong. usr/lib/cgi-bin/ -config=yourdomain.ext -update Otherwise, please set the bug status to New after you have responded. If this turns out to be a local misconfiguration, please change the bug status to Invalid. Note that -update as something that can read the logs? I just used the documentation you pointed to. Searching new records from beginning of log file. Phase 1 : First bypass old records, searching new record. conf" by AWStats version 7.0 (build 1.971)įrom data in log file "/var/log/ apache2/ access. pl -config= -updateĬreate/Update database for config "/etc/awstats/ awstats. I then installed apache2, and set SiteDomain to "" in /etc/awstats/ awstate. ext.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
Open("yourdomai n.ext", O_RDONLY) = -1 ENOENT (No such file or directory) Strace -eopen lists the following relevant file open attempts: So it looks like is looking in /etc/awstats as expected. conf' file, web server or permissions) may be wrong. You must edit it for using this version of AWStats.
ext -updateĮrror: SiteDomain parameter not defined in your config/domain file. I cannot reproduce this on awstats 7.0~dfsg-5 on Precise. Thank you for taking the time to report this bug and helping to make Ubuntu better. UpgradeStatus: Upgraded to precise on (163 days ago) com/community/ AWStats also describes putting the config files in /etc/awstats/, not in /usr/lib/cgi-bin/. The documentation at https:/ /help.ubuntu.
CGI BIN AWSTATS PL CONFIG SOFTWARE
I expected the software to look in /etc/awstats/ for the config files, or maybe the current working directory, not /usr/lib/cgi-bin/. conf", O_RDONLY) = -1 ENOENT (No such file or directory) rw-r-r- 1 root root 617 /etc/awstats/ awstats. Setup ('' file, web server or permissions) may be wrong.Ĭheck config file, permissions and AWStats documentation (in 'docs' directory). conf" by AWStats version 7.0 (build dfsg-5)Įrror: LogFile parameter is not defined in config/domain file updateĬreate/Update database for config "/etc/awstats/ awstats.