How are you accessing Awstats? Through your CPanel (Analysis/Log Files | Web/FTP Stats | Awstats?
How long have you been hosted for? Usually Awstats takes upto 48 hours before it can report any stats, if your site hasn't been running for that long, then it could be a possibility.
From that error message, it seems the awstat.conf file was not created, if you want to give it a go creating it, then you need to create a text file called:
awstats.welcometothefair.com.confand put it in the directory:
/tmp/awstatsIn that file you would want:
CODE
LogFile="/usr/local/apache/domlogs/welcometothefair.com"
LogFormat=1
DNSLookup=0
DirData="/home/miazom/tmp/awstats"
DirCgi="/tmp/awstats"
DirIcons="/images/awstats"
SiteDomain="welcometothefair.com"
HostAliases="welcometothefair.com www.welcometothefair.com"
AllowToUpdateStatsFromBrowser=0
AllowFullYearView=3
AllowAccessFromWebToAuthenticatedUsersOnly=0
AllowAccessFromWebToFollowingAuthenticatedUsers=""
CreateDirDataIfNotExists=1
SaveDatabaseFilesWithPermissionsForEveryone=0
PurgeLogFile=0
ArchiveLogRecords=0
KeepBackupOfHistoricFiles=0
DefaultFile="index.html"
SkipHosts=""
SkipDNSLookupFor=""
SkipFiles="robots.txt$ favicon.ico$"
OnlyFiles=""
NotPageList="css js class gif jpg jpeg png bmp"
ValidHTTPCodes="200 304"
URLWithQuery=0
WarningMessages=1
NbOfLinesForCorruptedLog=50
SplitSearchString=0
Expires=0
WrapperScript=""
LevelForRobotsDetection=1 # 0 will increase AWStats speed by 1%.
LevelForBrowsersDetection=1 # 0 disables Browsers detection. No speed gain.
LevelForOSDetection=1 # 0 disables OS detection. No speed gain.
LevelForRefererAnalyze=1 # 0 will increase AWStats speed by 6%.
UseFramesWhenCGI=1
MaxRowsInHTMLOutput=1000
Lang="en"
DirLang="/usr/local/cpanel/3rdparty/share/awstats/lang"
ShowHeader=1 # Show AWStats head title and icon
ShowMenu=1 # Show menu header with links on detailed reports
ShowMonthDayStats=1
ShowDaysOfWeekStats=1
ShowHoursStats=1
ShowDomainsStats=1
ShowHostsStats=1
ShowAuthenticatedUsers=1
ShowRobotsStats=1
ShowPagesStats=1
ShowCompressionStats=0 # Show report of compression stats when using mod_gzip
ShowFileTypesStats=1
ShowFileSizesStats=0 # Not yet available
ShowBrowsersStats=1
ShowOSStats=1
ShowOriginStats=1
ShowKeyphrasesStats=1
ShowKeywordsStats=1 # Not yet available
ShowHTTPErrorsStats=1
MaxNbOfDomain = 25
MaxNbOfHostsShown = 25
MinHitHost = 1
MaxNbOfLoginShown = 10
MinHitLogin = 1
MaxNbOfRobotShown = 25
MinHitRobot = 1
MaxNbOfPageShown = 25
MinHitFile = 1
MaxNbOfRefererShown = 25
MinHitRefer = 1
MaxNbOfKeywordsShown = 25
MinHitKeyword = 1
FirstDayOfWeek=1
DetailedReportsOnNewWindows=1
ShowFlagLinks="en fr de it nl es"
ShowLinksOnUrl=1
MaxLengthOfURL=72
ShowLinksToWhoIs=0
LinksToWhoIs="http://www.whois.net/search.cgi2?str="
HTMLHeadSection=""
HTMLEndSection=""
Logo="awstats_logo1.png"
LogoLink="http://awstats.sourceforge.net"
BarWidth = 260
BarHeight = 180
StyleSheet=""
color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF")
color_TableBGTitle="CCCCDD" # Background color for table title (Default = "CCCCDD")
color_TableTitle="000000" # Table title font color (Default = "000000")
color_TableBG="CCCCDD" # Background color for table (Default = "CCCCDD")
color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF")
color_TableBGRowTitle="ECECEC" # Background color for row title (Default = "ECECEC")
color_TableBorder="ECECEC" # Table border color (Default = "ECECEC")
color_text="000000" # Color of text (Default = "000000")
color_textpercent="606060" # Color of text for percent values (Default = "606060")
color_titletext="000000" # Color of text title within colored Title Rows (Default = "000000")
color_weekend="EAEAEA" # Color for week-end days (Default = "EAEAEA")
color_link="0011BB" # Color of HTML links (Default = "0011BB")
color_hover="605040" # Color of HTML on-mouseover links (Default = "605040")
color_u="FF9933" # Background color for number of unique visitors (Default = "FF9933")
color_v="F3F300" # Background color for number of visites (Default = "F3F300")
color_p="4477DD" # Background color for number of pages (Default = "4477DD")
color_h="66F0FF" # Background color for number of hits (Default = "66F0FF")
color_k="339944" # Background color for number of bytes (Default = "339944")
color_s="8888DD" # Background color for number of search (Default = "8888DD")
LoadPlugin="geoipfree"
You could configure it more if you like, but this is a standard config.
If this is too much, then you can also leave this in the hands of our techs to set it up for you if you like?
Cheers,
MC
Reply