sosreport 명령이 "ImportError cannot import name sos_get_command_output" 오류로 실패하는 이유는 무엇입니까?
Issue
sosreport명령은 다음 출력과 함께 실패합니다.
# sosreport
Traceback (most recent call last):
File "/usr/sbin/sosreport", line 20, in <module>
from sos.sosreport import main
File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 31, in <module>
from sos.plugins import import_plugin
File "/usr/lib/python2.6/site-packages/sos/plugins/__init__.py", line 21, in <module>
from sos.utilities import (sos_get_command_output, import_module, grep,
ImportError: cannot import name sos_get_command_output
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.