Tags:
create new tag
, view all tags

Question

Just recently I had noticed that WebStatistics had broken. When running an update, I received an error saying that the log file where the stats are stored was not there. I checked, and sure enough the log file for log200708.txt was not created. I have had TWiki running for about 5 months now, and it has always automatically generated and populated the log files for each month.

I thought that as a fix, I would just run touch log200708.txt and then when I do a stats update, it would just populated that file. This turns out to not be the case. No matter how many times I run the stats update script, it doesn't update the log file.

I have not made any changes to TWiki that would effect this script, and perl hasn't been updated in the mean time (just in case a perl update was the culprit).

Any thoughts or ideas would be greatly appreciated!

Thanks, Ben

Environment

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, SpreadSheetPlugin, CommentPlugin, EditTablePlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TwistyPlugin, WysiwygPlugin
Server OS: Fedora Core 6
Web server: Apache 2.2.4
Perl version: 5.8.8
Client OS: Any/All
Web Browser: Mozilla Firefox/Internet Explorer
Categories: System logs, Statistics

-- BenjaminRoby - 10 Aug 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

who owns the log file? make sure the correct user (in my case apache) has rw permissions.

-- GrazianoMisuraca - 10 Aug 2007

That fixed the problem of the stats log file not updating. When I had manually created the log file for this month, I did it as root, and forgot to change permissions to apache.

Hopefully next month, TWiki will once again automatically create the new log file and I won't run into this issue.

Thanks for your help!

-- BenjaminRoby - 13 Aug 2007

 
Change status to:
Topic revision: r3 - 2007-08-13 - BenjaminRoby
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.