Page 1 of 1

Webalizer Segmentation fault

Posted: Mon Nov 13, 2006 4:32 pm
by songwind
Since a day or 4 I am getting segmentation faults from the cronjob that runs that daily webalizer stats, the error does not happen every day.


The error line itself:

Code: Select all

/bin/bash: line 1: 20943 Segmentation fault      webalizer -c /var/system/webalizer.conf >dev/null 2>&1
When I run webalizer manually, I got same message as above sometime, I even got another error message sometime:

Another error message:

Code: Select all

Error: Unable to lock DNS cache file /var/lib/webalizer/dns_cache.db
How to solve this problem? If anyone can help, I will appreciate it very much!!

Posted: Wed Nov 29, 2006 4:06 am
by iluxa
There can be many different reasons.

If segmentation fault is intermittent, and you didn't change anything software-wise before, it may mean some sort of hardware problem (how is your CPU temperature? when did you run memtest last time?).

As for dnscache lock file - is there another webalizer process running at the same time?
Alternatively, is there some stale lock file left behind by crashed webalizer instance?