Awstats update the wrong website
Awstats is updating the wrong website. This is what happened.
I have two websites name mydomain.com and example.com.
mydomain.com has an ID = 1 (i.e. web1) and example.com has an ID = 2 (web2) under ISPConfig 3 Admin panel. But it so happen that I deleted both sites and they have now the following info:
mydomain.com = web2
example.com = web3
But the physical location of both sites did not change.
mydomain.com = /var/www/clients/client1/web1/
example.com = /var/www/clients/client1/web2/
When I noticed this, I manually changed it to using fstab:
mydomain.com = /var/www/clients/client1/web2/
example.com = /var/www/clients/client1/web3/
But the awstats of mydomain.com is still the awstats of example.com.
So, my question is where can I fix this? What configuration I need to touch?
When I noticed this, I manually changed it: >> When I noticed this, I manually changed it to using fstab:
So, do I need to restart my server?
After finding a solution, I found the following anomalies:
example.com have the following symlink:
Under "/var/www/example.com/log/", yesterday-access.log points to:
Same thing what happened also under the "/var/log/ispconfig/httpd/example.com/" log.
yesterday-access.log points to:
Note: mydomain.com works fine.
I also corrected mtab because it points to the wrong path. So may be I need to reboot the server? If this is the cause of the problem, is there a way to reload fstab and mtab without rebooting the server?
Anyone know how to fix this?
Any idea please? I'm totally messed up. The stats of mydomain.com is overwritten by example.com.
|All times are GMT +2. The time now is 07:47.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.