-   Linux - Server (
-   -   yum server Configuration on rhel 5 (

Toushi 02-10-2012 08:40 AM

yum server Configuration on rhel 5
Hello All,

The is my first time configure the yum repository server. I have configure the server with ftp. While installing any package on server I get following error.

server ~]# yum -y install dhcp
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
Repository | 951 B 00:00
RHEL-Repository/primary | 856 kB 00:00
RHEL-Repository 2428/2428 [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Server. Please verify its path and try again
-server ~]#


@rhel5-server ~]# vi /etc/yum.repos.d/Server.repo

=====================Location ofPackages==========================
Kindly suggest on it.

kbscores 02-10-2012 08:53 AM

Most likely it is permissions on the Server directory. If it isn't that then if you are running SELinux check the context of that folder.

sibe 02-10-2012 01:05 PM

Are you able to ftp-get anything from the pub/Server using plain ftp commands?

knudfl 02-10-2012 01:14 PM


This system is not registered with RHN.
Please activate your paid Redhat account. Else no repositories.

Don't want to pay ? Then do not use Redhat EL.
There are free versions of Redhat EL : CentOS and Scientific Linux.


All times are GMT -5. The time now is 10:23 AM.