LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-28-2004, 08:25 PM   #1
hct224
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 87

Rep: Reputation: 15
Question ProFTPD logfile for Webalizer


Doese anyone know what is the format for FTP log file which need to be set to let Webalizer read it?
I use ProFTPD and when I run the report, Webalizer keep saying log file is not found. I check the path so many times and know for sure it's there and I also have no problem when using Webalizer to report bandwidth with vHost. There is the last thing I can think of is the FTP log format is not setup right.
 
Old 03-30-2004, 06:42 AM   #2
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 83

Rep: Reputation: 15
I also kinda have problems with webalizer parsing proftpd logs


I have added these lines to my proftpd.conf:
Code:
LogFormat      clf_default "%a - - %t "GET %f FTP/Client" 200 %b"
ExtendedLog        /var/log/xferlog.CLF read clf_default
(got it from inet)

And this in ftp.conf (webalizer config file)
Code:
LogFile     /var/log/xferlog.CLF
LogType        clf
BUT: the logfile is empty, everything is still logged in xferlog instead of xferlog.CLF (but xferlog.CLF is made in the process, it just stays empty)

Executing webalizer gives this:
Code:
root@Jupiter:/data/everyone/webalizer# webalizer -c ftp.conf
Webalizer V2.01-10 (Linux 2.4.22) English
Using logfile /var/log/xferlog.CLF (clf)
Creating output in /data/sites/datanukeftp
Hostname for reports is 'ftp.datanuke.be'
History file not found...
No valid records found!
 
  


Reply



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
Shell scripting: Print output to logfile, error to logfile & screen stefanlasiewski Programming 18 05-22-2008 12:47 PM
pam_unix in logfile jkmartha Linux - Newbie 1 05-04-2005 09:40 PM
Proftpd log file analysis with webalizer firefly2442 Linux - Software 1 01-20-2005 09:42 PM
Startup Logfile Wynand1 Linux - Newbie 1 06-01-2004 06:04 AM
Proftpd + webalizer BlackRabbit Linux - Software 1 03-30-2004 07:11 AM

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

All times are GMT -5. The time now is 12:40 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
Open Source Consulting | Domain Registration