Whm awstats not updating

05-Nov-2015 06:51 by 6 Comments

Whm awstats not updating - Free cam2cam no chat rooms

You will find it in the AWStats tools directory (If using the Windows installer, the script is automatically launched): A) awstats_tries to determine your current log format from your Apache web server configuration file (it asks for the path if not found).If you use a common log, awstats_will suggest changing it to the NCSA combined/XLF/ELF format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier).

whm awstats not updating-24whm awstats not updating-28whm awstats not updating-57

The request time itself, is the time it takes nginx to process the request.

This is done to support python2.4 which is default on centos5 machines. It then creates a directly in the users tmp directory called awstats.

Creates a file called include, and writes 7 lines of configuration to this file, and save it.

The hook itself is a small python script, which hooks into ‘Whostmgr:: Accounts:: Create’, reads the data from stdin to get information from the accounts getting created in cpanel, it generates a awstats config file in the users home directory, which will get loaded for that specific user.

By default cpanel doesn’t allow custom configuration for awstats, which means you need to log into WHM, go to ‘Statistics Software Configuration’ and enable ‘Awstats include file’.

# C) if changes were made as indicated in parts A and B, awstats_restarts Apache to apply the changes.

To be sure the log format change is effective, go to your homepage.This is also based on the amount of visitors you have.Error Error: Plugin load for plugin ‘geoipfree’ failed with return code: Error: Can’t locate Geo/in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .Since we’re running nginx in front of Apache this means, it’s only the time spend in the proxy itself, so all dynamic processing will still be handled by apache. The code below is the hook you need to save to /opt/makeawstats/makeawstats.py: #!/usr/bin/python import sys, os raw Data = sys.stdin.readlines() hookdata = eval(raw Data[0].replace(':null', ': None')) data = hookdata['data'] username = data['user'] if not exists('/home/%s/tmp/awstats' % username): os.makedirs('/home/%s/tmp/awstats' % username) f = open('/home/%s/tmp/awstats/include' % username, 'w') f.write('Log Format="%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot %extra1"\n') f.write('Extra Section Name1="Time to serve requests (seconds)"\n') f.write('Extra Section Code Filter1=""\n') f.write('Extra Section First Column Title1="Number of seconds to serve the request"\n') f.write('Extra Section First Column Values1="extra1,(.*)"\n') f.write('Extra Section Stat Types1="H"\n') f.write('Extra Tracked Rows Limit=100000\n') f.close() if exists('/home/%s/tmp/awstats' % username): os.system('chown -R %s:%s /home/%s/tmp/awstats' % (username, username, username)) The code reads stdin, replaces :null with : None.# Note that path "/usr/local/awstats/" must reflect your AWStats Installation path.

  1. whos dating kate hudson 04-Oct-2015 21:33

    Nothing can get better than those chatty gals willing to do anything to make thousands of guys hard and cumming!