LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2011, 04:20 PM   #1
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Rep: Reputation: Disabled
yum 550 error


hi , i trying to configure yum locally, i have rpms in /var/ftp/pub/server directory, i have done createrepo -g /var/ftp/pub/server.
Repo list created , but when i do yum update , it gives the below output:

[root@localhost ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
ftp://192.168.1.111/pub/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: rhel
 
Old 08-29-2011, 04:31 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,788
Blog Entries: 1

Rep: Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340
What kind of permissions have you put on the directory? Sounds as if you have not set them up correctly, and Yum is unable to change to that directory to read it.
 
Old 08-29-2011, 05:29 PM   #3
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
drwxr-xr-x are there for /var/ftp/pub/Server, and root
is owner.
i created yum like this:
cd /var/ftp/pub/Server
createrepo -v /var/ftp/pub/Server
/etc/yum.repos.d
[rhel]
name=My Local Repo
baseurl=ftp://192.168.1.111/pub
enabled=1
gpgcheck=0
 
Old 08-30-2011, 11:17 AM   #4
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
i solved yum problem myself

Dear friends , i solved the yum problem myself,i just created share for /var/ftp/pub and gave rw permissions and createrepo -p /var/ftp/pub, then it worked out well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPd 550 error windom Linux - Server 3 01-09-2010 01:59 PM
vsftpd error 550 on suse 9.1 yuun Linux - Networking 0 07-15-2004 04:52 PM
getting error 550 from vsftpd monty Linux - Software 3 06-08-2004 04:22 PM
Vsftpd help- 550 error hda Linux - Networking 1 10-15-2003 02:26 PM
vsftpd 550 upload error rusium Linux - Networking 1 05-20-2003 02:30 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration