Thanks very much for the new Ubuntu 12.04 LTS Virtualmin installer.
Everything seems fine, apart from these emails to admin regarding Awstats errors:
Create/Update database for config “/etc/awstats/awstats.mydomainname.com.conf”
by AWStats version 7.0 (build 1.971)
From data in log file “/var/log/virtualmin/mydomainname.com_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)…
Error: Couldn’t open file “/home/mydomainname/awstats/awstats052012.mydomainname.com.tmp.15000”
for write: Permission denied
Setup (’/etc/awstats/awstats.mydomainname.com.conf’ file, web server or
permissions) may be wrong.
Check config file, permissions and AWStats documentation (in ‘docs’ directory).
I am trying to work through this but hope someone can also help.
The line:
Error: Couldn’t open file “/home/mydomainname/awstats/awstats052012.mydomainname.com.tmp.15000”
for write: Permission denied
led me to look there, but the file does not seem to exist.
So, in theory, all of those lines should be commented out while installing Virtualmin.
However, we’ve heard about a handful of cases where that hasn’t happened, and we’re not quite sure why that’s the case at the moment
However, the quick fix is to comment out all the lines in that file – you don’t need them for anything, Virtualmin’s awstats processing is done elsewhere.
We’ll continue to dig into why that isn’t done automatically though, thanks for the report!