Koozali.org: home of the SME Server

Problem installing denyhosts

Offline toothandnail

  • ***
  • 133
  • +0/-0
Problem installing denyhosts
« on: April 03, 2012, 02:41:47 PM »
I'm trying to install the denyhosts contrib on an SME 7.5.1 machine. Keep coming up with this error:

Code: [Select]
[root@huntmaster ~]# yum install smeserver-denyhosts --enablerepo=smecontribs
Loading "protect-packages" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
smecontribs               100% |=========================| 2.3 kB    00:00     
smeaddons                 100% |=========================| 2.3 kB    00:00     
smeextras                 100% |=========================| 2.3 kB    00:00     
not using ftp, http[s], or file for repos, skipping - 4 is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: base
Error: Cannot find a valid baseurl for repo: base

Anyone tell me what I'm doing wrong?

Paul

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Problem installing denyhosts
« Reply #1 on: April 03, 2012, 03:28:10 PM »
toothandnail

Quote
Cannot find a valid baseurl for repo: base

The repos have recently changed due to Centos4.x EOL and require user intervention, for fix see
http://forums.contribs.org/index.php/topic,48424.0.html
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline toothandnail

  • ***
  • 133
  • +0/-0
Re: Problem installing denyhosts
« Reply #2 on: April 03, 2012, 05:20:38 PM »
toothandnail

The repos have recently changed due to Centos4.x EOL and require user intervention, for fix see
http://forums.contribs.org/index.php/topic,48424.0.html

Thanks Mary. I missed that, and must have been searching with the wrong terms, since it didn't come up when I searched.

Paul.

Offline toothandnail

  • ***
  • 133
  • +0/-0
Re: Problem installing denyhosts
« Reply #3 on: April 03, 2012, 05:29:32 PM »
Hmm. Just ran the command, but I'm getting another error now:

Code: [Select]
[root@huntmaster ~]# yum --disablerepo=base --disablerepo=updates update
Loading "protect-packages" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion

Any ideas on that one?

Paul.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Problem installing denyhosts
« Reply #4 on: April 03, 2012, 06:06:20 PM »
toothandnail

Try the further suggestion in that thread
http://forums.contribs.org/index.php/topic,48424.msg240692.html#msg240692
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline toothandnail

  • ***
  • 133
  • +0/-0
Re: Problem installing denyhosts
« Reply #5 on: April 03, 2012, 09:41:11 PM »
toothandnail

Try the further suggestion in that thread
http://forums.contribs.org/index.php/topic,48424.msg240692.html#msg240692

Thanks again. It worked, eventually. Oddly enough, out of the 9 SME servers I look after at the moment, only 2 had problems (both on the same network, one gateway, one file server).

:) I'll have to find time to visit the forum more often - missed the original announcement completely.

Paul.