[Pkg-awstats-devel] Bug#531903: Bug#531903: awstats: logresolvemerge.pl cannot read files on a SSHFS using wildcar

Sergey B Kirpichev skirpichev at gmail.com
Tue Sep 8 13:52:41 UTC 2009


tags 531903 + moreinfo
thanks

On Thu, Jun 04, 2009 at 10:50:08PM +0200, Xesc Arbona wrote:
> I'm using awstats to collect statistics on several reverse-proxies. I've
> mounted /var/log/apache2 from each proxy with FUSE SSHFS on
> /var/log/apache2/proxy003 and /var/log/apache2/proxy004.
> Permissions are set correctly.
>
> If I run "perl logresolvemerge.pl /var/log/apache2/*_access.log" it works.
> If I run "perl logresolvemerge.pl /var/log/apache2/proxy*/site_access.log" it works.
> If I run "perl logresolvemerge.pl /var/log/apache2/proxy*/*_access.log" it fails.
> If I run "perl logresolvemerge.pl /var/log/apache2/proxy003/*_access.log" it fails.

Yet, probably you have wrong permissions on
/var/log/apache2/proxy*/*_access.log and (especially!) on
/var/log/apache2/proxy* (check for "r" and "x" bits for user, which
run awstats) and .

> Error: Couldn't open log file "/var/log/apache2/proxy003/site_access.log" :
> Operation not permitted.





More information about the Pkg-awstats-devel mailing list