I get the following when logged in as root:
Code:
[root@domain root]# ls -ld /var/lib/awstats
ls: /var/lib/awstats: No such file or directory
I went ahead and changed the line in the DirData parameter in the config file to just read the default DirData="." so that I could try to get awstats working.
So I ran...
Code:
[root@domain root]# /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -conf
Create/Update database for config "/etc/awstats/awstats.www.domain.com.conf" by
From data in log file "/home/httpd/vhosts/domain.com/statistics/logs/access_log
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Jumped lines in file: 0
Parsed lines in file: 10888098
Found 0 dropped records,
Found 34 corrupted records,
Found 0 old records,
Found 10888064 new qualified records.
What else should I do now that I've done this?
Also, I'm not quite sure what the URL would be that let's me view the Awstats reports.
I've tried both my IP address and my url and haven't had any luck getting it to come up with the following...
Code:
http://www.domain.com/awstats/awstats.pl?config=www.domain.com
http://www.domain.com/awstats/awstats.pl
http://66.xxx.xx.xxx/awstats/awstats.pl?config=www.domain.com
http://66.xxx.xx.xxx/awstats/awstats.pl