Yum Configuration Problem “error was [Errno 4] IOError: ” with solution IN RHCL LINUX

When I was configure YUM-Yellow Update Modifier in Red Hat Enterprise Linux server I got the following error but when I was run the command
Yum clean all and Yum list all it will list out the all things properly. But yum it is not install the any package.

It is giving the following error in rhcl5 >Yum configuration
[root@dhcppc3 ~]# yum install bind*
…………
……..
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for bind-chroot to pack into transaction set.
media://1192656534.547140%232/bind-chroot-9.3.3-10.el5.i386.rpm: [Errno 4] IOError:
Trying other mirror.
Error: failed to retrieve bind-chroot-9.3.3-10.el5.i386.rpm from base
error was [Errno 4] IOError:

The main reason for these problem is yum server it is not find there package properly or there createrepo is not group there package properly
Proper way to createrepo in rhcl5
[root@dhcppc3 ~]#createrepo /var/ftp/pub/Server
First I miss there Server directory so I Got these problem.
Then I will give the proper path like /var/ftp/pub/Server
Finally it will work properly.

Then in /etc/yum.repos.d/
In there yum configuration please give the proper Baseurl like /var/ftp/pub/Server
If you did not give proper things the it will display the error
media://1192656534.547140%232/bind-chroot-9.3.3-10.el5.i386.rpm: [Errno 4] IOError:
Trying other mirror.
Error: failed to retrieve bind-chroot-9.3.3-10.el5.i386.rpm from base
error was [Errno 4] IOError:

Related post