LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-14-2007, 07:14 AM   #1
jjp001
LQ Newbie
 
Registered: Sep 2003
Location: Miami, FL
Distribution: Debian, Ubuntu, Fedora
Posts: 15

Rep: Reputation: 0
Angry Problems Computing Site Statistics With Awstats


Hello,

I am running Advanced Web Statistics 6.5 (build 1.857) (awstats) on a Debian 4.0 server. Until recently, I was successful running statistics with awstats hosting one site on the box. I then started running a second site, and have not been successful in getting the statistics computed for the new site as a cron job as root (I could with the first site without incident). The only way I can obtain statistics for the new site is manually while logged on as root.

I thought permissions was the issue, but the scripts in the /etc/cron.daily directory have the same permissions. I created a script for each of the sites, called awstats-update-site001 for the old site and awstats-update-site002 for the new site. The contents of awstats-update-site001 are as follows:

/usr/local/awstats/tools/awstats_buildstaticpages.pl -config=[fqdnsite001] -update

Where [fqdnsite001] denotes the fully qualified domain name of site001 (the old site). The script for site002 is similar, with the FQDN of the new site in place of [fqdnsite001].

I also checked the /var/log/awstats directory for any obvious red flags, particularly in the area of permissions. Nothing was found.

Any ideas?
 
  


Reply

Tags
awstats, script, statistics


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 not showing statistics havok1977 Linux - Software 2 07-15-2013 05:25 PM
LXer: CLI Magic: Use cURL to measure Web site statistics LXer Syndicated Linux News 0 10-16-2006 07:03 AM
Awstats Not Showing Statistics walkerrv Linux - Software 1 09-21-2006 10:58 PM
Awstats : statistics update problem gerilaradio Linux - Software 6 01-06-2006 08:11 PM
free web site statistics software on Linux? htic22 Linux - Software 7 04-29-2004 09:08 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration