Friends ,
In my rhel5 ftp server I copy and paste all the rpms into the "/var/ftp/pub/Server" directory .
And from the rhel5 client machine I just configure the "/etc/yum.repos.d/rhel-debuginfo.repo" file :
---------------------------------------------------------------------
[root@localhost yum.repos.d]# cat rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://192.168.0.244/pub/Server
#enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
--------------------------------------------------------------------
Now when I install a package "dialog" using yum from client pc , then I get following error :
-----------------------------------------------------------------
[root@localhost ~]# yum install dialog
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
ftp://192.168.0.244/pub/Server/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 500 OOPS: vsftpd: refusing to run with writable anonymous root
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: rhel-debuginfo
[root@localhost ~]#
------------------------------------------------------------------
In my RHEL5 server end I allow the anonymous ftp access :
# Uncomment this to enable any form of FTP write command.
write_enable=YES
Now , would u plz tell me where is the problem ?