今天早上做自动化部署系统时,安装完vsftp后启动完成,怎么也安装不了安装包报错如下:

Loaded plugins: product-id, refresh-packagekit, security,
              : subscription-manager
Updating certificate-based repositories.
ftp://192.168.131.149/rhel6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dhcp.i686 12:4.1.1-25.P1.el6 will be installed
--> Processing Dependency: dhcp-common = 12:4.1.1-25.P1.el6 for package: 12:dhcp-4.1.1-25.P1.el6.i686
--> Running transaction check
---> Package dhcp-common.i686 12:4.1.1-25.P1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================
 Package          Arch      Version                   Repository
                                                                 Size
======================================================================
Installing:
 dhcp             i686      12:4.1.1-25.P1.el6        base      817 k
Installing for dependencies:
 dhcp-common      i686      12:4.1.1-25.P1.el6        base      139 k

Transaction Summary
======================================================================
Install       2 Package(s)

Total download size: 956 k
Installed size: 2.1 M
Downloading Packages:
ftp://192.168.131.149/rhel6/Packages/dhcp-4.1.1-25.P1.el6.i686.rpm: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"
Trying other mirror.
ftp://192.168.131.149/rhel6/Packages/dhcp-common-4.1.1-25.P1.el6.i686.rpm: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"
Trying other mirror.


Error Downloading Packages:
  12:dhcp-4.1.1-25.P1.el6.i686: failure: Packages/dhcp-4.1.1-25.P1.el6.i686.rpm from base: [Errno 256] No more mirrors to try.
  12:dhcp-common-4.1.1-25.P1.el6.i686: failure: Packages/dhcp-common-4.1.1-25.P1.el6.i686.rpm from base: [Errno 256] No more mirrors to try

没办法,只能一点排错了   先是从新关下防火墙 。试试还是不好使,只好重新安装下 vsftp ,重启后还是不行

最后看了下文档发现有个命令没有打   打完后就好用了