Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How do I configure awstats?

Discussion in 'General Discussion' started by kamnet, Jun 26, 2006.

  1. kamnet

    kamnet Member

    Joined:
    May 7, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    151
    It appears to me that it should automagically be installed and ready to go, but when I go to pull up stats, this is what I see:

    Code:
    Error: Couldn't open config file "awstats.yoursite.com.conf" nor "awstats.conf" after searching in path ".,/home/username/tmp/awstats/,/etc/opt/awstats,/etc/awstats,/etc,/usr/local/etc/awstats": No such file or directory 
    
    - Did you use the correct URL ?
    Example: http://localhost/awstats/awstats.pl?config=mysite
    Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
    - Did you create your config file 'awstats.ohhla.com.conf' ?
    If not, you can run "./../../tools/awstats_configure.pl" from command line, or create it manually.
    
    Check config file, permissions and AWStats documentation (in 'docs' directory). 
    
    I can't seem to find this tools directory (or anything on AWStats). WHere do I have to go to move this along?
     
  2. wintersun892

    wintersun892 Member

    Joined:
    May 9, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    have you tried this /scripts/fixwebalizer ?
     
  3. kamnet

    kamnet Member

    Joined:
    May 7, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    151
    webalizer will fix awstats?

    If it will, I'll try it when I get access to it later tonight.
     
  4. kamnet

    kamnet Member

    Joined:
    May 7, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    151
    Well, I ran it, and I'm about halfway there! No more error messages!

    Unfortunately, what I do get is ... nothing. After a few days, I've got no stats to show for it.

    Help?
     
  5. madan.cpanelnet

    madan.cpanelnet Well-Known Member

    Joined:
    Apr 1, 2006
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    INDIA
    1) /scripts/runweblogs <username>

    2) Awstats conf/log files are stored in /home/<username>/tmp/awstats with permissions user.user
     
  6. Bash

    Bash Member

    Joined:
    May 7, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Try this too:

    /scripts/runlogsnow

    You should get something like this:

    Resetting Logs for webadmin...Done
    Resetting Logs for cpanel...Done
    Resetting Logs for ###...Done
    Resetting Logs for #####...Done
    ==> cPanel Log Daemon version 22.2
    ==> Shared RRDTOOL support enabled

    Also run a /scripts/upcp --force and then re-install your stats and wait at least a day and a half to see your results.

    -Bash
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice