Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 09:47:50

Author Topic: Awstats 404 Not Found!  (Read 27581 times)

0 Members and 1 Guest are viewing this topic.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Awstats 404 Not Found!
« on: 2013-07-03, 11:31:06 »
When I check my Awstats on kloxo, it redirects me to 'http://domain.com/awstats/awstats.pl?config=domain.com' and below error:
Quote
Not Found

The requested URL /awstats/awstats.pl was not found on this server.
Apache/2.2.24 (CentOS) Server at domain.com Port 80
And following results are from '# du -sk *' for below directories:

'/home/kloxo/httpd/awstats/dirdata/domain.com'
Code: [Select]
du: cannot access `*': No such file or directory'/home/httpd/domain.com/stats'
Code: [Select]
0       domain.com-custom_log
20      domain.com-custom_log-20130317.gz
20      domain.com-custom_log-20130318.gz
8       domain.com-custom_log-20130319.gz
24      domain.com-custom_log-20130320.gz
20      domain.com-custom_log-20130321.gz
16      domain.com-custom_log-20130322.gz
16      domain.com-custom_log-20130323.gz
16      domain.com-custom_log-20130324.gz
12      domain.com-custom_log-20130325.gz
16      domain.com-custom_log-20130326.gz
16      domain.com-custom_log-20130327.gz
12      domain.com-custom_log-20130328.gz
12      domain.com-custom_log-20130329.gz
20      domain.com-custom_log-20130330.gz
20      domain.com-custom_log-20130331.gz
8       domain.com-custom_log-20130401.gz
12      domain.com-custom_log-20130402.gz
8       domain.com-custom_log-20130403.gz
20      domain.com-custom_log-20130404.gz
16      domain.com-custom_log-20130405.gz
20      domain.com-custom_log-20130406.gz
20      domain.com-custom_log-20130407.gz
20      domain.com-custom_log-20130408.gz
32      domain.com-custom_log-20130409.gz
1344    domain.com-custom_log-20130628.gz
8       domain.com-custom_log-20130629.gz
12      domain.com-custom_log-20130630.gz
8       domain.com-custom_log-20130701.gz
16      domain.com-custom_log-20130702.gz
12      domain.com-custom_log-20130703.gz
0       domain.com-error_log
4       domain.com-error_log-20130311.gz
4       domain.com-error_log-20130404.gz
4       domain.com-error_log-20130408.gz
4       domain.com-error_log-20130409.gz
4       domain.com-error_log-20130628.gz
4       domain.com-error_log-20130629.gz
4       domain.com-error_log-20130630.gz
4       domain.com-error_log-20130701.gz
4       domain.com-error_log-20130702.gz
4       domain.com-error_log-20130703.gz
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #1 on: 2013-07-03, 15:34:57 »
Awstats not able to read nginx. Nginx-proxy use Apache to read stats.

Too make sure awstats, try 'yum list installed kloxo-stats-*'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #2 on: 2013-07-03, 15:58:35 »
Quote from: "MRatWork"
Awstats not able to read nginx. Nginx-proxy use Apache to read stats.

Too make sure awstats, try 'yum list installed kloxo-stats-*'.
# yum list installed kloxo-stats-*
Code: [Select]
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
Excluding mirror: centos.copahost.com
 * extras: ftp.plusline.de
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
 * kloxo-mr-epel: mirrors.n-ix.net
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: centos.mirror.linuxwerk.com
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
kloxo-mr-centalt                                         |  951 B     00:00
kloxo-mr-centosec                                        | 2.9 kB     00:00
kloxo-mr-epel                                            | 4.2 kB     00:00
kloxo-mr-ius                                             | 2.2 kB     00:00
kloxo-mr-ius-centos5                                     | 2.2 kB     00:00
kloxo-mr-ius-centos5/primary_db                          | 123 kB     00:00
kloxo-mr-nginx                                           | 2.9 kB     00:00
kloxo-mr-release-neutral-arch                            | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch                          | 1.9 kB     00:00
kloxo-mr-release-version-arch                            | 1.9 kB     00:00
kloxo-mr-release-version-noarch                          | 1.9 kB     00:00
kloxo-mr-varnish-3.0                                     |  951 B     00:00
updates                                                  | 3.4 kB     00:00
0 packages excluded due to repository protections
Error: No matching Packages to list
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #3 on: 2013-07-03, 17:43:00 »
Sorry, I mean 'yum list kloxomr-stats*'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #4 on: 2013-07-03, 18:27:26 »
# yum list kloxomr-stats*
Code: [Select]
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * base: mirror.optimate-server.de
Excluding mirror: centos.copahost.com
 * extras: mirror.optimate-server.de
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
 * kloxo-mr-epel: mirrors.n-ix.net
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: centos.mirror.linuxwerk.com
0 packages excluded due to repository protections
Available Packages
kloxomr-stats-awstats.noarch           7.1-4.mr          kloxo-mr-release-neutral-noarch
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #5 on: 2013-07-03, 18:38:15 »
So, it's look like not install.

Install all kloxomr packages with 'yum install kloxomr*'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #6 on: 2013-07-03, 18:59:18 »
Quote from: "MRatWork"
So, it's look like not install.

Install all kloxomr packages with 'yum install kloxomr*'
Thanks, solved.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #7 on: 2013-07-04, 08:59:53 »
I enabled 'Stats Page Protection' and all things was right.
But after I switch to 'webalizer', every one can access to http://www.domain.com/stats/ without any Authorization Required!
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #8 on: 2013-07-04, 10:48:24 »
Different thing with awstats and webalizer, awstats using perl and not work in nginx.  And if using nginx-proxy, awstat handling by apache. Otherwise, webalizer using html (static file) and make simple for nginx for handling it. So, webalizer handling by nginx directly (for nginx and nginx-proxy).

It's maybe something wrong with dirprotect in nginx/nginx-proxy.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #9 on: 2013-07-04, 19:48:35 »
Thanks for your information, but do you know how can I fix it?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #10 on: 2013-07-04, 19:50:57 »
Try re-dirprotect.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #11 on: 2013-07-04, 19:58:23 »
Quote from: "MRatWork"
Try re-dirprotect.
I enter new pass in 'Stats Page Protection' and re Update it but still I have access to 'http://www.domain.com/stats/'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #12 on: 2013-07-05, 11:08:39 »
according this GitHub update I make that changes on my domains.conf.tpl and dirprotect issue solved.

Now my problem is that "Unresolved/Unknown" appeared as 70% of my total country visits.
According step 7 of this instruction I think DNS lookups must used on web server configuration.

I find "/home/nginx/conf/globals/webalizer.conf" but I do not know what to do with it.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #13 on: 2013-07-09, 07:17:40 »
How can I turn on reverse DNS lookups in kloxo-mr's apache?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #14 on: 2013-07-09, 18:30:29 »
It's not related to dns lookups but webalizer itself. Maybe geolizer (webalizer patch for GEOIP) will be fix this issue. But it's the same as change webalizer to geolizer.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.031 seconds with 22 queries.

web stats analysis