My webalizer statistics don't update. The DirectAdmin Task Queue Log tells me the following:
I tried fixing webalizer by (re)installing it through the custombuild command:
This gave the following output:
Looks like i'm missing a library. So how to install libgd in the correct way so that DirectAdmin can use it?
Which is a little weird since this is a newly installed server. It is running Debian 11 (Bullseye).2022:10:13-00:10:42: Unable to find the webalizer binary: /usr/bin/webalizer. Download a new binary: http://files.directadmin.com/services/
I installed DirectAdmin on a fresh Debian installation with this command:Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-18-amd64
Architecture: x86-64
Bash:
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'Provided license key should go here'
I tried fixing webalizer by (re)installing it through the custombuild command:
Bash:
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build webalizer
This gave the following output:
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... /usr/bin/grep
checking for egrep... /usr/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... no
configure: error: gd library not found.. please install libgd
Trying to make webalizer...
make: *** No targets specified and no makefile found. Stop.
Looks like i'm missing a library. So how to install libgd in the correct way so that DirectAdmin can use it?