This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 02:21:17 PM »
WORK!
Where was the problem actualy?
And 10x for you time and help.
Where was the problem actualy?
And 10x for you time and help.
2
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 02:16:30 PM »
there is not that line in this file?
Did i need to add it?
Did i need to add it?
3
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 02:08:21 PM »
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
#CustomLog "logs/access_log" combined
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
#CustomLog "logs/access_log" combined
4
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:41:27 PM »
Then cant work with ngix?Chance to work it or some alternative?
5
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:32:44 PM »
192.168.3.4 - - [31/Aug/2018:16:32:06 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:07 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:10 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:12 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:14 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:16 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:17 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:18 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:20 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:21 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:23 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:07 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:10 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:12 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:14 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:16 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:17 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:18 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:20 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:21 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
192.168.3.4 - - [31/Aug/2018:16:32:23 +0300] "POST //xmlrpc.php HTTP/1.0" 503 21324
6
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:26:50 PM »
I didnt remember.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
7
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:22:04 PM »
Create/Update database for config "/etc/awstats/awstats.www.salespc.net.conf" by AWStats version 7.7 (build 20180105)
From data in log file "/usr/local/apache/logs/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /usr/local/apache/logs/access_log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
1
This means each line in your web server log file need to have "combined log format" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is an example of records AWStats found in your log file (the record number 50 in your log):
192.168.3.4 - - [31/Aug/2018:16:13:03 +0300] "GET /awstatsicons/clock/hr11.png HTTP/1.0" 304 -
Setup ('/etc/awstats/awstats.www.salespc.net.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
From data in log file "/usr/local/apache/logs/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /usr/local/apache/logs/access_log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
1
This means each line in your web server log file need to have "combined log format" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is an example of records AWStats found in your log file (the record number 50 in your log):
192.168.3.4 - - [31/Aug/2018:16:13:03 +0300] "GET /awstatsicons/clock/hr11.png HTTP/1.0" 304 -
Setup ('/etc/awstats/awstats.www.salespc.net.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
8
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:16:48 PM »
Its same when open http://localip/awstats/awstats.pl?month=04&year=2018&output=main&config=www.salespc.net&framename=index
No updates
No updates
9
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:09:59 PM »
# "LogFile" contains the web, ftp or mail server log file to analyze.
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log"
LogFile="/var/log/httpd/mylog.log"
PurgeLogFile=0
# When PurgeLogFile is setup to 1, AWStats will clean your log file after
# This parameter is not used if PurgeLogFile=0
# Possible values: 0, 1, or tags (See LogFile parameter) for suffix
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log"
LogFile="/var/log/httpd/mylog.log"
PurgeLogFile=0
# When PurgeLogFile is setup to 1, AWStats will clean your log file after
# This parameter is not used if PurgeLogFile=0
# Possible values: 0, 1, or tags (See LogFile parameter) for suffix
10
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 01:05:16 PM »
total 140K
drwxr-xr-x 2 root root 66 Aug 31 15:51 .
drwxr-xr-x. 89 root root 8.0K Aug 30 16:36 ..
-rw-r--r-- 1 root root 63K Aug 31 11:38 awstats.cwp.conf
-rw-r--r-- 1 root root 63K Aug 31 15:51 awstats.www.salespc.net.conf
drwxr-xr-x 2 root root 66 Aug 31 15:51 .
drwxr-xr-x. 89 root root 8.0K Aug 30 16:36 ..
-rw-r--r-- 1 root root 63K Aug 31 11:38 awstats.cwp.conf
-rw-r--r-- 1 root root 63K Aug 31 15:51 awstats.www.salespc.net.conf
11
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 12:58:48 PM »
I use command perl tools/awstats_configure.pl again and add domain on line Your web site, virtual server or profile name: www.domain.com
But i still dont have updates.
But i still dont have updates.
12
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 12:49:42 PM »
31 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > / dev/null
05 01 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admi n/include/alertandautorenewssl.php
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
I do all step from tutorial copy paste..
Did i need to change "cwp" with my domain(www.domain.com)
05 01 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admi n/include/alertandautorenewssl.php
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp
I do all step from tutorial copy paste..
Did i need to change "cwp" with my domain(www.domain.com)
13
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 08:20:30 AM »
Yes i used this: crontab -l | { cat; echo "* * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=cwp"; } | crontab -
14
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: August 31, 2018, 06:44:03 AM »
I use this tutorial, but stats wont update.
Last update: never update, shows on top of page.
Last update: never update, shows on top of page.