On Fri, 21 Dec 2007 14:47:25 +0200
Arthur Sherman <arturs (at mark) netvision.net.il> wrote:
> > webalizer use /var/www/html/usage to generate/store
> >
> > server webalizer stats
> >
> > But BQ GUI read from /var/www/usage
> >
> > quick fix
> >
> > soft link both together.
> >
> > It works
> >
> >
> >
> >
> >
> > > [root@xxx www]# pwd
> > > /var/www
> >
> > > [root@xxx www]# ls -lah
> > > total 28K
> > > drwxr-xr-x 7 root root 4.0K Dec 9 01:19 .
> > > drwxr-xr-x 24 root root 4.0K Oct 3 2005 ..
> > > drwxr-xr-x 2 root root 4.0K Sep 21 2005 cgi-bin
> > > drwxr-xr-x 3 root root 4.0K Nov 13 15:10 error
> > > drwxr-xr-x 3 root root 4.0K Sep 21 2005 html
> > > drwxr-xr-x 3 root root 4.0K Oct 3 2005 icons
> > > lrwxrwxrwx 1 root root 4 Dec 9 01:18
> > usage -> html
> >
> >
> >
> >
> >
> >
> > [root@xxx patricko]# ls -lah /var/www/html/usage total 16K
> > drwxr-xr-x 2 webalizer root 4.0K Dec 9 01:29 .
> > drwxr-xr-x 4 root root 4.0K Dec 9 01:28 ..
> > -rw-r--r-- 1 root root 0 Dec 8 14:39 index.html
> > -rw-r--r-- 1 webalizer root 1.4K Sep 21 2005 msfree.png
> > -rw-r--r-- 1 webalizer root 1.2K Sep 21 2005 webalizer.png
> >
> > [root@xxx patricko]# ls -lah /var/www/html total 28K
> > drwxr-xr-x 4 root root 4.0K Dec 9 01:28 .
> > drwxr-xr-x 7 root root 4.0K Dec 9 01:28 ..
> > -rw-r--r-- 1 root root 7.9K Sep 21 2005 anlgform.html
> > drwxr-xr-x 2 root root 4.0K Oct 3 2005 images
> > -rw-r--r-- 1 root root 185 Sep 21 2005 index.html
> > drwxr-xr-x 2 webalizer root 4.0K Dec 9 01:29 usage
> >
> >
> >
> >
> > On Sun, 9 Dec 2007 patricko (at mark) staff.singnet.com.sg wrote:
> >
> > >
> > >
> > >
> > > Hi Blues,
> > >
> > > I am using Redhat Ent 3 version
> > >
> > > It got a glitch in server webalizer and below is the fix
> > >
> > >
> > >
> > > [root@xxx www]# pwd
> > > /var/www
> > >
> > >
> > > [root@xxx www]# ls -lah
> > > total 28K
> > > drwxr-xr-x 7 root root 4.0K Dec 9 01:19 .
> > > drwxr-xr-x 24 root root 4.0K Oct 3 2005 ..
> > > drwxr-xr-x 2 root root 4.0K Sep 21 2005 cgi-bin
> > > drwxr-xr-x 3 root root 4.0K Nov 13 15:10 error
> > > drwxr-xr-x 3 root root 4.0K Sep 21 2005 html
> > > drwxr-xr-x 3 root root 4.0K Oct 3 2005 icons
> > > lrwxrwxrwx 1 root root 4 Dec 9 01:18
> > usage -> html
> > > drwxr-xr-x 2 webalizer root 4.0K Dec 9 01:18
> > usage-default.installation-notworking
> > >
> > >
> > > Cheers
> > > patrick
>
>
Most of my BQ are on Redhat Ent 3.
I dont have usage DIR
/home/.sites/90/site62/webalizer/ctry_usage_200403.png
/home/.sites/90/site62/webalizer/daily_usage_200404.png
/home/.sites/90/site62/webalizer/hourly_usage_200404.png
/home/.sites/90/site62/webalizer/usage_200404.html
/home/.sites/90/site62/webalizer/ctry_usage_200404.png
/home/.sites/90/site62/webalizer/daily_usage_200405.png
/home/.sites/90/site62/webalizer/hourly_usage_200405.png
/home/.sites/90/site62/webalizer/usage_200405.html
/home/.sites/90/site62/webalizer/ctry_usage_200405.png
/home/.sites/90/site62/webalizer/daily_usage_200406.png
/home/.sites/90/site62/webalizer/hourly_usage_200406.png
/home/.sites/90/site62/webalizer/usage_200406.html
Try ldd and see any dependency is broken (See any thing missing)
ldd /usr/bin/webalizer
libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x00f2c000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00eeb000)
libz.so.1 => /usr/lib/libz.so.1 (0x008f5000)
libm.so.6 => /lib/tls/libm.so.6 (0x003a9000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00675000)
libdb-4.1.so => /lib/libdb-4.1.so (0x00b68000)
libc.so.6 => /lib/tls/libc.so.6 (0x009b5000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00111000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00161000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00d51000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00933000)
And run the script manually and catch any errors
/etc/cron.daily/00webalizer
/usr/bin/webalizer
Cheers
patrick
> Hi Patrick,
>
> There is no usage dir in html folder - is it normal?
> My webalizer stopped working right after the last update.
>
>
> Best,
> --
>
> Arthur Sherman
>
>
>