I had some files removed from my /usr/local/apache/domlogs and one of them was my log file with stats on it (domainexample.org), now awstats and webalizer wont update. Is there a way to make a new file with nothing in it so awstats and webalizer will start updating again?
Technically speaking, logs will be automatically created if it is not there. So if you delete the right files, it would come back again. Give it at least 24 to 48 hours before running awstats and webalizer again. This will give it enough time to generate new log files and populate it.
Restart the server few times until the kernel is fixed(usually if you delete ALL files, few kernel issues pop up) So, it'll take about a day at least to show up the stats after the restart
use this command to restart apache by ssh - service httpd restart or simply restart the whole server by an easy command - reboot