How to install Webalizer in DirectAdmin ?

How to install Webalizer in DirectAdmin ?

Go to the directadmin guide.

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

Choose the OS

Redhat
Fedora
Enterprise / CentOS
FreeBSD
Debian

Then choose the version of your OS

Redhat 7.2
Redhat 7.3
Redhat 8.0
Redhat 9.0
Fedora 1
Fedora 2
Fedora 3
Fedora 4
Fedora 5
ES 3.x / CentOS
ES 4.x / CentOS
ES 5.x / CentOS
FreeBSD 4.x
FreeBSD 5.x
Debian 3.0
Debian 3.1

Then it will generate something like this.

wget -O /usr/bin/webalizer http://files.directadmin.com/services/es_5.0/webalizer
chmod 755 /usr/bin/webalizer

So, login your root and run it.

Once you’ve updated the binary, you can type:

echo “action=tally&value=all” >> /usr/local/directadmin/data/task.queue

Then wait a few minutes for the tally to update the stats.

For a full webalizer debug guide, see this post.
http://www.directadmin.com/forum/showthread.php?p=113858&posted=1#post113858

[mono-addon] -bash-3.2# webalizer
webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

If you face this problem, can be solved in here.

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

For more trouble shooting of installing Webalizer on DirectAdmin

http://help.directadmin.com/?query=webalizer

Here is my log to installing the Webalizer on DirectAdmin

-bash-3.2# wget -O /usr/bin/webalizer http://files.directadmin.com/ services/es_5.0/webalizer
–2011-10-12 02:20:24– http://files.directadmin.com/services/es_5.0/webalizer
Resolving files.directadmin.com… 72.35.85.222, 69.30.193.202
Connecting to files.directadmin.com|72.35.85.222|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 139582 (136K) [text/plain]
Saving to: `/usr/bin/webalizer’

100%[======================================>] 139,582 103K/s in 1.3s

2011-10-12 02:20:26 (103 KB/s) – `/usr/bin/webalizer’ saved [139582/139582]
-bash-3.2# chmod 755 /usr/bin/webalizer
-bash-3.2# echo “action=tally&value=all” >> /usr/local/directadmin/ data/task.queue
-bash-3.2# /usr/local/directadmin/data/task.queue
-bash: /usr/local/directadmin/data/task.queue: Permission denied
-bash-3.2# cat /usr/local/directadmin/data/templates/custom/webaliz er.conf
cat: /usr/local/directadmin/data/templates/custom/webalizer.conf: No such file o r directory
-bash-3.2# webalizer
webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
-bash-3.2# echo “/usr/local/lib” >> /etc/ld.so.conf
-bash-3.2# ldconfig
-bash-3.2# yum install gd
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.biz.net.id
* epel: mirrors.ispros.com.bd
* extras: centos.biz.net.id
* updates: centos.biz.net.id
Mono | 1.3 kB 00:00
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:01
base 3566/3566
epel | 3.7 kB 00:00
epel/primary_db | 3.7 MB 00:03
extras | 2.1 kB 00:00
extras/primary_db | 159 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 205 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package gd.i386 0:2.0.33-9.4.el5_4.2 set to be updated
–> Processing Dependency: libXpm.so.4 for package: gd
—> Package gd.x86_64 0:2.0.33-9.4.el5_4.2 set to be updated
–> Processing Dependency: libXpm.so.4()(64bit) for package: gd
–> Running transaction check
—> Package libXpm.i386 0:3.5.5-3 set to be updated
—> Package libXpm.x86_64 0:3.5.5-3 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gd i386 2.0.33-9.4.el5_4.2 base 154 k
gd x86_64 2.0.33-9.4.el5_4.2 base 155 k
Installing for dependencies:
libXpm i386 3.5.5-3 base 45 k
libXpm x86_64 3.5.5-3 base 44 k

Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)

Total download size: 399 k
Is this ok [y/N]: y
Downloading Packages:
(1/4): libXpm-3.5.5-3.x86_64.rpm | 44 kB 00:00
(2/4): libXpm-3.5.5-3.i386.rpm | 45 kB 00:00
(3/4): gd-2.0.33-9.4.el5_4.2.i386.rpm | 154 kB 00:00
(4/4): gd-2.0.33-9.4.el5_4.2.x86_64.rpm | 155 kB 00:00
——————————————————————————–
Total 518 kB/s | 399 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXpm 1/4
Installing : libXpm 2/4
Installing : gd 3/4
Installing : gd 4/4

Installed:
gd.i386 0:2.0.33-9.4.el5_4.2 gd.x86_64 0:2.0.33-9.4.el5_4.2

Dependency Installed:
libXpm.i386 0:3.5.5-3 libXpm.x86_64 0:3.5.5-3

Complete!
-bash-3.2# ln -s /usr/local/lib/libgd.so.2 /usr/lib/libgd.so.2
ln: creating symbolic link `/usr/lib/libgd.so.2′ to `/usr/local/lib/libgd.so.2′: File exists
-bash-3.2# webalizer
Webalizer V2.01-10 (Linux 2.6.18-238.9.1.el5) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is ‘server.pelayan.com’
History file not found…
.


Tags: , , , , , , ,

Translate

Buy me a Caffè Latte

Thank you for the Caffè Latte

2013/02/15 saw art
2013/01/25 Parul Patel
2012/11/20 Barbara Nicholas $10
2012/10/08 Amy Stockman $5
2012/07/15 siewho chang $ 50
2012/06/08 Susan Hampton $10
2012/05/11 Chris Grima $10