Sunday, December 18, 2011

httpd-2.2.3-31.el5.i386: Cannot find a valid baseurl for repo: Server

Hi All,


Actually its very basic mistake, in such type of errors if you have http repository setup, check once if http url is accessible from client or not.


If not accessible the probably problem with http service, but if accessible then ? ? ? ?

Then problem was very simple, it was wrong baseurl in /etc/yum.repos.d/yumconf.repo file

Here is sample of wrong configuration :

[root@station2 ~]# cat /etc/yum.repos.d/yumrepos.repo
[Server]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
basurl=http://192.168.152.130/Server
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

Error was quite simple, instead of "baseurl" it is "basurl"

Correct it and your problem will be solved quickly!!!

Regards,
Girish







No comments:

Post a Comment