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

awstats standalone?

Reply to Post Add a New Topic
UserPost

2:22 pm
February 12, 2009


wwl

Guest

Hello,

i like to generate a statistic from old apache.log Files via command line to a pdf file. This should be possible with the awstats_buildstaticpages.pl

I use this command:

perl awstats_buildstaticpages.pl -config=domain.com -LogFile=/home/stats/domain.com/access.log -awstatsprog=pathto/awstats.pl -dir=/home/stats/domain.com/ -buildpdf=/usr/bin/htmldoc

But all i get is a raw awstat statistic without any data of the logfile.

What went wrong?

Can you help me, please

Christian

2:44 pm
February 12, 2009


Jean-Luc

Admin

posts 1125

Hi,

You don't see any data because you generated the PDF report for the default month, which is the present month (February 2009). You need to add the -month=MM  and -year=YYYY  options.

5:24 pm
February 12, 2009


wwl

Guest

Can you explain how it locks for this month?

Christian

4:05 pm
February 13, 2009


wwl

Guest

I sorry but it dident work.

how can i integrate a awstats.config file in this Line.

Witch one does awstats now use?

Thanks for help

Christian

8:11 am
February 17, 2009


Jean-Luc

Admin

posts 1125

I must say that I do not completely understand your comments, but here are a few remarks that I hope will be useful:

  • htmldoc  must be available on your server for awstats_buildstaticpages  to be able to create the PDF files; you should see an error message if awstats_buildstaticpages  does not find htmldoc 
  • the AWStats config file is the file specified by the -config  option
  • the -logfile  option is of no use here
  • to generate the PDF file for March 2008, I would try:

perl awstats_buildstaticpages.pl -config=domain.com -month=3 -year=2008 -awstatsprog=pathto/awstats.pl -dir=/home/stats/domain.com/ -buildpdf=/usr/bin/htmldoc

Reply to Post

Reply to Topic:
awstats standalone?

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:
6 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
9 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 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)