This is a discussion on Error while configuring Yum within the Getting started tutorials forums, part of the Linux Getting Started category; I have a RHEL 5 server on which i had enable it to work as NFS share -- shares are ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
||||
|
I have a RHEL 5 server on which i had enable it to work as NFS share -- shares are enable and while i configured yum -- created a repository to locate as /var/ftp/pub/Server -- /var/ftp/pub/images -- /var/ftp/pub/VT
Now when i do yum update all command on the prompt it gives me an error on screen ftp://10.208.131.73:/var/ftp/pub/Server/repodata/repomd.xml: [Errno 4 IOError: Trying other mirror Error: Cannot open/read repomd.xmlfile for repository: Server Can you help what is causing this??? Also I tried the command createrepo to create a repository it is not allowing me to create it. please let me know what i am doing wrong here. its urgent....! Last edited by linux_sym; 10-24-2007 at 09:53 PM. Reason: tried few steps so need advice |
| Sponsored Links | ||
|
|
|
||||
|
Correct URL's in repositary file with ftp://10.208.131.73/pub/Server , ftp://10.208.131.73/pub/images , ftp://10.208.131.73/pub/VT
Check FTP Deamon, if not started, start it with /etc/init.d/vsftpd restart |
|
|||
|
Pls try this command.
restorecon -R /var/ftp/pub check the contents of the files in this path it should be listed as user_public_content somthing like that.. selinux is also major reason behind this error message |
|
|||
|
firstly correct url is like this
ftp://10.208.131.73 /var/ftp/pub/Server make sure in etc/yum.repos.d/Server.repo you have given name in capital letter means first letter of the name in capital & it applied with another server name too. for ex: [Rahul] name=Rahul ................................... ............................ enabled=1 gpgcheck=0 [Virtulisation] name=Virtulisation ........................... enabled=1 gpgcheck=0 :wq then go to the server side and run command service vsftpd restart service network restart if it still not works then run this too on servier side service iptables stop then come back to your client side (your sys on which problem arisen) run cmd service vsftpd restart service network restart it will work then run cmd yum list and install softwares.................. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| configuring DNS on Solaris 10 | pappu08 | Solaris/OpenSolaris | 1 | 04-01-2008 09:10 PM |
| Configuring iscsi RHEL | raj | CentOS / RHEL / Fedora | 1 | 11-26-2007 08:27 AM |
| Configuring disk quotas on Fedora Linux | chimu | Linux software | 2 | 12-26-2006 10:18 AM |
| Invalid ICMP type 3 code 3 error to a broadcast -samba error | raj | Linux software | 0 | 07-09-2006 04:38 AM |