|
From: Jamie C. <jca...@we...> - 2007-02-02 17:18:06
|
On 2/Feb/2007 09:02 Joaquim Homrighausen wrote .. > Found it.. under server templates. The selection "pop-up" did not, however, > work. But entering "nobody" manually worked. Final remaining problem for > me: the logs directory needs different handling, or rather the log files. > I set AWSTATS to truncate/purge the log files after successful parse/update. > I've told WM/VM to write the log files via a program to avoid problem with > missing directory. But although the log file directory has proper permissions, > the log files themselves are -rw-r--r and root.root, which means that the > "wwwuser" (nobody, in my case) cannot purge/write to them, and nor can > awstats. Usually the truncation of log files in done on a Virtualmin system by logrotate. Any domain for which Apache is enabled should have an entry in /etc/logrotate.conf or /etc/logrotate.d/ to rotate it's log files. That way AWstats doesn't have to worry about it .. - Jamie |