**
awstats : https://jaist.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz
Error status (completed)
This is a webpage access error:
Log error
First of all, my error is this.
Workaround:
First: Firewall add 80 port allowed through policy
-A input-p tcp-m state--state new-m TCP--dport 80-j ACCEPT
Add the policy to the /etc/sysconfig/iptables file as follows
Then close SELinux
Temporary shutdown can be used
Setenforce 0
Permanent shutdown needs to be set in the file (but takes effect after reboot)
Cat/etc/selinux/config
Find selinux=enforcing instead of disbled
This time the error inside or missing files need to create
Touch/var/www/html/favicon.ico
Mkdir/var/lib/awstats
These two files and folders can be seen in the error log (/var/log/httpd/error_log) carefully observed
It's no problem logging into http://www.qqq.com/awstats/awstats.pl?config=www.qqq.com at this time.
This Awstats statistics page can also be opened.
But because the update of this statistic page needs to execute a script inside the system to update the access information of the website (install the Perl script that comes with Awstats)
./awstats.pl-update-config=www.qqq.com
There's going to be an error here, that's it.
Touch/var/log/httpd/mylog.log
It's good to run it again!
Normal
Basically this is all solved! Then remember to add a task plan!
Apache Awstats Installation Error resolution process suitable for beginners