awstats error

When I click 'view awstats report,' I get this error:

Error: AWStats database directory defined in config file by 'DirData' parameter (/home/biblelegacy/awstats) does not exist or is not writable.

Setup ('/etc/awstats/awstats.biblelegacy.com.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).

The actual directory is /home/legacy/awstats.

If I create a symbolic link '/home/biblelegacy/awstats' pointing to '/home/legacy/awstats,' will that solve the problem?

Status: 
Active

Comments

Howdy -- hmm, was that directory once named "biblelegacy", but maybe it was changed to "legacy" along the way?

While you could solve that by creating a symlink, you could also edit this config file here to solve it:

/etc/awstats/awstats.biblelegacy.com.conf

In there, look for the DirData parameter, and you'll see the incorrect path listed in there.

bislinks's picture
Submitted by bislinks on Sun, 02/02/2014 - 10:17 Pro Licensee

Yes, It was changed from 'biblelegacy' to 'legacy.'

I did change the DirData to /home/legacy/awstats AND it's working.

Thanks once again, Eric