Koozali.org: home of the SME Server

Error: Missing Dependency: awstats >= 6.5 is needed by pa

wezzy

Error: Missing Dependency: awstats >= 6.5 is needed by pa
« on: August 12, 2006, 11:00:56 AM »
Hi!

I'm trying to get awstats to work, but all the time I get this:
Error: Missing Dependency: awstats >= 6.5 is needed by package smeserver-awstats

I've tried with rpm package directly and with yum. I get the same thing. Does anyone have any ideas?

I'm real thankful for all the help I can get

Offline dsemuk

  • *****
  • 269
  • +0/-0
Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #1 on: August 12, 2006, 11:34:14 AM »
Which awstats RPM are you trying to install?

Dave
--
Esmith/Mitel/SME server  :-D...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #2 on: August 12, 2006, 12:23:17 PM »
Quote from: "dsemuk"
Which awstats RPM are you trying to install?

Dave
awstats is in the DAG repository if I remember correctly. You can add that and other repositories like described in the 3rd Party Yum Repositories.

Installing would than be (I guess as I have not tested it):

Code: [Select]
yum install smeserver-awstats --enablerepo=dag --enablerepo=base
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)

wezzy

Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #3 on: August 12, 2006, 01:40:04 PM »
Thank you cactus...

That seemed to work. And how do I reach awstats on my server now? it installed itself in "/var/www/awstats"

The whole point is obviously to see the statistics on a webpage

By the way, the RPM package I tried to install was smeserver-awstats-1.2-2.noarch.rpm

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #4 on: August 12, 2006, 01:49:29 PM »
Quote from: "wezzy"
Thank you cactus...

That seemed to work. And how do I reach awstats on my server now? it installed itself in "/var/www/awstats"

The whole point is obviously to see the statistics on a webpage

By the way, the RPM package I tried to install was smeserver-awstats-1.2-2.noarch.rpm
It is in your server-manager under the Administration and is called Web statistics. I don't exactly know how to make (parts of) it available to the general public, probably you will need to modify your templates to do so. From the top of my head (so not tested and prone to errors :-) ):

Code: [Select]
<Directory /awstats /var/www/awstats>
    DirectoryIndex awstats.pl
    Options None
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>


Which might make it available as http://fqdn-of-your-server/awstats.
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 CharlieBrady

  • *
  • 6,918
  • +3/-0
Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #5 on: August 13, 2006, 07:09:57 AM »
Quote from: "cactus"

 I don't exactly know how to make (parts of) it available to the general public...


awstats has a record of being widely exploited. Only expose it to the general public if you must, and be sure to use the latest version, and to watch for new updates and install them when they become available.

tias

Let's see if someone understands why
« Reply #6 on: August 13, 2006, 09:50:38 AM »
In my /etc/yum.conf following data is written:

Quote
[dag]
enabled=0
name=Dag - EL4
baseurl=http://apt.sw.be/redhat/el4/en/$basearch/dag
gpgcheck=1
enablegroups=0
exclude=freetype htop iptraf rsync syslinux
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt


But when I then run the command
yum install smeserver-awstats --enablerepo=dag --enablerepo=base

it will still not install awstats, get an error message telling me that:
Quote
Setting up Install Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
smeaddons                 100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Excluding Packages from Dag - EL4
Finished
Parsing package install arguments
No Match for argument: smeserver-awstats
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================


I tried install awstats with yum install smeserver-awstats --enablerepo=dag --enablerepo=base

Hope someone has the knowledge to help with this. I would be grateful for all help.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Let's see if someone understands why
« Reply #7 on: August 13, 2006, 10:00:11 AM »
Quote from: "tias"

I tried install awstats with yum install smeserver-awstats --enablerepo=dag --enablerepo=base

Hope someone has the knowledge to help with this. I would be grateful for all help.
As awstats is in the dungog repository you will probably need to enable that one also to find the smeserver-awstats package:
Code: [Select]
yum install smeserver-awstats --enablerepo=dag --enablerepo=base --enablerepo=dungog
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)

tias

Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #8 on: August 13, 2006, 10:06:33 AM »
Tried it and it came up with the following error message:
Quote
Setting up Install Process
Setting up repositories
http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/7.0/i386/dungog/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: dungog
failure: repodata/repomd.xml from dungog: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from dungog: [Errno 256] No more mirrors to try.


For dungog the yum.conf is:
Quote
[dungog]
enabled=0
name=SME Server 7 - dungog
baseurl=http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/7.0/i386/dungog/
gpgcheck=0
enablegroups=1


Is my settings in yum.conf wrong or is it just a server problem at this specific time?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #9 on: August 13, 2006, 10:17:22 AM »
Quote from: "tias"
For dungog the yum.conf is:
Quote
[dungog]
enabled=0
name=SME Server 7 - dungog
baseurl=http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/7.0/i386/dungog/
gpgcheck=0
enablegroups=1


Is my settings in yum.conf wrong or is it just a server problem at this specific time?
The setting is indeed incorrect (the correct settings are documented on http://dungog.net/sme/repo.php, to correct it:
Code: [Select]
/sbin/e-smith/db yum_repositories delete dungog
/sbin/e-smith/db yum_repositories set dungog repository \
 BaseURL http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/ \
 EnableGroups yes \
 GPGCheck no \
 Name 'SME Server 7 - dungog' \
 Visible yes \
 status enabled
expand-template /etc/yum.conf
After that you should be able to access the dungog repository and download smeserver-awstats.
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)

wezzy

Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #10 on: August 13, 2006, 01:23:11 PM »
I only wanted to say thank you for your help cactus. And I'll stick to have awstats in my server-manager only and not presented to the public. Some more problems accured on the way and basically I don't need it.

tias

awstats
« Reply #11 on: August 18, 2006, 01:29:04 PM »
Awstats was installed correctly. But when I should upgrade SME through the server-manager I ran through a problem... After accepting the update of package the server downloading everything... But then I got following message.

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /server-manager/cgi-bin/yum.

Reason: Error reading from remote server

Can mine changes in yum.conf caused this trouble? Or is it some servers that just refuses to give me the package I requested?

My yum.conf looks like following:
Quote
[main]
cachedir=/var/cache/yum
debuglevel=2
exactarch=1
installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported
logfile=/var/log/yum/yum.log
obsoletes=1
tolerant=1

[addons]
enabled=0
name=CentOS - addons
baseurl=http://mirror.centos.org/centos/4/addons/$basearch
gpgcheck=1
enablegroups=0

[atrpms]
enabled=0
name=atrpms - EL4
baseurl=http://dl.atrpms.net/el4-$basearch/atrpms/stable
gpgcheck=1
enablegroups=0
exclude=clamav spamassassin libselinux perl-HTML-Parser lm_sensors perl-IO-stringy perl-XML-Parser razor-agents libgcrypt rpm-python libxml2 zlib gnupg libxml2-python yum module-init-tools rpm gettext librpm4 glib2 perl-libwww-perl perl-Convert-ASN1 beecrypt fetchmail libacl libtool-ltdl popt libgpg-error freetype perl-MIME-tools mutt gd perl-TimeDate librpm4.4
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

[base]
enabled=0
name=CentOS - os
baseurl=http://mirror.centos.org/centos/4/os/$basearch
gpgcheck=1
enablegroups=0

[c4-testing]
enabled=0
name=CentOS-4 Testing
baseurl=http://dev.centos.org/centos/4/testing/i386/
gpgcheck=1
enablegroups=0
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

[centosplus]
enabled=0
name=CentOS - centosplus
baseurl=http://mirror.centos.org/centos/4/centosplus/$basearch
gpgcheck=1
enablegroups=0

[chaapai]
enabled=0
name=SME Server - Chaapai contribs
baseurl=ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0pre1/smechaapai/i386/
gpgcheck=0
enablegroups=0

[contrib]
enabled=0
name=CentOS - contrib
baseurl=http://mirror.centos.org/centos/4/contrib/$basearch
gpgcheck=1
enablegroups=0

[dag]
enabled=0
name=Dag - EL4
baseurl=http://apt.sw.be/redhat/el4/en/$basearch/dag
gpgcheck=1
enablegroups=0
exclude=freetype htop iptraf rsync syslinux
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

[dries]
enabled=0
name=dries - EL4
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS
gpgcheck=1
enablegroups=0
exclude=iptraf iptstate perl-Convert-ASN1 perl-Digest-SHA1 perl-XML-NamespaceSupport perl-XML-SAX python-elementtree spamassassin perl-Authen-PAM perl-IO-stringy perl-MIME-tools perl-Net-Server perl-Quota
gpgkey=http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt

[dungog]
enabled=1
name=SME Server 7 - dungog
baseurl=http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/
gpgcheck=0
enablegroups=1

[extras]
enabled=0
name=CentOS - extras
baseurl=http://mirror.centos.org/centos/4/extras/$basearch
gpgcheck=1
enablegroups=0

[jpackage-1.6-generic-free]
enabled=0
name=jpackage-1.6-generic-free
baseurl=http://mirrors.dotsrc.org/jpackage/1.6/generic/free/
gpgcheck=1
enablegroups=0
gpgkey=http://jpackage.org/jpackage.asc

[jpackage-1.6-generic-non-free]
enabled=0
name=jpackage-1.6-generic-non-free
baseurl=http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/
gpgcheck=1
enablegroups=0
gpgkey=http://jpackage.org/jpackage.asc

[jpackage-1.6-rhel4-free]
enabled=0
name=jpackage-1.6-rhel4-free
baseurl=http://mirrors.dotsrc.org/jpackage/1.6/redhat-el-4.0/free/
gpgcheck=1
enablegroups=0
gpgkey=http://jpackage.org/jpackage.asc

[kbs-centos-extras]
enabled=0
name=CentOS.Karan.Org-EL4 Extras - Stable
baseurl=http://centos.karan.org/el4/extras/stable/$basearch/RPMS/
gpgcheck=1
enablegroups=0
exclude=oidentd perl-FreezeThaw perl-IO-stringy perl-Net-Server perl-Test-Inline perl-Text-Template ulogd
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt

[kbs-centos-misc]
enabled=0
name=CentOS.Karan.Org-EL4 Misc - Stable
baseurl=http://centos.karan.org/el4/misc/stable/$basearch/RPMS/
gpgcheck=1
enablegroups=0
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt

[paulomatos]
enabled=0
name=Paulo Matos - RT 3.4.x
baseurl=http://campus.fct.unl.pt/paulomatos/rt/repository/3.4.x/
gpgcheck=0
enablegroups=0

[razorsedge]
enabled=0
name=razorsedge - EL4
baseurl=http://rpm.razorsedge.org/centos-4/RE/i386/
gpgcheck=1
enablegroups=0
exclude=ucspi-tcp
gpgkey=http://rpm.razorsedge.org/RPM-GPG-KEY.RE.txt

[silfreed]
enabled=0
name=Silfreed - EL4
baseurl=http://www.silfreed.net/download/repo/rhel/4/i386/silfreednet/
gpgcheck=1
enablegroups=0
gpgkey=http://www.silfreed.net/download/pubkey.txt

[smeaddons]
enabled=1
name=SME Server - addons
baseurl=http://mirror.contribs.org/smeserver/releases/7/smeaddons/$basearch
gpgcheck=1
enablegroups=1

[smedev]
enabled=0
name=SME Server - dev
baseurl=http://mirror.contribs.org/smeserver/releases/7/smedev/$basearch
gpgcheck=1
enablegroups=1

[smeos]
enabled=1
name=SME Server - os
baseurl=http://mirror.contribs.org/smeserver/releases/7/smeos/$basearch
gpgcheck=1
enablegroups=1

[smetest]
enabled=0
name=SME Server - test
baseurl=http://mirror.contribs.org/smeserver/releases/7/smetest/$basearch
gpgcheck=1
enablegroups=1

[smeupdates]
enabled=1
name=SME Server - updates
baseurl=http://mirror.contribs.org/smeserver/releases/7/smeupdates/$basearch
gpgcheck=1
enablegroups=1

[smeupdates-testing]
enabled=0
name=SME Server - updates testing
baseurl=http://mirror.contribs.org/smeserver/releases/7/smeupdates-testing/$basearch
gpgcheck=1
enablegroups=1

[testing]
enabled=0
name=CentOS - testing
baseurl=http://mirror.centos.org/centos/4/testing/$basearch
gpgcheck=1
enablegroups=0

[updates]
enabled=0
name=CentOS - updates
baseurl=http://mirror.centos.org/centos/4/updates/$basearch
gpgcheck=1
enablegroups=0

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Error: Missing Dependency: awstats >= 6.5 is needed by pa
« Reply #12 on: August 19, 2006, 01:26:36 AM »
From where did you get the awstats rpm's? Did you execute all the neccessary commands after installing the RPM's (e.g. signal-event post-update; signal-event reboot;)?

Did you wait for a few minutes to give awstats the time to analyze your log files as all info is gathered from there?

Oh, BTW please don't hi-jack someone other's thread, next time start a new one instead for your problem, clearly stating your problem and relevant information.
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 wjhobbs

  • *****
  • 171
  • +0/-0
    • http://www.chryxus.ca
Re: awstats
« Reply #13 on: August 20, 2006, 01:50:43 AM »
Quote from: "tias"
But when I should upgrade SME through the server-manager I ran through a problem... After accepting the update of package the server downloading everything... But then I got following message.

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /server-manager/cgi-bin/yum.

Reason: Error reading from remote server


You might want to refer to bug#1863.

This SME Update problem has nothing to do with awstats.

Suggest you perform a 'reconfigure' in the reboot-shutdown panel.

John
...