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-04-25, 13:12:53

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

0 Members and 1 Guest are viewing this topic.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #15 on: 2013-07-10, 08:46:27 »
I switch to Awstats but 90% of my (Domains/Countries) is Unknown from [ip] and other (10%) are from [net], [com], [de] and [uk]
« 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 #16 on: 2013-07-13, 10:21:03 »
It seems the automatic awstats update does not work, Also I try execute "Run Stats" manually but does not work!
« 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 #17 on: 2013-07-14, 13:34:29 »
I can see below line in top of my Awstats result page but no any stats recorded on "13 Jul 2013"
Code: [Select]
Last Update: 14 Jul 2013 - 03:57Also you can see same issue on bellow stats:
http://hostspectra.com/awstats/awstats.pl/

I've found one answer there: http://www.webtalkforums.com/control-pa ... ating.html
Quote
If your server runs at a high load for a few days the stats will not run as they are generally given a lower priority. This will cause the log file to hit it's max limit, and no further logs/stats will be recorded until that log is run by Awstats.
Can you fix this issue on kloxo-mr?
« 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 #18 on: 2013-07-16, 14:25:02 »
Code: [Select]
Last Update: 14 Jul 2013 - 03:57

09 Jul 2013 125 8,081 11,789 77.22 MB
10 Jul 2013 12 67 178 2.01 MB
11 Jul 2013 0 0 0 0
12 Jul 2013 35 1,999 2,840 18.56 MB
13 Jul 2013 0 0 0 0
14 Jul 2013 0 0 0 0
15 Jul 2013 0 0 0 0
16 Jul 2013 0 0 0 0
Mustafa, please answer...
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #19 on: 2013-07-18, 00:54:54 »
Same for webalizer. I've fixed this with manual cron entry /script/scavenge.
« 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 #20 on: 2013-07-18, 10:57:56 »
Quote from: "Spacedust"
Same for webalizer. I've fixed this with manual cron entry /script/scavenge.
Yes! It was related to kloxo internal cron because kloxo self backup not created after 14 jul (/home/kloxo/selfbackup/self/__backup)

Before adding "/script/scavenge" on cron I try to run it by SSH but it hanged up on below line:
Code: [Select]
Dead Quota: In client-admin mysqldb_usage equals xx.x
« 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 #21 on: 2013-07-18, 11:32:12 »
Quote from: "WISTFUL"
Before adding "/script/scavenge" on cron I try to run it by SSH but it hanged up on below line:
Code: [Select]
Dead Quota: In client-admin mysqldb_usage equals xx.x

I'll just had to wait for the scavenge to finish...
« 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 #22 on: 2013-07-18, 11:41:51 »
I try to add "/script/scavenge" to server's "Cron Scheduled Tasks" but get below error:
Code: [Select]
Alert: Adding crontab has failed due to . Please delete it and add it again.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #23 on: 2013-07-18, 16:33:34 »
Use crontab -e inside shell

ten insert

type what you need

then wq!
« 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 #24 on: 2013-07-18, 21:59:47 »
Quote from: "Spacedust"
Use crontab -e inside shell

ten insert

type what you need

then wq!
Thanks spacedust!

What do you think about this?
viewtopic.php?f=5&t=19103
« 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 #25 on: 2013-07-19, 10:01:19 »
Quote from: "Spacedust"
Use crontab -e inside shell

ten insert

type what you need

then wq!
/etc/crontab
/var/spool/cron/root

Where is better for below?
Code: [Select]
30 0 * * * /script/scavenge
« 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 #26 on: 2013-07-20, 09:57:28 »
I've added '/script/scavenge' on root's cron file by every day period.

Good news:
kloxo self backup issue solved.

Bad news:
Still below result appeared in awstats:
Code: [Select]
Last Update: 19 Jul 2013 - 03:57

13 Jul 2013 0 0 0 0
14 Jul 2013 0 0 0 0
15 Jul 2013 0 0 0 0
16 Jul 2013 0 0 0 0
17 Jul 2013 0 0 0 0
18 Jul 2013 0 0 0 0
19 Jul 2013 0 0 0 0
20 Jul 2013 0 0 0 0
« 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 #27 on: 2013-07-20, 10:43:50 »
http://awstats.sourceforge.net/docs/aws ... ILD_UPDATE

# perl /home/kloxo/httpd/awstats/wwwroot/cgi-bin/awstats.pl -config=domain.com -update
Code: [Select]
Create/Update database for config "/etc/awstats/awstats.domain.com.conf" by AWStats version 7.1 (build 1.982)
From data in log file "/home/httpd/domain.com/stats/domain.com-custom_log"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record is out of file.
So searching it from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
 Found 0 dropped records,
 Found 0 comments,
 Found 0 blank records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 0 new qualified records.
# ls -lt /home/httpd/domain.com/stats/
Code: [Select]
total 14468
-rw-r--r-- 1 apache apache     339 Jul 20 03:14 domain.com-error_log-20130720.gz
-rw-r--r-- 1 apache apache       0 Jul 20 03:14 domain.com-error_log
-rw-r--r-- 1 apache apache  287099 Jul 20 03:14 domain.com-custom_log-20130720.gz
-rw-r--r-- 1 apache apache       0 Jul 20 03:14 domain.com-custom_log
-rw-r--r-- 1 apache apache     160 Jul 19 03:43 domain.com-error_log-20130719.gz
-rw-r--r-- 1 apache apache    6513 Jul 19 03:43 domain.com-custom_log-20130719.gz
-rw-r--r-- 1 apache apache    1483 Jul 15 03:50 domain.com-error_log-20130715.gz
-rw-r--r-- 1 apache apache  442096 Jul 15 03:50 domain.com-custom_log-20130715.gz
-rw-r--r-- 1 apache apache     666 Jul 14 03:42 domain.com-error_log-20130714.gz
-rw-r--r-- 1 apache apache  443228 Jul 14 03:42 domain.com-custom_log-20130714.gz
-rw-r--r-- 1 apache apache     964 Jul 13 03:34 domain.com-error_log-20130713.gz
-rw-r--r-- 1 apache apache  404581 Jul 13 03:34 domain.com-custom_log-20130713.gz
-rw-r--r-- 1 apache apache    2622 Jul 12 03:41 domain.com-error_log-20130712.gz
-rw-r--r-- 1 apache apache  425798 Jul 12 03:41 domain.com-custom_log-20130712.gz
-rw-r--r-- 1 apache apache    3624 Jul 11 03:30 domain.com-error_log-20130711.gz
-rw-r--r-- 1 apache apache  637688 Jul 11 03:30 domain.com-custom_log-20130711.gz
-rw-r--r-- 1 apache apache    1256 Jul 10 03:37 domain.com-error_log-20130710.gz
-rw-r--r-- 1 apache apache  454351 Jul 10 03:37 domain.com-custom_log-20130710.gz
-rw-r--r-- 1 apache apache    1898 Jul  9 03:24 domain.com-error_log-20130709.gz
-rw-r--r-- 1 apache apache 1308657 Jul  9 03:24 domain.com-custom_log-20130709.gz
-rw-r--r-- 1 apache apache    1322 Jul  6 03:08 domain.com-error_log-20130706.gz
-rw-r--r-- 1 apache apache  605017 Jul  6 03:08 domain.com-custom_log-20130706.gz
-rw-r--r-- 1 apache apache     254 Jul  4 03:26 domain.com-error_log-20130704.gz
-rw-r--r-- 1 apache apache  176499 Jul  4 03:26 domain.com-custom_log-20130704.gz
-rw-r--r-- 1 apache apache     125 Jul  3 03:45 domain.com-error_log-20130703.gz
-rw-r--r-- 1 apache apache  358958 Jul  3 03:45 domain.com-custom_log-20130703.gz
-rw-r--r-- 1 apache apache     892 Jul  2 04:36 domain.com-error_log-20130702.gz
-rw-r--r-- 1 apache apache  411803 Jul  2 04:36 domain.com-custom_log-20130702.gz
-rw-r--r-- 1 apache apache     171 Jul  1 03:36 domain.com-error_log-20130701.gz
-rw-r--r-- 1 apache apache  446127 Jul  1 03:36 domain.com-custom_log-20130701.gz
-rw-r--r-- 1 apache apache    2055 Jun 30 03:33 domain.com-error_log-20130630.gz
-rw-r--r-- 1 apache apache  306860 Jun 30 03:33 domain.com-custom_log-20130630.gz
-rw-r--r-- 1 apache apache     138 Jun 29 03:22 domain.com-error_log-20130629.gz
-rw-r--r-- 1 apache apache  272054 Jun 29 03:22 domain.com-custom_log-20130629.gz
-rw-r--r-- 1 apache apache   16327 Jun 28 03:41 domain.com-error_log-20130628.gz
-rw-r--r-- 1 apache apache 3817474 Jun 28 03:41 domain.com-custom_log-20130628.gz
-rw-r--r-- 1 apache apache    1220 Apr  9 01:25 domain.com-error_log-20130409.gz
-rw-r--r-- 1 apache apache  374887 Apr  9 01:25 domain.com-custom_log-20130409.gz
-rw-r--r-- 1 apache apache   13265 Apr  8 01:43 domain.com-error_log-20130408.gz
-rw-r--r-- 1 apache apache  304883 Apr  8 01:43 domain.com-custom_log-20130408.gz
-rw-r--r-- 1 apache apache  433850 Apr  7 01:39 domain.com-custom_log-20130407.gz
-rw-r--r-- 1 apache apache  308965 Apr  6 01:27 domain.com-custom_log-20130406.gz
-rw-r--r-- 1 apache apache  279644 Apr  5 01:51 domain.com-custom_log-20130405.gz
-rw-r--r-- 1 apache apache  328794 Apr  4 01:20 domain.com-custom_log-20130404.gz
-rw-r--r-- 1 apache apache     298 Apr  3 02:49 domain.com-error_log-20130403.gz
-rw-r--r-- 1 apache apache  259306 Apr  3 02:49 domain.com-custom_log-20130403.gz
-rw-r--r-- 1 apache apache  143927 Apr  2 01:50 domain.com-custom_log-20130402.gz
-rw-r--r-- 1 apache apache     933 Apr  1 01:39 domain.com-error_log-20130401.gz
-rw-r--r-- 1 apache apache  254660 Apr  1 01:39 domain.com-custom_log-20130401.gz
-rw-r--r-- 1 apache apache  206588 Mar 31 01:38 domain.com-custom_log-20130331.gz
-rw-r--r-- 1 apache apache  219429 Mar 30 02:10 domain.com-custom_log-20130330.gz
-rw-r--r-- 1 apache apache     602 Mar 29 02:32 domain.com-error_log-20130329.gz
-rw-r--r-- 1 apache apache  349483 Mar 29 02:32 domain.com-custom_log-20130329.gz
-rw-r--r-- 1 apache apache    1289 Mar 28 02:47 domain.com-error_log-20130328.gz
-rw-r--r-- 1 apache apache  337208 Mar 28 02:47 domain.com-custom_log-20130328.gz
-rw-r--r-- 1 apache apache    1031 Mar 27 02:47 domain.com-error_log-20130327.gz
-rw-r--r-- 1 apache apache    1136 Mar 25 02:10 domain.com-error_log-20130325.gz
-rw-r--r-- 1 apache apache    1980 Mar 23 02:50 domain.com-error_log-20130323.gz
-rw-r--r-- 1 apache apache     494 Mar 18 02:38 domain.com-error_log-20130318.gz
-rw-r--r-- 1 apache apache     266 Mar 16 02:24 domain.com-error_log-20130316.gz
-rw-r--r-- 1 apache apache     291 Mar 14 02:16 domain.com-error_log-20130314.gz
-rw-r--r-- 1 apache apache     976 Mar 13 00:16 domain.com-error_log-20130313.gz
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline NginxHolic

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: Awstats 404 Not Found!
« Reply #28 on: 2016-01-24, 16:01:04 »
Sorry to bump.

I am having exact problem.
When I navigate to domain.tld/stats/ it will redirect me to domain.tld/awstats/awstats.pl/, which is showing error 404 (Hiawatha Server as frotnend, Apache 2.3 as backend).

When I tried to go to domain.tld/awstats it will show me a login screen.
after a successful login, it shows me error 403 instead of awstats page.

I have done these:
1. Doing yum list kloxomr-stats* shows that kloxomr-stats is already installed.
2. I have tried to set up scavenge time to 0:15 but nothing happened
3. I have tried to run 'sh /script/fixtraffic --day=30', nothing happened
4. I have tried to run 'sh /script/fix-all; sh /script/restart-all', nothing happened

Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016012103
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: *
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.45-2.w6
        * php55m-5.5.30-1.ius.el6
        * php56m-5.6.16-1.ius.el6
        * php70m-7.0.2-1.w6
      - Used: php54m
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --used--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.7-3.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Awstats 404 Not Found!
« Reply #29 on: 2016-01-24, 16:21:33 »
Depend on  your website applications that maybe 'takeover' for 'stats' dir.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.035 seconds with 21 queries.

web stats analysis