cobbler get-loaders 错误解决方法

简介:

用yum方式安装cobbler时,执行cobbler get-loaders有时会报以下错误

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[root@cobbler ~] # cobbler get-loaders
task started: 2017-08-29_155755_get_loaders
task started ( id =Download Bootloader Content,  time =Tue Aug 29 15:57:55 2017)
path  /var/lib/cobbler/loaders/README  already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/COPYING .elilo already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/COPYING .yaboot already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/COPYING .syslinux already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/elilo-ia64 .efi already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/yaboot  already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/pxelinux .0 already exists, not overwriting existing content, use --force  if  you wish to update
path  /var/lib/cobbler/loaders/menu .c32 already exists, not overwriting existing content, use --force  if  you wish to update
downloading http: //cobbler .github.io /loaders/grub-0 .97-x86.efi to  /var/lib/cobbler/loaders/grub-x86 .efi
Exception occured: <class  'urlgrabber.grabber.URLGrabError' >
Exception value: [Errno 14] PYCURL ERROR 56 -  "Failure when receiving data from the peer"
Exception Info:
   File  "/usr/lib/python2.6/site-packages/cobbler/remote.py" , line 87,  in  run
     rc = self._run(self)
    File  "/usr/lib/python2.6/site-packages/cobbler/remote.py" , line 181,  in  runner
     return  self.remote.api.dlcontent(self.options.get( "force" ,False), self.logger)
    File  "/usr/lib/python2.6/site-packages/cobbler/api.py" , line 751,  in  dlcontent
     return  grabber.run(force)
    File  "/usr/lib/python2.6/site-packages/cobbler/action_dlcontent.py" , line 73,  in  run
     urlgrabber.grabber.urlgrab(src, filename=dst, proxies=proxies)
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 618,  in  urlgrab
     return  default_grabber.urlgrab(url, filename, **kwargs)
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 985,  in  urlgrab
     return  self._retry(opts, retryfunc, url, filename)
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 886,  in  _retry
     r = apply(func, (opts,) + args, {})
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 971,  in  retryfunc
     fo = PyCurlFileObject(url, filename, opts)
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 1066,  in  __init__
     self._do_open()
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 1360,  in  _do_open
     self._do_grab()
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 1490,  in  _do_grab
     self._do_perform()
    File  "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py" , line 1347,  in  _do_perform
     raise err
 
!!! TASK FAILED !!!


解决办法

1
2
3
4
5
[root@cobbler ~] # yum -y install syslinux
[root@cobbler ~] # cp/usr/share/syslinux/pxelinux.0 /var/lib/cobbler/loaders/
[root@cobbler ~] # cp/usr/share/syslinux/menu.c32 /var/lib/cobbler/loaders/
[root@cobbler ~] # /etc/init.d/cobblerdrestart
[root@cobbler ~] # cobbler get-loaders    #再次执行则成功



本文转自 茁壮的小草 51CTO博客,原文链接:http://blog.51cto.com/wn2100/1960856,如需转载请自行联系原作者
相关文章
|
7月前
|
关系型数据库 MySQL
MySQL安装--Starting the sever安装失败
MySQL安装--Starting the sever安装失败
105 0
|
12月前
[There are unfinished transactions remaining.]【使用本地YUM源安装服务报错解决方法】
[There are unfinished transactions remaining.]【使用本地YUM源安装服务报错解决方法】
|
安全 关系型数据库 MySQL
mysql安装各种报错处理
mysql安装各种报错处理
122 0
|
Ubuntu Shell Linux
Ubuntu安装WDCP遇到的无法便于错误解决方法
WDCP v3.2安装 WDCP支持CentOS系统下安装,包括了32bit或者64bit,最新版本建议在6.x以上版本使用,源码安装命令为:   wget http://dl.wdlinux.cn/lanmp_laster.
1545 0
|
Apache 数据安全/隐私保护