LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2005, 03:49 PM   #1
gquiring
LQ Newbie
 
Registered: May 2003
Location: Matawan, NJ
Distribution: Red Hat, Solaris
Posts: 20

Rep: Reputation: 0
Awstats with sendmail help


I am trying to configure awstats for a sendmail log. I am using the perl script to convert the maillog. awstats.pl output:

Error: Your personalized LogFormat does not include all fields required by AWStats (Add %host in your LogFormat string).

Below is a snip from my /etc/awstats config file. I had the host setup in the LogFormat line. I am using this page as my reference:

http://awstats.sourceforge.net/docs/..._faq.html#MAIL


LogFile="perl /var/www/html/awstats/tools/maillogconvert.pl standard < /var/log/maillog |"

LogType=M
LogFormat="%time2 %email %email_r %host %host_r %method %url %code %bytesd"
LevelForBrowsersDetection=0
LevelForOSDetection=0
LevelForRefererAnalyze=0
LevelForRobotsDetection=0
LevelForWormsDetection=0
LevelForSearchEnginesDetection=0
LevelForFileTypesDetection=0
ShowMenu=1
ShowSummary=HB
ShowMonthStats=HB
ShowDaysOfMonthStats=HB
ShowDaysOfWeekStats=HB
ShowHoursStats=HB
ShowDomainsStats=0
ShowHostsStats=HBL
ShowAuthenticatedUsers=0
ShowRobotsStats=0
ShowEMailSenders=HBML
ShowEMailReceivers=HBML
ShowSessionsStats=0
ShowPagesStats=0
ShowFileTypesStats=0
ShowFileSizesStats=0
ShowBrowsersStats=0
ShowOSStats=0
ShowOriginStats=0
ShowKeyphrasesStats=0
ShowKeywordsStats=0
ShowMiscStats=0
ShowHTTPErrorsStats=0
ShowSMTPErrorsStats=1
 
Old 03-01-2005, 04:18 PM   #2
gquiring
LQ Newbie
 
Registered: May 2003
Location: Matawan, NJ
Distribution: Red Hat, Solaris
Posts: 20

Original Poster
Rep: Reputation: 0
Found it. Duplicate line LogFormat found in file.
 
  


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
Awstats on SUSE 9.2 hk- SUSE / openSUSE 0 08-25-2005 04:26 PM
awstats comprookie2000 Linux - Security 2 05-01-2005 06:55 PM
Awstats error tommytomato Linux - General 0 09-11-2004 08:59 PM
awstats w/ qmail? ziggie216 Linux - Software 9 07-16-2004 04:52 AM
AWstats WiWa Linux - Software 11 08-17-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 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