Hello, I recently installed "the perfect server with centos 7.2", it seems that I have Centos 7.3, you already solved my mailproblem. I am now testing the rest. It seems webalizer and awstats don't work. I have setup several domains and I have configured awstats for some and webalizer for some others. I have waited some days, but nothing happens. The directory stats in the domains web-directory don't get filled. Could there also be a path issue? Regards, Rob
Sorry, completely missed that post. Do you have recent entries in the access.log file of the website (/var/www/domain.tld/log/access.log) ?
Hello, Yes that directory is filed with a file per day. The directory /var/www/domain.tld/web/stats is empty. Regards,
crontab -l * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done * * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
The crontab looks fine. The line with cron.sh runs all the cron plugins from ispconfig including the webalizer and awstats jobs. Please check that the paths / script paths for the awstats scripts under System > server config > web > awstats are correct
Took me a little to find what you meant, but I found it. The awstats.pl script: has entry "/usr/lib/cgi-bin/awstats.pl" this does not exist. The rest does exists. With a find, I found this script here "/usr/share/awstats/wwwroot/cgi-bin/awstats.pl". Is that the same? Can I just change this?
Ok, I did that when I typed the question. Just to see if that solved the problem with AWstats. AWstats now works on the site where I configured AWstats. Great support! Webalizer doesn't work yet.
Webalizer is there, but it is not in the path of root: [root]# which webalizer /usr/bin/which: no webalizer in (/sbin:/bin:/usr/sbin:/usr/bin) [root]# exit [rob$ which webalizer /usr/local/bin/webalizer Should I put it in the path of root?
ok made the link [root]# ln -s /usr/local/bin/webalizer /bin/webalizer [root]# which webalizer /bin/webalizer Now we wait?