cobbler get-loaders 错误解决方法
生活随笔
收集整理的這篇文章主要介紹了
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,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的cobbler get-loaders 错误解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【Swift】类似于微博、微信的Acti
- 下一篇: Oracle11默认用户名和密码