Webalizer Segmentation fault

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
songwind
Forum Newbie
Posts: 14
Joined: Wed Jul 26, 2006 9:27 am

Webalizer Segmentation fault

Post 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!!
iluxa
Forum Newbie
Posts: 15
Joined: Wed Nov 29, 2006 3:29 am

Post 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?
Post Reply