Awstats missing and not working

Hi, I tried to run a awstats report and it failed - Error -Missing headers. I followed all the google advise and checked paths in the configuration of awstats and all were correct. restarted server, still no good. So, i figured to uninstall awstats and reinstall - which I did. NOW... in features and plugins - there is NO awstats ! How do I get it back please? Need to run some urgent reports !

Closed (fixed)


Howdy -- is the Virtualmin awstats program installed? If that isn't installed, it won't show up in the Features and Plugins section.

If it's not installed, you can install it with this command:

yum install wbm-virtualmin-awstats

thanks - that was missing - have installed and it is back. However, the Error - Missing Headers is still there when I try to run any of the reports. I have check the paths in the awstats config and they all check out?

I have been right through the awstats settings, but cannot get beyond that error message. Can you please advise what I can try now?

What awstats package do you have installed? You can determine that with this command:

rpm -qa | grep awstats

Also what is the path to awstats?

You can determine that with this command:

find / -name

Lastly, what is the output of this command:

cat /etc/webmin/virtualmin-awstats/config

Hi, thanks for the reply:

grep: awstats-7.0-1.el6.noarch wbm-virtualmin-awstats-5.1-1.noarch

find: awstats-7.0-1.el6.noarch wbm-virtualmin-awstats-5.1-1.noarch [root@hosting awstats]# ^C [root@hosting awstats]# find / -name /home/leeton/cgi-bin/ /home/dimitybagley/cgi-bin/ /home/jo-annemillinery/cgi-bin/ /home/maizeaustralia/cgi-bin/ /home/vintagedesigns/cgi-bin/ /home/blog/cgi-bin/ /usr/share/awstats/wwwroot/cgi-bin/ /usr/libexec/webmin/virtualmin-awstats/ /etc/webmin/virtualmin-awstats/

path: plugins=/var/www/awstats/plugins noedit=1 lang=/var/www/awstats/lang icons=/var/www/awstats/icon format= awstats=/etc/webmin/virtualmin-awstats/ nocron=0 copyto= aliases= lib=/var/www/awstats/lib config_dir=/etc/awstats

Hmm, try editing /etc/webmin/virtualmin-awstats/config, and there, set the 'awstats=' line to point to this path:


After doing that, restart Webmin with this command:

/etc/init.d/webmin restart

Once you do that, are you able to generate your awstats reports?

perfect ! working, thank you !

Excellent, I'm glad that's working for you now!