0

我已经按照文档 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 工作,这样我们就可以看到剧本等的统计信息

谢谢

4

1 回答 1

1

我是 ara 的作者,刚刚遇到了这个问题。

自述文件中的快速入门指南有望让您开始:https ://github.com/ansible-community/ara#quickstart

如果您有任何问题,请随时通过Slack 或 IRC与我们联系。

谢谢 !

于 2019-09-12T15:59:04.847 回答