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? edited: 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: It should be: That is, web3 instead of web2. Same thing what happened also under the "/var/log/ispconfig/httpd/example.com/" log. yesterday-access.log points to: It should be: I tried removing the yesterday-access.log and creating the symlink with the correct path but it reset after few minutes. 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?