DirectAdmin Forums

Go Back   DirectAdmin Forums > Technical Discussion > User-Level Difficulties

Reply
 
Thread Tools Display Modes
  #1  
Old 07-12-2004, 08:26 PM
knife89 knife89 is offline
Registered User
 
Join Date: Jul 2004
Location: va
Posts: 2
webalizer not working

dns has been resolved for 5 days at least, reverse dns has not been resolved. when trying to get webalizer stats i get this message:

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)

am i missing something in setup or is it the reverse dns?
Reply With Quote
  #2  
Old 07-13-2004, 02:08 AM
jmstacey's Avatar
jmstacey jmstacey is offline
Verified User
 
Join Date: Feb 2004
Location: Colorado
Posts: 4,111
try running this command:

Code:
'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
If there still aren't any stats and your sure people have gone to your site (checking the httpd logs) then webalizer is not working properly.
Try reinstalling everything.
Code:
cd /usr/local/directadmin/customapache
./build clean
./build update
./build all
be sure to select yes when it asks to recompile programs, especially GD because those are most likely the culprits.

Although, if your not the admin you won't be able to do this, so if your sure there are stats to be generated but after another day there still aren't any webalizer files, I would suggest contacting your hosting company and have them correct the problem.
__________________
Just do what it takes to make it happen
Reply With Quote
  #3  
Old 07-13-2004, 06:56 AM
knife89 knife89 is offline
Registered User
 
Join Date: Jul 2004
Location: va
Posts: 2
gave it a try

jmstacy,
gave your suggestion a try will wait a day or two to see if it works. I get about 100 hits a day. Guess we will see. I'll let you know. thanks
Reply With Quote
  #4  
Old 07-21-2004, 07:33 PM
hostpc.com's Avatar
hostpc.com hostpc.com is offline
Verified User
 
Join Date: Aug 2003
Location: Schenectady, NY
Posts: 1,181
I just went through a fresh recompile of everything, including GD, and it's still not starting up webalizer.

RH9

GD
drwxrwxrwx 6 200 300 4096 Feb 24 12:06 gd-2.0.15
-rw-r--r-- 1 root root 526904 Jun 17 2003 gd-2.0.15.tar.gz
drwxrwxrwx 6 200 300 4096 Jul 21 21:18 gd-2.0.25
-rw-r--r-- 1 root root 545183 Jun 1 18:52 gd-2.0.25.tar.gz



ran a ./build clean then ./build all

[root@www11 customapache]# /usr/bin/webalizer
/usr/bin/webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

^^ That was immediately after the ./build all


[root@www11 customapache]# ./build webalizer
[root@www11 customapache]# /usr/bin/webalizer
/usr/bin/webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

Re-ran after the ./build all
Thanks for any help you can offer.
__________________
Joseph Mack http://www.hostpc.com Since November 1998
DirectAdmin Hosting and Dedicated Servers Since August 2003
Reply With Quote
  #5  
Old 08-02-2004, 06:24 AM
werwin01 werwin01 is offline
Verified User
 
Join Date: Aug 2004
Posts: 59
I am having the same problem on FreeBSD 4.1. It seems that libpng was not installed, so I installed it, but it does not show up that I have it installed, even though 'make install' worked.

Trying to install webalizer, which requires libpng will not work, since libpng shows it is not installed. I tried using the ./build webalizer, and got this:

Quote:
gcc -L/usr/local/lib -L/usr/local/lib -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
graphs.o: In function `year_graph6x':
graphs.o(.text+0xd36): undefined reference to `gdImagePng'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1abd): undefined reference to `gdImagePng'
graphs.o: In function `day_graph3':
graphs.o(.text+0x2109): undefined reference to `gdImagePng'
graphs.o: In function `pie_chart':
graphs.o(.text+0x26e1): undefined reference to `gdImagePng'
/usr/local/lib/libgd.so: undefined reference to `libiconv_open'
/usr/local/lib/libgd.so: undefined reference to `libiconv_close'
/usr/local/lib/libgd.so: undefined reference to `libiconv'
*** Error code 1

Stop in /usr/local/directadmin/customapache/webalizer-2.01-10.
-e \n*** The make has failed, do you want to try to make again? (y,n): n
I still think it is a libpng problem on FreeBSD 4.1. Any help would be greatly appreciated.

Last edited by werwin01; 08-03-2004 at 03:06 AM.
Reply With Quote
  #6  
Old 08-05-2004, 01:48 AM
werwin01 werwin01 is offline
Verified User
 
Join Date: Aug 2004
Posts: 59
Fixed the problem after countless hours. It turns out the problem was with libgd. The solution was to re-compile the GD library then do:

cd /usr/local/directadmin/customapache
./build clean
./build update
./build all

First had to re compile the GD library. Works now
Reply With Quote
  #7  
Old 02-06-2005, 07:59 PM
DirectAdmin Support DirectAdmin Support is offline
Administrator
 
Join Date: Feb 2003
Posts: 6,693
Hello,

If you ever have any problems with webalizer, all you need to do is get a new static binary. Eg, for Fedora 3, you'd type:
Code:
wget -O /usr/bin/webalizer http://files.directadmin.com/services/fedora_3/webalizer
chmod 755 /usr/bin/webalizer
For FreeBSD 4.x:
Code:
wget -O /usr/local/bin/webalizer http://files.directadmin.com/services/freebsd4.8/webalizer
chmod 755 /usr/local/bin/webalizer
You can see the whole list of OS's here:
http://files.directadmin.com/services

Note for freebsd, the webalizer path is /usr/local/bin/webalizer. All other OS's use /usr/bin/webalizer

The reason these binaries will be less trouble is because they are static, meaning all required libraries are included in the binary itself, so you should never see a missing library error.

John
Reply With Quote
  #8  
Old 02-19-2005, 02:30 PM
DirectAdmin Support DirectAdmin Support is offline
Administrator
 
Join Date: Feb 2003
Posts: 6,693
I've created a little help document to assist admins finding and fixing the issue.

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

John
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer stats not working ftwm User-Level Difficulties 1 07-31-2007 02:47 PM
Webalizer website stats stopped working. modem General Technical Discussion & Troubleshooting 0 12-02-2006 02:21 PM
HowTo: Custom webalizer wrapper for DA v0.0.1 markus How-To Guides 31 11-11-2006 06:25 AM
webalizer not working Chrysalis General Technical Discussion & Troubleshooting 2 09-27-2004 09:23 AM
webalizer stats not working uzaymerkezi General Technical Discussion & Troubleshooting 1 05-10-2004 10:26 AM


All times are GMT -7. The time now is 07:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
DirectAdmin © 2007 JBMC Software