webalizer does dns lookup but it keeps running?

bvvelzen

Verified User
Joined
Oct 30, 2003
Messages
82
Location
Netherlands
Hi there,

I configured webalizer to resolve dns (with the DB program).
But now webalizer keeps running (from the tally at midnigth). Is it possible that the 1st time it has to run a very long time?
And is there a way to look wat it is doeing?

Tnx.
 
Why doesn't anybody reply on my threath? Is the problem a known problem or is it only at our server? What should we do?
 
I have not had this issue on any of my servers and it doesn't appear that anybody else has had the same or similar problem that's read your thread and felt like posting the solution to.

Can you describe more what you mean by still running?
It is possible that it's taking an extremely long time running because there are a lot of backlogs, but I doubt it would still be parsing for several days unless you have like a 50mhz processor that machine.

What version of DirectAdmin are you running and what operating system?

What happens if you execute webalizer directly from the command line?
 
Ok, tnx for the reply.

DA version = 1.24.2
OS = Fedora Core 1
It's a Dell with a Intel(R) Pentium(R) 4 CPU 2.80GHz
and 1032512 kB memory.

Before it worked great, but when I edited this file:
/usr/local/directadmin/data/templates/custom/webalizer.conf

to:
DNSCache /var/cache/dns_cache.|DOMAIN|.db
DNSChildren 10

I noticed that it keeps running like this in top:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
9649 root 25 0 728 404 404 R 99.4 0.0 473:07 0 webalizer

So I need to killall -KILL webalizer to get my load back on normal scale.

I investigated it also myself bij looking at the log's:
tail -f /var/log/directadmin/errortaskq.log

And only see this kind of log's.
2005:07:28-00:16:26: Unable to lstat /home/*****/imap : No such file or directory
2005:07:28-00:17:05: Unable to lstat /home/*****/imap : No such file or directory

and sometime's:
2005:07:28-00:16:14: Error compressing file /home/*****/domains/domain.nl/logs/Jul-2005.intranet.tar.gz : /bin/tar: domain.nl.intranet.error.log.1: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
<br>
(where ***** = username)

When I'm looking at my:
tail -f /var/log/directadmin/error.log

I see this:
2005:07:28-09:16:22: The username hasn't been set. Won't run the script without dropping privileges
2005:07:28-09:16:23: The username hasn't been set. Won't run the script without dropping privileges
2005:07:28-09:44:31: Socket write error: Unknown error

When I run myself the tally:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

I can see in the system.log that it's starting and it's passing most users. But then it stop's with a user (it starts the user but never stops). And this user is random, so the problem is not 1 user.

When i run webalizer from shell:
# /usr/bin/webalizer
Webalizer V2.01-10 (Linux 2.4.22-1.2199.4.legacy.nptl) Nederlands
Gebruik logbestand STDIN (clf)
Schrijf gegevens naar werk-directory
De 'Hostname' voor het rapport is 'domain'
History bestand niet gevonden...

This is dutch for: History file not found.
 
Back
Top