今天手欠
#service ajenti stop
然后无论怎么都无法启动了。
# service ajenti restart Stopping Ajenti: not running Starting Ajenti: 15.08.2014 22:24 INFO Using config file /etc/ajenti/config.json started # service ajenti status Ajenti is not running
只好去官方论坛求助。
得到帮助运行脚本
# ajenti-panel -v 15.08.2014 22:32 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json 15.08.2014 22:32 ajenti-panel:130 INFO Ajenti starting in foreground Traceback (most recent call last): File "/usr/bin/ajenti-panel", line 137, in <module> from ajenti import core File "/usr/lib/python2.6/site-packages/ajenti/core.py", line 17, in <module> import ajenti.feedback File "/usr/lib/python2.6/site-packages/ajenti/feedback.py", line 8, in <module> import gevent ImportError: No module named gevent
好吧,python的gevent出问题了。
#yum clean all && yum reinstall python-gevent # ajenti-panel -v 15.08.2014 23:07 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json 15.08.2014 23:07 ajenti-panel:130 INFO Ajenti starting in foreground Traceback (most recent call last): File "/usr/bin/ajenti-panel", line 137, in <module> from ajenti import core File "/usr/lib/python2.6/site-packages/ajenti/core.py", line 20, in <module> from ajenti.http import HttpRoot, RootHttpHandler File "/usr/lib/python2.6/site-packages/ajenti/http.py", line 9, in <module> from socketio.handler import SocketIOHandler ImportError: No module named socketio.handler
继续提问找答案。
#yum reinstall python-gevent-websocket #yum reinstall python-gevent-socketio
然后,ajenti终于能起来了!!!!
接下来处理了一些ssl证书的问题,终于又能看到管理界面了。