Quirky Awstats Installation on Debian Lenny.

Posted on 2010-01-01
Last Modified: 2012-05-08
I had attempted to get awstats running on a debian (lenny 64bit) server, but my first couple of attempts brought me to a point were couldn't locate certain files, or awstats so called "databases" were not being written in my log directory.  So I decided to do a aptitude remove awstats, and deleted the remnants of awstats, such as custom directories that I wanted to place my files, as well as the few lines I added to apache2.conf.

I recently came across an article that shows a slightly different approach to the install on Debian, and thought I would give it another shot.  This time however, when I go to do a aptitude install awstats, everything seems to install properly, but the files in /etc/awstats/ are not there, it's just an empty folder.  Meaning I have no base config files.

I decided to look at /usr/lib/cgi-bin/ and the only file there is  I can't even localte anymore.

Just curious if anyone has encountered this problem, and if there's a solution to it.  I don't want use a different program as awstats seems to be good  (when it works).
Question by:metazend
    1 Comment

    Accepted Solution

    I guess I resolved the issue myself.  Still unsure why the default .conf files aren't being created during install, but I ran in the command prompt and generate the files needed.  Only issue I came across where file locations being different in debian, and having to move it around so the perl script could locate it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now