murshed
Nov 18 2002, 11:18 AM
hi all
i realized that weblizer doesn't work since i changed the server time (actually i brought it back 4 hours), so it just stopped weblizing ..
what is wrong and how could i make it run again?
thanks
murshed
Nov 18 2002, 12:51 PM
i tried running the executeable webalizer and this error came out:
bash-2.05$ ./webalizer
Webalizer V2.01-09 (Linux 2.4.9-31) English
Using logfile STDIN (clf)
DNS Lookup (50): Error: Unable to open DNS cache file dns_cache.db
ideas?
afriend
Nov 24 2002, 10:45 AM
The DNS cache file must exist - webalizer can't create it. Check in your webalizer.conf file to see the location where this file should be, and then:
touch /location_of_file/dns_cache.db
chmod 644 /location_of_file/dns_cache.db
This last is because you'll get webalizer errors if the file is NOT chmod 644
murshed
Nov 25 2002, 04:51 AM
this is the only par which talks about DNS in the webalizer.conf:
# DNSCache specifies the DNS cache filename to use for reverse DNS lookups.
# This file must be specified if you wish to perform name lookups on any IP
# addresses found in the log file. If an absolute path is not given as
# part of the filename (ie: starts with a leading '/'), then the name is
# relative to the default output directory. See the DNS.README file for
# additional information.
DNSCache dns_cache.db
# DNSChildren allows you to specify how many "children" processes are
# run to perform DNS lookups to create or update the DNS cache file.
# If a number is specified, the DNS cache file will be created/updated
# each time the Webalizer is run, immediately prior to normal processing,
# by running the specified number of "children" processes to perform
# DNS lookups. If used, the DNS cache filename MUST be specified as
# well. The default value is zero (0), which disables DNS cache file
# creation/updates at run time. The number of children processes to
# run may be anywhere from 1 to 100, however a large number may effect
# normal system operations. Reasonable values should be between 5 and
# 20. See the DNS.README file for additional information.
DNSChildren 50
it didn't mention the path
well i went to the sites webstat folder , and i did the touch command and then the chmod command to the dns_cache file mentioned.
i will wait for a while to see if it works or not
thanks
murshed
Nov 26 2002, 09:46 AM
unfortunately , this didn't help ...
Dimension8
Nov 26 2002, 11:01 AM
Have you tried uninstalling webalizer and reinstalling?
zekejr
May 18 2003, 08:35 PM
murshed,
Did you ever get your problem resolved? I had the exact same problem due to changing the server time. I've not had Webalizer running ever since!
Regards,
Zekejr
Kaelon
Jul 5 2003, 06:28 PM
I just got the same sort of error message:
QUOTE
/etc/cron.daily/00webalizer:
Error: Unable to open DNS cache file /var/lib/webalizer/dns_cache.db
This apparently started only after I instituted my own nameservers. I've touched and chmodded the file to 644 while logged in as the superuser, so we'll see if that fixes this.
Thanks,
Kaelon
murshed
Jul 5 2003, 11:49 PM
sorry for being late ..
i really forgot how i solved this problem!
what i remember is that i was waiting for the beggining of next month and to return the time to what it was.
Kaelon
Jul 7 2003, 08:52 PM
I hadn't changed my server time settings; I touched and chmodded the specified file, but I'm still receiving the following Cron error message.
Any ideas on how I:
a. Fix it?
b. Or disable it altogether?
Thanks!
Kaelon
Kaelon
Jul 12 2003, 11:52 AM
I've tried a variety of things, but none of them seems to work. Does anyone know where I can modify the controls for the WEbalizer?
Thanks,
Kaelon
hostu
Jul 13 2003, 09:08 PM
have the same prob... ive created the missing db several times,, each time i try to run webalizer it says it can't create the db file,,, so i check and each time the file has disapeared...... please anyone got this one fixed yet ?
thanks
chuck
AngryKid
Jul 19 2003, 10:09 AM
Try running 'webazolver'. That created the DB for me and the error disappeared. I'll hafta set up a cron job for this to keep the DB up-to-date.
hostu
Jul 19 2003, 11:12 AM
QUOTE
Originally posted by AngryKid
Try running 'webazolver'. That created the DB for me and the error disappeared. I'll hafta set up a cron job for this to keep the DB up-to-date.
thanks for the post , ran this and the db shows data but i get this when i type webalizer,,, any thoughts
[root@srv02 webalizer]# webalizer
Error: Skipping oversized log record
Error: Skipping oversized log record
Error: Skipping oversized log record
Error: Skipping oversized log record
by the way how do clients see the results when its working ? new to plesk/webalizer
[root@srv02 webalizer]# ls -la
total 108
drwxr-xr-x 2 root root 4096 Jul 19 11:59 .
drwxr-xr-x 14 root root 4096 Jun 25 05:14 ..
-rw-r--r-- 1 root root 49152 Jul 19 11:59 dns_cache.db
-rw-r--r-- 1 root root 51817 Jul 19 12:06 webalizer.current
-rw-r--r-- 1 root root 76 Jul 19 12:06 webalizer.hist
DeeCo
Jul 23 2003, 04:49 PM
You can try running /usr/local/psa/admin/sbin/statistics to kick it on manually
DeeCo
Jul 23 2003, 04:50 PM
clients see it at
http://www.
/webstat
hostu
Jul 23 2003, 05:24 PM
tried the above, got No valid records found!
No valid records found!
No valid records found!
etc
for i guess each domain hosted
the url ?????/webstat yields a error not found
this is a default rs installation a couple of weeks old,, mods are the apf firewall, no major changes to the default ,,,,, all else works but not the webalizer... any other thoughts...
thanks
chuck
rlx
Jul 24 2003, 09:47 AM
Edit /etc/webalizer.conf
Search for the line starting with
HistoryName and add a # infront of it.
Search for the line starting with
IncrementalName and comment that out as well.
Go to
http://www.tjsi.com/plesk and download the Webalizer Reprocessor to your machine.
wget
http://www.tjsi.com/plesk/webalizer_r.sh.gz
gunzip webalizer_r.sh.gz
Edit the file.
Go to the line that has "cleared of old files when using webalizer_ci with no custom" in it, and comment it out (add a # infront.)
Do the same for the next line, "configuration files present for the site being processed."
OK. Now test the script (this will not do anything to your machine as it's running in debug mode.)
Type:
sh ./webalizer_r.sh -o -purge
You should see a whole bunch of debug output, if it all looks OK, then edit the file again. Go to the line that says "debug=1" and comment it out.
Now run the program again:
sh ./webalizer_r.sh -o -purge
And that should regenerate all your reports.
The next time the PSA statistics program runs, it'll work properly.
Hope this helps.
Oh yeah, it's not found because you've enabled SSL for that domain. Go to
http
s://yourdomain.com/webstat/
qwertyjoe
Aug 2 2003, 06:00 PM
I am getting this error when trying to access my logs through webalizer/cpanel. "Cannot find an acceptable log file for your domain."
I do not have a webalizer.conf file on my server. My web address has not propagated yet if that makes a difference (haven't even pointed it to new IP yet). Can anyone tell me what my problem is? Thank you.
p4ck3tloss
Aug 12 2003, 04:15 AM
I was able to solve this problem by running webazolver. I did not have a dns_cache.db created/populated.
webazolver can be found in the /etc/rc.d/init.d/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.