Ajenti 意外无法启动

今天手欠

#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证书的问题,终于又能看到管理界面了。

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇