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 10-21-2010, 12:00 AM   #1
yoachan
Member
 
Registered: Nov 2009
Posts: 109

Rep: Reputation: 16
Webalizer: Unable to restore run data (10)


Dear all,

I'm using Webmin, and Webalizer plugin. Days ago, webalizer works fine. But starting from yesterday, Webalizer no longer generate reports. And when I try to generate report manually using webmin, I get this message:

Code:
Running Webalizer to generate report from /etc/httpd/logs/www.mydomain.com-access_log ..

.. Webalizer failed! See the output above for details.
Because I didn't get any details on that message, I run webalizer manually using command:

Code:
# webalizer -n mydomain.com
And as result, I got this message:
Code:
# webalizer -n mydomain.com
Error: Unable to restore run data (10)
I have few domains in this machine, and for all domains I got the same result.

Anyone has any idea(s) about what happened and how to cure it?

Few days ago I think I tried to install Perl-Small-XML using CPAN and failed.
And I installed awstats too.
Don't know whether it's related or not.


Any help appreciated.

regards,

Yoachan

Last edited by yoachan; 10-21-2010 at 12:02 AM.
 
Old 10-21-2010, 11:12 AM   #2
yoachan
Member
 
Registered: Nov 2009
Posts: 109

Original Poster
Rep: Reputation: 16
In case anyone looking for the answer:


If you plan to use the module to analyze multiple log files, it is important to make sure that the global Webalizer configuration is set up correctly to support this. The version that comes with some Linux distributions (like Redhat) incorrectly uses absolute paths for the history and cache files that store information about previous processing runs. To fix this, follow these steps before setting the options for any log files :

1. On the module's main page, click on the Edit Global Options button at the bottom. This will take you to a form for editing options that apply to all log files.
2. In the Webalizer history file field, make sure that the second radio button is selected and webalizer.hist appears in the text box. If some absolute path like /var/stats/webalizer.hist is displayed, change it.
3. Similar, make sure that the Webalizer incremental file field is set to webalizer.current and not some full path.
4. The Webalizer DNS cache file can be left set to an absolute path if you like, so that DNS information is shared between different reports.
5. Click the Save button at the bottom of the page to record the new settings.

for detail, read http://doxfer.webmin.com/Webmin/Weba...ogfileAnalysis
 
  


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
Webalizer - How do I see in apache all the html webalizer reports ? ytd Linux - General 11 01-20-2010 11:37 PM
webalizer & Error: Unable to restore run data (1) mikeshn Linux - Software 0 01-11-2005 10:39 AM
how to restore all my data anilux Linux - General 6 08-23-2004 05:30 AM
MYSQL data restore pattar Linux - Software 1 02-17-2003 08:55 PM
disk data restore zeky Linux - General 0 08-05-2002 07:08 AM

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

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