Hi,
I am not able to access yum repository from client but able to access yum from server through ftp.I am getting the below error from client system as,
Client Config:--
[root@Client ~]# cat /etc/yum.repos.d/client.repo
[Client]
name=Client Repo
baseurl=ftp://1.1.1.1/pub/package
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@Client ~]# yum update all
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
ftp://1.1.1.1/pub/package/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] (113, 'No route to host')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Client. Please verify its path and try again
Server Config:--
[root@Server ~]# cat /etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
name=Server Repo
baseurl=file:///var/ftp/pub/package
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
I also had remove the repodata directory from server & again configured the yum repository through createrepo but still getting the same error from client.
Is there any SElinux policy need to be enabled ?
I am able to ping 1.1.1.1 (server) from 1.1.1.2 (client). I had checked previous threads but unable to solve my problem.
Any help will be appreciated.
Thanks