我已经按照文档 https://ara.readthedocs.io/en/stable/installation.html安装了 ara
但是,当我尝试从 url 访问它时,它不会加载。我不确定 ara 日志在哪里。
请从日志中找到以下信息
[jim@centos74.master /data/OnlyOnMyPC/ansible]type ara
ara is /bin/ara
[jim@centos74.master /data/OnlyOnMyPC/ansible]file /bin/ara
/bin/ara: Python script, ASCII text executable
[jim@centos74.master /data/OnlyOnMyPC/ansible]/bin/ara
Traceback (most recent call last):
File "/bin/ara", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/ara/shell.py", line 73, in main
return aracli.run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.interact()
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 318, in interact
from .interactive import InteractiveApp
File "/usr/lib/python2.7/site-packages/cliff/interactive.py", line 20, in <module>
import cmd2
File "/usr/lib/python2.7/site-packages/cmd2.py", line 226, in <module>
import gtk
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
_init()
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
_gtk.init_check()
RuntimeError: could not open display
[jim@centos74.master /data/OnlyOnMyPC/ansible]systemctl status ara
Unit ara.service could not be found.
非常感谢您的帮助。
结束游戏是让 ara 工作,这样我们就可以看到剧本等的统计信息
谢谢