LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2004, 11:14 AM   #1
jjp001
LQ Newbie
 
Registered: Sep 2003
Location: Miami, FL
Distribution: Debian, Ubuntu, Fedora
Posts: 15

Rep: Reputation: 0
AWStats: No icons, Upgrading Process


Hello,

I have installed awstats 4.0 as a package shipped with Debian 3.0r2. After installation, the statistics would come up fine, except the icons were missing; specifically, those for the languages and the "AWStats" link at the top left-hand corner, and the graphical bars did not come out properly.

Some snooping around the httpd.conf and awstats.[localservername].conf files revealed Apache and AWStats were looking for icons in different places. The httpd.conf file had an alias for /icons/ to look at /usr/share/apache/icons. The awstats.[localservername].conf file had a DirIcons directive to look at /var/www/html/icon. Inspection of the /var/www/html/icon showed there were six additional subdirectories below it.

To attempt to remedy it, I went to the /usr/share/apache/icons directory and created symbolic links to the directory where the icons for AWStats were located; e.g.,

cd /usr/share/apache/icons
ln -s /var/www/html/icon/browser browser
ln -s /var/www/html/icon/clock clock
ln -s /var/www/html/icon/cpu cpu
ln -s /var/www/html/icon/flags flags
ln -s /var/www/html/icon/os os
ln -s /var/www/html/icon/other other

I also modified the awstats.[localservername].conf file and changed the DirIcons directive from

DirIcons="/var/www/html/icon"

to

DirIcons="/usr/share/apache/icons"

I stopped and restarted the apache service, even rebooted the server, and still... no icons!

I know this _is not_ a problem limited to Debian; another server that I operate running Red Hat 7.3 and AWStats 5.4 has the same problem.

If there is no easy fix for this, I would consider upgrading AWStats to 6.1 as per the SourceForge site, except the documentation states you have to check the version of Perl you're running, and replace the AWStats runtime files with new ones. Checking the version of Perl is easy, but the file replacement isn't, especially when you don't know where were the files installed. Also, I don't want to lose the configurations done to the awstats.[localservername].conf file, but I guess I could back that up to another directory.

Any thoughts or suggestions on this matter are _greatly_ appreciated.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with awstats Tamara Linux - General 2 11-04-2005 11:41 AM
In the process of upgrading from 9.1 -> 10.0 (boxed) ThatEvoGuy SUSE / openSUSE 7 10-26-2005 10:25 PM
awstats comprookie2000 Linux - Security 2 05-01-2005 05:55 PM
Upgrading Packages = Icons are messed up Tsumeone Debian 8 06-19-2004 03:26 AM
AWstats WiWa Linux - Software 11 08-17-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration