0
Исправлен

Ajenti breaks gevent *URGENT*

Noah Dolph 10 лет назад обновлен Eugene Pankov (Project coordinator) 10 лет назад 2
After a yum update python-gevent is downloaded from Ajenti. It then breaks and Ajenti cannot be loaded.

[root@ng1 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: ajenti base epel extras mysql-connectors-community mysql-tools-community mysql56-community remi-php55 updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@ng1 ~]# yum install ajenti
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/metalink | 14 kB 00:00
* base: mirror.atlanticmetro.net
* epel: epel.mirror.constant.com
* extras: mirror.cogentco.com
* remi-php55: remi.check-update.co.uk
* updates: mirror.symnds.com
ajenti | 951 B 00:00
ajenti/primary | 24 kB 00:00
ajenti 74/74
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.3 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
mysql-connectors-community | 2.5 kB 00:00
mysql-connectors-community/primary_db | 6.6 kB 00:00
mysql-tools-community | 2.5 kB 00:00
mysql-tools-community/primary_db | 14 kB 00:00
mysql56-community | 2.5 kB 00:00
mysql56-community/primary_db | 49 kB 00:00
remi-php55 | 2.9 kB 00:00
remi-php55/primary_db | 156 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 4.7 MB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ajenti.noarch 0:1.2.22.6-1 will be installed
--> Processing Dependency: python-gevent-socketio for package: ajenti-1.2.22.6-1.noarch
--> Processing Dependency: python-gevent for package: ajenti-1.2.22.6-1.noarch
--> Processing Dependency: python-gevent-websocket for package: ajenti-1.2.22.6-1.noarch
--> Running transaction check
---> Package python-gevent.x86_64 0:1.0.1-1 will be installed
---> Package python-gevent-socketio.noarch 0:0.3.6-1 will be installed
---> Package python-gevent-websocket.noarch 0:0.9.3-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
Package Arch Version Repository Size
===========================================================================================================================================================================================================
Installing:
ajenti noarch 1.2.22.6-1 ajenti 1.4 M
Installing for dependencies:
python-gevent x86_64 1.0.1-1 ajenti 51 k
python-gevent-socketio noarch 0.3.6-1 ajenti 26 k
python-gevent-websocket noarch 0.9.3-1 ajenti 7.2 k

Transaction Summary
===========================================================================================================================================================================================================
Install 4 Package(s)

Total download size: 1.5 M
Installed size: 4.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): ajenti-1.2.22.6-1.noarch.rpm | 1.4 MB 00:00
(2/4): python-gevent-1.0.1-1.x86_64.rpm | 51 kB 00:00
(3/4): python-gevent-socketio-0.3.6-1.noarch.rpm | 26 kB 00:00
(4/4): python-gevent-websocket-0.9.3-1.noarch.rpm | 7.2 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 29 MB/s | 1.5 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-gevent-1.0.1-1.x86_64 1/4
Installing : python-gevent-websocket-0.9.3-1.noarch 2/4
Installing : python-gevent-socketio-0.3.6-1.noarch 3/4
Installing : ajenti-1.2.22.6-1.noarch 4/4
:: SSL is already configured
Stopping Ajenti:
not running
Starting Ajenti:
2014-08-11 19:20:03,040 INFO ajenti-panel.<module>(): Using config file /etc/ajenti/config.json
started]
------------------------------------------------
Now start Ajenti with 'service ajenti restart'
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
------------------------------------------------
Verifying : python-gevent-socketio-0.3.6-1.noarch 1/4
Verifying : python-gevent-websocket-0.9.3-1.noarch 2/4
Verifying : ajenti-1.2.22.6-1.noarch 3/4
Verifying : python-gevent-1.0.1-1.x86_64 4/4

Installed:
ajenti.noarch 0:1.2.22.6-1

Dependency Installed:
python-gevent.x86_64 0:1.0.1-1 python-gevent-socketio.noarch 0:0.3.6-1 python-gevent-websocket.noarch 0:0.9.3-1

Complete!
[root@ng1 ~]# ajenti-panel -v
11.08.2014 19:20 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json
11.08.2014 19:20 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
[root@ng1 ~]#

Сервис поддержки клиентов работает на платформе UserEcho