Webstats not working

Discussion in 'Installation/Configuration' started by Cris Kolkman, Dec 4, 2015.

  1. Cris Kolkman

    Cris Kolkman Member

    Hello all,

    I have installed ISPConfig 3 on my CentOS7 VM and everything is working great, except the webstats.
    I can t install Webalizer:

    [root@webserver01 stats]# yum install webalizer
    Loaded plugins: fastestmirror, langpacks, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.nforce.com
    * epel: ftp.nluug.nl
    * extras: mirror.amsiohosting.net
    * updates: mirror.nforce.com
    No package webalizer available.
    Error: Nothing to do

    But awstats is installed.
    When I go to mydomain.com/stats I can select the month/year at the top but under that it gives the 404 error.
    In the mydomain.com/stats/index.php I see that it tries to load the awsindex.html file, but that file does not get created, the index.php is the only file in the dir stats.
    I have this problem on all the domains I create.
     
    Last edited: Dec 4, 2015
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check that the path to the awstats buildstaticpages script under System > Server config is correct.
     
  3. Cris Kolkman

    Cris Kolkman Member

    Thanks Till,

    Seems the path for awstats.pl script is incorrect (now set to /usr/lib/cgi-bin/awstats.pl )
    Changed it to /usr/share/awstats/wwwroot/cgi-bin/awstats.pl but it seems that it's still not working.

    I used this path:
    [root@webserver01 /]# find / -name awstats.pl
    /usr/share/awstats/wwwroot/cgi-bin/awstats.pl
    [root@webserver01 /]#
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The statistics get created in the early morning, so you might have to wait up to 24 hours.

    The staticpages script is not awstats.pl, awstats.pl is the cgi script, the buildstaticpages script is a different program, its filename is "awstats_buildstaticpages.pl".
     
  5. Cris Kolkman

    Cris Kolkman Member

    Hello Till,

    Thanks again, but the stats pages haven t been created yet.
    Any other ideas/suggestions?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you changed the path to the right script now? Like explained above, your change of the path to awstats.pl was wrong.
     
  7. Cris Kolkman

    Cris Kolkman Member

    I have not changed it back to /usr/lib/cgi-bin/awstats.pl (this was the setting in first place) because that path does not excist.
     
  8. Cris Kolkman

    Cris Kolkman Member

    Any ideas on this?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The script is named "awstats_buildstaticpages.pl". Search for that script on your server, e.g. by using the fin command, and then set the path to that script in ISPConfig.
     
  10. Cris Kolkman

    Cris Kolkman Member

    I allready did that and the path seems to be fine.
     
  11. Matthew Hunt

    Matthew Hunt New Member

    I have the same issue with Webalizer. My work-around was to install it from the tar. Here is my script, you'll need to put the ftp site from mrunix dot net's pub dir yourself since I can't yet post links lol:
    wget "the ftp site" webalizer-2.23-08-src.tgz
    tar xvfz webalizer-2.23-08-src.tgz
    cd webalizer-2.23-08
    ./configure
    make
    make install
     
    Thaddeus likes this.

Share This Page