Webalizer not updating after change to new server

Ntvbs

Verified User
Joined
Oct 24, 2005
Messages
18
Last January we moved our servers to a new datacenter.

I only have one active user, ntvbs. Did full backup on the old server and restored everything on the new machine.

Everything is working for two months now, except webalizer. I just found this out today after a complaint from a customer.

I'm running FreeBSD 6.1/DA 1.28.5 and 1.28.6 and was checking what was wrong when I saw there is no /usr/local/bin/webalizer on my fresh installed DA machines.

Is this removed from the standard installation?

I'm not the BSD expert, but found on the forums the following:

wget -O /usr/local/bin/webalizer http://files.directadmin.com/services/freebsd6.0/webalizer
chmod 755 /usr/local/bin/webalizer
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

My questions, will it be updating again now? My last webalizer page shows information from January, will this be gone, or will there be just no information for February?

Can I run webalizer manually to check everything is OK now?

I did:
/usr/local/bin/webalizer -p -n mydomain.nl -o /usr/home/ntvbs/domains/mydomain.nl/stats/

but it is giving me:

History file not found...
Previous run data not found...

and lots of:

Warning: Truncating oversized hostname


So, here are my questions all together:

- Why is webalizer not being installed by default for fresh DA installs?
- Did I install webalizer correctly?
- Will it be a problem that webalizer didn't run for 40 days?
- Will webalizer know where to look for apache logs?
- Can I start webalizer manually?

Thanks a lot for your help! :D
 
Last edited:
Exact output after manual start webalizer:

servername# /usr/local/bin/webalizer -p -n mydomain.nl -o /usr/home/ntvbs/domains/mydomain.nl/stats/

Webalizer V2.01-10 (FreeBSD 6.1-RELEASE) English
Using logfile STDIN (clf)
Creating output in /usr/home/ntvbs/domains/mydomain.nl/stats/
Hostname for reports is 'mydomain.nl'
History file not found...
Previous run data not found...

Warning: Truncating oversized hostname
Skipping bad record (1)
^C
 
Last edited:
I keep on trying, now did the following:

servername# cd /usr/local/directadmin/customapache/webalizer-2.01-10
servername# ./configure

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for main in -l44bsd... no
checking for main in -lm... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking for main in -lpng... no
configure: error: png library not found... please install png.


But png is installed:

servername# make install
===> Installing for png-1.2.8_3
===> Generating temporary packing list
===> Checking if graphics/png already installed
===> An older version of graphics/png is already installed (png-1.2.8_2)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of graphics/png
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/graphics/png.


I will stop trying, cannot manage to fix it myself. Waiting for your answers.

Thanks an advance!
 
I can't speak for other but generally if folk don't answer it's because they don't have an answer.

I know it works for me; I tested with recently moved domains after first reading your post.

Possibly you should have DA support look on your server?

Jeff
 
Back
Top