AwStats Problem

Jet

New member
Joined
May 17, 2009
Messages
2
After using the move_domain.sh

My awstats stopped working for the domains which I've moved.

I get the following error

Code:
Error: AWStats database directory defined in config file by 'DirData' parameter (/home/admin/domains/sitename.com/awstats/.data) does not exist or is not writable.

Setup ('/home/warezlobby/domains/sitename.com/awstats/.data/awstats.sitename.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

By the way "/home/admin/domains/sitename.com/" was the old directory for the domain before moving it.
 
Hi Jet,

I had the same error with a domain I changed from one account to another. You need to rename the old location to the new location. Find "DirData" and change "admin" to "warezlobby" and change "DirIcons" to "icon" (if this is not already the case).

It should work like the way before but awstats did not work with this configuration so the days before you fix this problem will be "empty".
 
Funny to see this bug from 2009 is still in move_domain.sh. For the lazy, DirData is defined in:

/home/username/domains/domain.com/awstats/.data/awstats.domain.com.conf
 
Back
Top