Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2006, 03:53 AM   #1
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
Config Error: Error accessing config file: /etc/yum.conf

hi. Im trying to add some repositories yum and now i get this error when trying to use yum.

Config Error: Error accessing config file: /etc/yum.conf

at first i added the required lines at the bottom of yum.conf and got that error. So i tried putting them in their own repository files but i still get the same error.

these are the file permissions:

-rw-r--r-- 1 root root 255 Jan 16 04:33 yum.conf

here is the file.


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
when i put the repo info in i put it after the two comments on the bottom. i used gedit to edit yum.conf so i did ps -e | grep gedit to see if maybe i still had it opened. That is all i could think of that it couldn't get accessed was wrong file permissions or it was already open. Can anyone help me figure this out? I can post the repo info i tried adding if necessary. Thanks for any replies in advance.
Old 01-17-2006, 12:55 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm..sounds odd indeed. maybe you should try to give the file -rwxrwxrwx permissions for a while, try out, and if it won't help then reverse them back to normal. if it then works, you know you need some extra permission for it (possibly x?). then, you could try removing the lines you added and try if it works - probably not, though. then you could use the command <umm can't remember it's name> that lists open files (I'm sure there is such a command..I've tried it even) and see if yours is one of them. that's all I can think of, google, google.

I hope you get the problem solved.
Old 01-17-2006, 05:20 PM   #3
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
thanks. yeah i should mention that i did try chmod +x to it and tried it with no luck but i'll try giving it full permissions to see if that will do anything. i tried lsof | grep yum.conf (lsof is the program to list open files) But i'll try it again grepping the full path. thanks for the 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
Having [Config Error] while using YUM conellylg Fedora 7 09-17-2010 09:37 AM
error message after editing config file kklim Linux - Newbie 6 01-10-2006 07:09 PM
Error Parsing Config file for X chiefreborn SUSE / openSUSE 5 08-31-2005 06:30 PM
DHCP config file error linux-rulz Linux - Networking 2 08-14-2005 11:13 AM
Error when loading Patrick's config file... JustinCoyan Slackware - Installation 8 07-08-2005 04:02 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 AM.

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