0

I'm trying to run awstats static pages building:

awstats_buildstaticpages.pl -config=/etc/awstats/awstats.example.com -dir=/var/www/share-new/sites-prod/example.com/generated/statistics/ -awstatsprog=/var/www/awstats/awstats.pl

but keep receiving error:

Build main page: "/var/www/awstats/awstats.pl" -config=/etc/awstats/awstats.example.com -staticlinks -output
Error: Couldn't open log file "/var/www/share-new/sites-prod/example.com/generated/statistics/awstats./etc/awstats/awstats.example.com.html" for writing : No such file or directory.

why is it looking for that weird awstats./etc/awstats/ directory? How I can get rid of it and let it save html output directly to /var/www/share-new/sites-prod/example.com/generated/statistics/?

  • Carefully review your configuration, there might be a typo somewhere. – dawud Apr 20 '14 at 7:29
  • @dawud installed from yum with minimum changes – Shirker Apr 20 '14 at 16:02
0

oh! wrong was path -config=/etc/awstats/awstats.example.com. its looking for ,"${searchdir}awstats.$SiteConfig.conf" file.

So must be -config=example.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.