Koozali.org: home of the SME Server

Newbie: awstats not working at all

Offline matheson

  • *
  • 15
  • +0/-0
Newbie: awstats not working at all
« on: September 11, 2006, 12:56:43 PM »
Hi there

I would like awstats to run. So I created an i-bay "awstats", got it from Swerts-Knudsen, installed it, but it does not work

Fond out, via "contribs HOW-TO" that I needed smeserver-awstats-1[1].2-2.noarch.rpm, got that. I have tryed to install it with the command "rpm -i smeserver-awstats-1[1].2-2.noarch.rpm", but all that I get is a page with parameters for the rpm-command.

I am not that strong in linux, so any help on beginner-level would be much appreciated.

Ian

www.matheson.dk & www.matheson.dk/awstats

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
Newbie: awstats not working at all
« Reply #1 on: September 11, 2006, 01:07:24 PM »
Ian,

I've not installed aw-stats, but as a general rule of thumb on installing RPMS, try this.

Its probably easiest to put the rpm into a folder on its own (or with other related RPMS)

Then try rpm -Uvh rpmname (note case sensitive)

The advantage of having the RPM in a folder on its own, it that after typing rpm -Uvh you can press the tab key & it will display the matching name in full (or type rpm -Uvh sme [tab] to complete the command with the any file name matching sme*)

If you have multiple RPMs you can use wildcards, so rpm -Uvh sme* would also work.  

I'm guessing, given what you've said, that the problem isa typing error on the rpm command, so trying this may solve the problem.

... of course, there's also a chance it may not  ...   ;-)
......

Offline cool34000

  • *
  • 339
  • +0/-0
Newbie: awstats not working at all
« Reply #2 on: September 11, 2006, 03:52:27 PM »
The error you get by installing your rpm is due to a bad name.
You should simply rename the rpm from smeserver-awstats-1[1].2-2.noarch.rpm to smeserver-awstats-1.2-2.noarch.rpm

For SME7, awstats doesn't need anymore to be installed in an ibay : stats will be integrated in your server-manager interface.

You will also need to download this rpm : awstats-6.5-1.2.el4.rf.noarch.rpm


Hope it helped...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Newbie: awstats not working at all
« Reply #3 on: September 11, 2006, 04:10:09 PM »
On SME 7 do not use rpm -Uvh use yum localinstall instead as this will automatically download neccessarry requirements from the enbaled repositories.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline matheson

  • *
  • 15
  • +0/-0
Newbie: awstats not working at all
« Reply #4 on: September 11, 2006, 05:50:36 PM »
Thanks to you for the answers

I creater "rpms", and pick up the two files awstats-6.5-1.2.el4.rf.noarch.rpm and smeserver-awstats-1.2.2.noarch.rpm

Then i run them by using rmp - Uvh "filename".

It works fine, thanks a lot. Only it is not in "www.matheson.dk/awstats", but it is in the server-manager. Thats fine.

PS: Why must I don't use rpm -Uvh ?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Newbie: awstats not working at all
« Reply #5 on: September 11, 2006, 09:32:50 PM »
Quote from: "matheson"
PS: Why must I don't use rpm -Uvh ?
Because yum is the prefferred way of installing software on a CentOS based system, like SME Server is, but most important: yum has the capability of resolving (like rpm does) and above that downloading dependencies required by a package you would like to install if it is found in one of the enabled repositories.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)