LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2018, 05:14 AM   #1
fa4fahmed
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
AWstat issue on linux


Hi Support,

I have configured the Awstats on server and noticed that data is getting update.

but some of the web server log which i manaully pushed to the server (I mean privious date data.) but those data is not getting uploaded to the awstats webportal.

Could you please help me out why is not getting sync up with the manaully data on awawswebsweb portal.

# /usr/local/faraz/apache2/htdocs/awstats-7.3/wwwroot/cgi-bin/awstats.pl -config=awstats.server.JAwwy.com.conf -databasebreak=day -update
Create/Update database for config "/etc/awstats/awstats.server.JAwwy.com.conf" by AWStats version 7.3 (build 20140126)
From data in log file "/home/logs/JAwwy_704774.esw3c_S.201806031800-2400-1"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 294729
Found 294585 dropped records,
Found 2 comments,
Found 0 blank records,
Found 142 corrupted records,
Found 0 old records,
Found 0 new qualified records.

http://52.16.30.253/awstats/awstats....ramename=index

LogFormat=2
LogFormat = "%time2 %method %url %query %logname %host %other %ua %referer %code %bytesd"

check Further to Find this

Corrupted record line 70475 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 94.76.46.28 GET /www.jawwy.tv/notfound 404 4058 0 "-" "Mozilla/5.0 (Linux) AppleWebKit/600.8 (KHTML, like Gecko) Ekioh/3.9.1 Safari/600.8" "-"
Corrupted record line 70516 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/jquery.custom-scrollbar.min.js 200 3858 2 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70517 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/common.bundle.js?ver=7.0 200 40542 5 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70518 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/css/fancybox.css?ver=7.0 200 4998 2 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70519 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/jquery.min.js 200 33690 4 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70523 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/hls.min.js 200 47079 7 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70524 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/images/svg-icon.svg 200 33211 6 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
 
Old 06-11-2018, 07:18 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,841

Rep: Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330Reputation: 6330
Quote:
Originally Posted by fa4fahmed View Post
Hi Support,
First, we are **NOT** 'support' nor a help desk. We volunteer our time to try to help others
Quote:
I have configured the Awstats on server and noticed that data is getting update. but some of the web server log which i manaully pushed to the server (I mean privious date data.) but those data is not getting uploaded to the awstats webportal. Could you please help me out why is not getting sync up with the manaully data on awawswebsweb portal.
Read the "Question Guidelines" link in my posting signature. You don't tell us what instructions you followed to do the installation, what version/distro of Linux you're running, or anything that you've done/tried so far. Based on this:
Quote:
# /usr/local/faraz/apache2/htdocs/awstats-7.3/wwwroot/cgi-bin/awstats.pl -config=awstats.server.JAwwy.com.conf -databasebreak=day -update
Create/Update database for config "/etc/awstats/awstats.server.JAwwy.com.conf" by AWStats version 7.3 (build 20140126)
From data in log file "/home/logs/JAwwy_704774.esw3c_S.201806031800-2400-1"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 294729
Found 294585 dropped records,
Found 2 comments,
Found 0 blank records,
Found 142 corrupted records,
Found 0 old records,
Found 0 new qualified records.

http://52.16.30.253/awstats/awstats....ramename=index

LogFormat=2
LogFormat = "%time2 %method %url %query %logname %host %other %ua %referer %code %bytesd"

check Further to Find this

Corrupted record line 70475 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 94.76.46.28 GET /www.jawwy.tv/notfound 404 4058 0 "-" "Mozilla/5.0 (Linux) AppleWebKit/600.8 (KHTML, like Gecko) Ekioh/3.9.1 Safari/600.8" "-"
Corrupted record line 70516 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/jquery.custom-scrollbar.min.js 200 3858 2 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70517 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/common.bundle.js?ver=7.0 200 40542 5 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70518 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/css/fancybox.css?ver=7.0 200 4998 2 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70519 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/jquery.min.js 200 33690 4 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70523 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/js/hls.min.js 200 47079 7 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
Corrupted record line 70524 (record format does not match LogFormat parameter): 2018-06-03 22:15:52 37.106.207.191 GET /www.jawwy.tv/static/images/svg-icon.svg 200 33211 6 "http://www.jawwy.tv/" "Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" "-"
...you haven't configured something correctly, or the data you're reading isn't in the correct format.
https://www.howtoforge.com/how-to-in...ts-centos-rhel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Process Tomcat logs in AWSTAT Mustafa^Qasim Linux - Server 1 11-02-2011 04:54 AM
[SOLVED] Awstat is dropping all records Mustafa^Qasim Linux - Newbie 5 04-19-2011 07:50 AM
problem with installing awstat ashraflinux1@gmail.com Linux - Server 2 01-08-2010 09:28 AM
Awstat installation issue time_trapper Linux - Software 3 04-01-2008 09:32 PM
awstat question yongitz Linux - Software 0 11-02-2006 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration