LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[CLUG] Re: need help in executing webalizer in command line

[CLUG] Re: need help in executing webalizer in command line

HarshaRani hrani at ncbs.res.in
Thu Apr 7 05:49:50 IST 2005


Hello Peter,
Setting up the date in "webalizer.current" file to April 1st and running
webalizer as before worked fine.
But I still have a small problem, on 30th of Apr there is some entry in
the statistics, even though I have cross checked both in access_log and
access_log.1 for that particular date entry and it doesn't exist.
Can I correct this by anyway.

regards
Harsha

> Harsha,
>    The problem is that webalizer is "smart" and will not process logs
> containing data older then records it has already seen, which in your
case is sometime in 2011!
>
>    There may be a good command line way to work around this but I don't
> know what it is.
>
>    The way I deal with this is to edit the "webalizer.current" file.
> This file is located in the directory where your webalizer output is.
>
>   The first (non-comment) line contains the last date in the format of
> "YYYY M(M) D(D) H(H) M(M) S(S)" Modify this to whatever the last date
should be and run webalzier as normal.
>
>   Hope this helps.
>
> Pete
> --
> HarshaRani wrote:
>> Hi,
>> I have installed webalizer on my system, it is working fine till date.
Last week because of some accident the date and yrs was changed to 2011
and that happened exactly at the end of the month and now I am unable
to
>> get the statistics of this month (April 2005).
>> I am trying to get a hand on command line so that I can restore the
statistic for April 2005, but I am unable to do so.
>> My access_log files has split into 2
>> access_log has from 3rd April to till date and
>> access_log.1 has from march 27th to April 2nd.
>> Can you direct me how to go about it in command line for this month
(April).
>> I tried to something like this
>> webalizer -p /path to log file/access_log.
>> when I run this command nothing happens,I just get the
>> Warning: Truncating oversized date field.
>> Beyond that nothing happens
>> regards
>> Harsha
>







More information about the Cork mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell