Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

access.log errors!

Reply to Post Add a New Topic
UserPost

11:58 am
February 12, 2010


rfernandes

Member

posts 7

Hello,

I have problems with access.log, i use wamp server on local machine.

first problem:

if i have more more than 50 lines in access.log it gives error on permissions.

second problem:

if i have 50 lines in access.log it gives 49 corrupted records.

example of access.log:

127.0.0.1 – – [05/Feb/2010:23:54:14 +0000] "GET /index.php?img=favicon HTTP/1.1″ 200 13262

log format in awstats.mydomain.conf

LogFormat="%host %other %time1 %methodurl %code %bytesd"

i need help please! Frown

12:14 pm
February 12, 2010


Jean-Luc

Admin

posts 1125

Hi,

Use:

LogFormat=1

Short answer, isn't it ? Wink

12:19 pm
February 12, 2010


rfernandes

Member

posts 7

i tried that one and gives me the following error: 49 corrupted records.

12:50 pm
February 12, 2010


Jean-Luc

Admin

posts 1125

Please paste here the complete message you got.

1:02 pm
February 12, 2010


rfernandes

Member

posts 7

first error

http://img220.imageshack.us/img220/4345/semttulo2a.jpg

second error

http://img42.imageshack.us/img42/4734/11082577.jpg

Click on images please :D

4:35 pm
February 12, 2010


Jean-Luc

Admin

posts 1125

The first screenshot was not obtained with :

LogFormat=1

There might be other errors, but you need to correct the LogFormat first.

4:45 pm
February 12, 2010


rfernandes

Member

posts 7

I resolved the problem wit,

Logformat=4

and now i have another problem.

When i try to access this link http://localhost/awstats/awsta…..fig=rodhas it gives the following error:

500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

5:04 pm
February 12, 2010


Jean-Luc

Admin

posts 1125

You are absolutely right about the LogFormat. How could I confuse formats 1 and 4…Embarassed

Regarding the 500 internal server error , try to run a very simple Perl script (a script just printing "Hello" on the screen) in the same directory. This will determine if it is an IIS or and AWStats issue.

You will find some useful tips here: Installing AWStats on IIS 6.0 (Including IIS 5.1).

6:02 pm
February 12, 2010


rfernandes

Member

posts 7

I'm using apache2.x, so i think that i don't need IIS.

10:19 pm
February 12, 2010


Jean-Luc

Admin

posts 1125

Well, it seems that's not my day.

You can try to run this Perl script from the browser:

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "\nHello world!" ;
exit ;

If this simple script does not work, check the permissions.

Reply to Post

Reply to Topic:
access.log errors!

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 9
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
15 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)