Koozali.org: home of the SME Server

unable to install dansguardian-stats

Offline ber

  • ****
  • 239
  • +0/-0
unable to install dansguardian-stats
« on: June 29, 2013, 03:09:46 AM »
Hi Can anyone advise where I am going wrong or what the problem could be.

Went through the instructions about how to install dansguardian-stats, I did install from repository- failed, so downloaded file and did a "local install"- failed also.
I tried the upgrade option, still failed.

http://wiki.contribs.org/Dansguardian-stats

heres the output.

login as: root
root@mefchurch.dyndns-ip.com's password:
Last login: Sat Jun 29 12:26:15 2013 from 119-224-106-1.callplus.net.nz
[root@server ~]# yum install --enablerepo=smecontribs smeserver-dansguardian smeserver-dansguardian-stats
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.web24.net.au
 * smeaddons: ftp.nluug.nl
 * smecontribs: ftp.nluug.nl
 * smeextras: ftp.nluug.nl
 * smeos: ftp.nluug.nl
 * smeupdates: ftp.nluug.nl
 * updates: mirror.internode.on.net
base                                                     | 1.1 kB     00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.bhs.mirrors.ovh.net/smeserver/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://sme-mirror.firewall-services.com/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://www.mirrorservice.org/sites/mirror.contribs.org/smeserver/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.mirror.garr.it/mirrors/smeserver/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.hakkers.com/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.absolutnet.de/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.drogisterij-markt.nl/sme/releases/8/smeaddons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smeaddons                                                | 2.5 kB     00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/8/smecontribs/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.bhs.mirrors.ovh.net/smeserver/releases/8/smecontribs/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://sme-mirror.firewall-services.com/releases/8/smecontribs/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smecontribs                                              | 2.5 kB     00:00
smecontribs/primary_db                                   |    0 B     00:22 ...
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/8/smecontribs/i386/repodata/9b4bdcf002048ee2b67b293144baa479defad58a-primary.sqlite.bz2: [Errno 4] Socket Error: (104, 'Connection reset by peer')
Trying other mirror.
http://smeserver.mirror.garr.it/mirrors/smeserver/releases/8/smecontribs/i386/repodata/9b4bdcf002048ee2b67b293144baa479defad58a-primary.sqlite.bz2: [Errno 4] IOError: <urlopen error (104, 'Connection reset by peer')>
Trying other mirror.
smecontribs/primary_db                                   |    0 B     00:23 ...
http://mirror.hakkers.com/releases/8/smecontribs/i386/repodata/9b4bdcf002048ee2b67b293144baa479defad58a-primary.sqlite.bz2: [Errno 4] Socket Error: (104, 'Connection reset by peer')
Trying other mirror.
smecontribs/primary_db                                   |    0 B     00:22 ...
http://mirror.absolutnet.de/releases/8/smecontribs/i386/repodata/9b4bdcf002048ee2b67b293144baa479defad58a-primary.sqlite.bz2: [Errno 4] Socket Error: (104, 'Connection reset by peer')
Trying other mirror.
smecontribs/primary_db                                   |    0 B     00:22 ...
http://mirror.drogisterij-markt.nl/sme/releases/8/smecontribs/i386/repodata/9b4bdcf002048ee2b67b293144baa479defad58a-primary.sqlite.bz2: [Errno 4] Socket Error: (104, 'Connection reset by peer')
Trying other mirror.
smecontribs/primary_db                                   | 435 kB     00:02
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.bhs.mirrors.ovh.net/smeserver/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://sme-mirror.firewall-services.com/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://www.mirrorservice.org/sites/mirror.contribs.org/smeserver/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.mirror.garr.it/mirrors/smeserver/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.hakkers.com/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.absolutnet.de/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.drogisterij-markt.nl/sme/releases/8/smeextras/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smeextras                                                | 2.5 kB     00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.bhs.mirrors.ovh.net/smeserver/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://sme-mirror.firewall-services.com/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smeos                                                    |    0 B     00:29 ...
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/8/smeos/i386/repodata/repomd.xml: [Errno 4] Socket Error: timed out
Trying other mirror.
http://www.mirrorservice.org/sites/mirror.contribs.org/smeserver/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.mirror.garr.it/mirrors/smeserver/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.hakkers.com/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.absolutnet.de/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.drogisterij-markt.nl/sme/releases/8/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smeos                                                    | 2.7 kB     00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/8/smeupdates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://smeserver.bhs.mirrors.ovh.net/smeserver/releases/8/smeupdates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://sme-mirror.firewall-services.com/releases/8/smeupdates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smeupdates                                               | 2.5 kB     00:00
http://mirror.internode.on.net/pub/centos/5.9/updates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.mel.bkb.net.au/pub/centos/5.9/updates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.swin.edu.au/centos/5.9/updates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.ventraip.net.au/CentOS/5.9/updates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.primusdatacentre.com.au/centos/5.9/updates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://centos.mirror.uber.com.au/5.9/updates/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
updates                                                  | 1.9 kB     00:00
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Package smeserver-dansguardian-2.9-7.el5.sme.noarch already installed and latest version
Nothing to do
[root@server ~]# ls
anaconda-ks.cfg  install.log.syslog                               wget-log
install.log      smeserver-dansguardian-stats-1.0.3-1.noarch.rpm
[root@server ~]# yum localinstall smeserver-dansguardian-stats-1.0.3-1.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver

Setting up Local Package Process
Examining smeserver-dansguardian-stats-1.0.3-1.noarch.rpm: smeserver-dansguardian-stats-1.0.3-1.noarch
smeserver-dansguardian-stats-1.0.3-1.noarch.rpm: does not update installed package.
Nothing to do
[root@server ~]# yum localupdate smeserver-dansguardian-stats-1.0.3-1.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining smeserver-dansguardian-stats-1.0.3-1.noarch.rpm: smeserver-dansguardian-stats-1.0.3-1.noarch
smeserver-dansguardian-stats-1.0.3-1.noarch.rpm: does not update installed package.
Nothing to do
[root@server ~]#

« Last Edit: June 29, 2013, 03:23:30 AM by ber »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #1 on: June 29, 2013, 04:37:07 AM »
ber

Show output of
rpm -q smeserver-dansguardian-stats
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ber

  • ****
  • 239
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #2 on: June 29, 2013, 01:06:16 PM »
login as: root
root@mefchurch.dyndns-ip.com's password:
Last login: Sat Jun 29 12:37:30 2013 from 119-224-106-1.callplus.net.nz
[root@server ~]# rpm -q smeserver-dansguardian-stats
smeserver-dansguardian-stats-1.0.3-1
[root@server ~]#


Regards

Offline p-jones

  • *
  • 594
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #3 on: June 29, 2013, 01:29:13 PM »
I am trying to install the sysmon contrib and also getting dependancy messages. I think there may be an issue with the smecontribs repo. It worked fine a week ago.

I blew that box away and started again, same Install CD, same hardware box, same internet connection but nothing tonite.

I dont know how or where to report this other than posting here. Certainly doesnt belong in bugzilla.
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #4 on: June 29, 2013, 03:17:00 PM »
ber

Quote
smeserver-dansguardian-stats-1.0.3-1

That tells you the package is already installed & the version that is installed.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #5 on: June 29, 2013, 04:02:17 PM »
p-jones

Are you using sme7.6 or sme8 ?

The contrib appears to be in the sme8 contribs repo
http://distro.ibiblio.org/smeserver/releases/8/smecontribs/i386/RPMS/

Reinstalling the OS will not help you fix repo issues so stop wasting your time doing that.

Show us the command you used to install the sysmon contrib & show us the full error message you receive
« Last Edit: June 29, 2013, 04:05:42 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ber

  • ****
  • 239
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #6 on: June 30, 2013, 12:00:10 AM »
Janet,

Ive tried to access the dansguardian stats via the browser and i get the following message...

"Forbidden

You don't have permission to access /dansguardian on this server."

The dansguardian webfilter contrib is working and running as expected on the server.

by the way the server is a SME8 with all the updates installed. (running in server/gateway mode)

Offline p-jones

  • *
  • 594
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #7 on: June 30, 2013, 12:45:16 AM »

I have taken my issue to a new thread
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #8 on: June 30, 2013, 12:47:40 AM »
ber

Quote
Ive tried to access the dansguardian stats via the browser and i get the following message...
"Forbidden
You don't have permission to access /dansguardian on this server."

The wiki says:
This dansguardian statistics web page can, by default, only be seen from the local network (IP ranges defined in Local Network in the server-manager) but if you want this to be accessible from remote networks (public access) this can be done via (default: yes):

Are you accessing the web page from a workstation on the LAN or a workstation external or remote from the server ?

What is the output of
db configuration show dansguardian
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ber

  • ****
  • 239
  • +0/-0
Re: unable to install dansguardian-stats
« Reply #9 on: June 30, 2013, 06:23:34 AM »
Hi Janet, you are right!!!

the default config was for local access only. I was not able to test it locally until today. Thanks for the wiki referal- i should have read the details more closely- thanks again.

 :)

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: unable to install dansguardian-stats
« Reply #10 on: July 02, 2013, 11:00:51 PM »
I am working on a new version to import in the smecontribs repo

you can search for the bugzilla for information, or I will post there as soon as it seems ok