#yum -c
\
/path/to/configuration/file
clean all
#yum -c
\
/path/to/configuration/file
list kernel
-d 9
to the command line in order to have YUM spit out more detailed debugging output. This detailed output should leave you a clue or two about what might be wrong with the configuration.