webalizer stops

winger

Verified User
Joined
Oct 5, 2004
Messages
176
Location
Rio de Janeiro - Brasil
webalizer not working

hello,

webalizer stops to works on 07-Jun-2009.

any help to fix that?

thanks!

edit: it's not working on any domain, 07-Jun-2009 was the date when domains was restored.
 
Last edited:
just try to see the admin stats and get this:

File does not exist


Details

You must wait for the stats to be computed. This will only happen *after* logs exist (domain must resolve and be used).

Info for Admins: Downloading a new webalizer binary
 
I can't get any result running:

[root@srv5 /]# /usr/bin/webalizer
[root@srv5 /]#

or

[root@srv5 bin]# ./webalizer
[root@srv5 bin]#


or

[root@srv5 custombuild]# ./build webalizer
[root@srv5 custombuild]#
 
after follow the first link I get this:

[root@srv5 ~]# /usr/bin/webalizer
/usr/bin/webalizer: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libgd.so.2)
Webalizer V2.01-10 (Linux 2.6.18-028stab062.3) English
 
Hello,

Is that the full output from the webalizer command? (with the png error) or only part of it?

Because this bit of output says that the binary is actually running, and the first png error might be just a warning.
Code:
Webalizer V2.01-10 (Linux 2.6.18-028stab062.3) English
Try:
Code:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
to see if that actually runs webalizer.

Failing that, try the webalizer recompile.

http://help.directadmin.com/item.php?id=237

If you want to use ./build webalizer, you must first run:
Code:
mv -f /usr/bin/webalizer /usr/bin/webalizer.moved
because ./build webalizer only runs if there is no previous binary.

John
 
John,

using the ./build webalizer, now the user admin is working, so, it seens that webalizer is now working, but the others users, that was imported from backup are stoped in 06/03/2009.

any help?

thanks!
 
I've a problem too.

I have this message :
Code:
# webalizer
webalizer: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libgd.so.2)
Webalizer V2.01-10 (Linux 2.6.34.6-xxxx-grs-ipv6-64) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is 'serveur3.3go.fr'
History file not found...

I try :
Code:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

But it doesn't update stats in accounts of users.

I try :
Code:
mv -f /usr/bin/webalizer /usr/bin/webalizer.moved
./build webalizer

And I've an error :
Code:
configure: error: gd library not found.. please install libgd
Trying to make webalizer...
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.

*** The make has failed, do you want to try to make again? (y,n):

libgd is already install
I do it to solve this :
Code:
# webalizer
webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

So now, what can I do ?

Thanks for your help
 
Thanks... One error left, but always problem

Code:
]# ./build webalizer
File already exists:    webalizer-2.23-03-src.tgz
MD5 Checksum on webalizer-2.23-03-src.tgz passed.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether char is unsigned... no
checking for u_int64_t... yes
checking whether altzone is declared... no
checking for main in -l44bsd... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for main in -lm... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lpng... yes
checking for main in -lgd... yes
checking for gdImagePng in -lgd... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for main in -ldb... no
configure: WARNING: libdb not found.. DNS/GeoDB code disabled!
checking for language file... yes - english
configure: creating ./config.status
config.status: creating Makefile
config.status: linking ./lang/webalizer_lang.english to webalizer_lang.h
configure: Done.  Type 'make' to continue with build.
Trying to make webalizer...
gcc -Wall -O2  -I/usr/include -I/usr/lib -Iyes -DETCDIR=\"/usr/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1  -c webalizer.c
webalizer.c: In function 'main':
webalizer.c:749: attention : format '%llu' expects type 'long long unsigned int', but argument 5 has type 'u_int64_t'
webalizer.c:980: attention : format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
webalizer.c:988: attention : format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
webalizer.c:1406: attention : format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
webalizer.c:1458: attention : format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u_int64_t'
webalizer.c:1461: attention : format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u_int64_t'
webalizer.c:1462: attention : format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u_int64_t'
webalizer.c:1465: attention : format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u_int64_t'
gcc -Wall -O2  -I/usr/include -I/usr/lib -Iyes -DETCDIR=\"/usr/etc\" -DGEODB_LOC=\"/usr/share/GeoDB\" -DPACKAGE_NAME=\"webalizer\" -DPACKAGE_TARNAME=\"webalizer\" -DPACKAGE_VERSION=\"V2.23\" -DPACKAGE_STRING=\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1  -c hashtab.c
hashtab.c:71: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'hash'
hashtab.c: In function 'new_hnode':
hashtab.c:122: attention : format '%d' expects type 'int', but argument 4 has type 'size_t'
hashtab.c: In function 'put_hnode':
hashtab.c:160: erreur: 'uint32_t' undeclared (first use in this function)
hashtab.c:160: erreur: (Each undeclared identifier is reported only once
hashtab.c:160: erreur: for each function it appears in.)
hashtab.c:160: erreur: expected ';' before 'hval'
hashtab.c:163: erreur: 'hval' undeclared (first use in this function)
hashtab.c:163: attention : implicit declaration of function 'hash'
hashtab.c: In function 'new_unode':
hashtab.c:333: attention : format '%d' expects type 'int', but argument 4 has type 'size_t'
hashtab.c: In function 'put_unode':
hashtab.c:362: erreur: 'uint32_t' undeclared (first use in this function)
hashtab.c:362: erreur: expected ';' before 'hval'
hashtab.c:366: erreur: 'hval' undeclared (first use in this function)
hashtab.c: In function 'new_rnode':
hashtab.c:462: attention : format '%d' expects type 'int', but argument 4 has type 'size_t'
hashtab.c: In function 'put_rnode':
hashtab.c:491: erreur: 'uint32_t' undeclared (first use in this function)
hashtab.c:491: erreur: expected ';' before 'hval'
hashtab.c:495: erreur: 'hval' undeclared (first use in this function)
hashtab.c: In function 'new_anode':
hashtab.c:588: attention : format '%d' expects type 'int', but argument 4 has type 'size_t'
hashtab.c: In function 'put_anode':
hashtab.c:617: erreur: 'uint32_t' undeclared (first use in this function)
hashtab.c:617: erreur: expected ';' before 'hval'
hashtab.c:621: erreur: 'hval' undeclared (first use in this function)
hashtab.c: In function 'new_snode':
hashtab.c:707: attention : format '%d' expects type 'int', but argument 4 has type 'size_t'
hashtab.c: In function 'put_snode':
hashtab.c:734: erreur: 'uint32_t' undeclared (first use in this function)
hashtab.c:734: erreur: expected ';' before 'hval'
hashtab.c:738: erreur: 'hval' undeclared (first use in this function)
hashtab.c: In function 'new_inode':
hashtab.c:814: attention : format '%d' expects type 'int', but argument 4 has type 'size_t'
hashtab.c: In function 'put_inode':
hashtab.c:850: erreur: 'uint32_t' undeclared (first use in this function)
hashtab.c:850: erreur: expected ';' before 'hval'
hashtab.c:854: erreur: 'hval' undeclared (first use in this function)
hashtab.c: Hors de toute fonction :
hashtab.c:1231: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'hash'
make: *** [hashtab.o] Erreur 1

*** The make has failed, do you want to try to make again? (y,n):
 
Ok, I do that :

Code:
$ cd /usr/local/directadmin/custombuild
$ ./build clean
$ ./build update
$ ./build webalizer


In case of errors, install these dependencies:

$ yum install libpng libgd.so.2 db4-devel

Then I reinstall, with no error.
Code:
# webalizer
webalizer: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libgd.so.2)
Webalizer V2.23-03 (Linux 2.6.34.6-xxxx-grs-ipv6-64 x86_64) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is 'serveur3.3go.fr'
History file not found...
Always this error libpng



I test now
 
Check to see if you have a libpng in /usr/lib

ls -la /usr/lib/libpng*
 
Last edited:
Always no stats.

I don't know what I can do now...

Is there a command, just to run webalizer on one account ?
 
You reply just before me, I don't read your post

Code:
# ls -la /usr/lib/libpng*
lrwxrwxrwx 1 root root     18 jan 21 10:16 /usr/lib/libpng12.so.0 -> libpng12.so.0.10.0
-rwxr-xr-x 1 root root 151996 jui 14  2010 /usr/lib/libpng12.so.0.10.0
lrwxrwxrwx 1 root root     16 jan 21 10:16 /usr/lib/libpng.so.3 -> libpng.so.3.10.0
-rwxr-xr-x 1 root root 162336 jui 14  2010 /usr/lib/libpng.so.3.10.0
 
See thats why:

rm -rf /usr/local/lib/libpng12.so.0
ln -s /usr/lib/libpng12.so.0.10.0 /usr/local/lib/libpng12.so.0
 
You are a very quick helper ! Thanks.

Ok, one error less

Code:
# webalizer
Webalizer V2.23-03 (Linux 2.6.34.6-xxxx-grs-ipv6-64 x86_64) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is 'serveur3.3go.fr'
History file not found...

I check again to see if stats run or not

YES : it seems to work, I have now something for trafic today !

Thanks you very much
 
Yeah just run:

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
 
Yes I know, I use it to test.
I just want to try for only one user, if possible.

But no need now, because it works.
 
Back
Top