Index: [Article Count Order] [Thread]

Date:  Sun, 9 Dec 2007 01:33:21 +0800 (SGT)
From:  patricko (at mark) staff.singnet.com.sg
Subject:  [coba-e:11377] Re: Server webalizer not working and fix
To:  coba-e (at mark) bluequartz.org
Message-Id:  <Pine.LNX.4.44.0712090130410.13892-100000 (at mark) staff.singnet.com.sg>
In-Reply-To:  <Pine.LNX.4.44.0712090125490.12883-100000 (at mark) staff.singnet.com.sg>
X-Mail-Count: 11377


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
> 
> 
> 
>