首先执行webalizer命令
发现提示gd库没装
那么就编译一个吧

1
2
3
4
5
6
7
wget http://files.directadmin.com/services/custombuild/gd-2.0.35.tar.gz
tar zxvf gd-2.0.35.tar.gz
cd gd-2.0.35
mkdir -pv /usr/local/gd2
./configure --prefix=/usr/local/gd2 --with-jpeg=/usr/local/jpeg --with-zlib-dir=/usr/local/zlib --with-png=/usr/local/libpng --with-freetype=/usr/local/freetype --with-fontconfig=/usr/local/fontconfig --with-gettext=/usr/local/gettext --with-libart=/usr/local/libart
make
make install

编译完之后把/usr/local/gd2/lib/里面的东西丢到/usr/bin里面,然后手动运行一个用户的更新试试

1
webalizer -p -n domain.com -o /home/username/domains/domain.com/stats /var/log/httpd/domains/domain.com.log

应该没问题了,嗯,在博客里面记录下解决过程
参考文献:http://www.directadmin.com/forum/showthread.php?20906-Webalizer-don-t-update.-(FreeBSD)&p=113858&posted=1#post113858