+14

Clean install of Centos 7 and Ajenti ssl problem

huma2000 hace 8 años actualizado por Gandalf_MTB hace 8 años 7

Hi,


Just installed a new CentOS 7 server and tried to install ajenti on it. Installation went fine, but if I try to access ajenti under ssh I get a segmentation fault error and cannot access to ajenti. Without ssl works perfectly.

Any ideas how to solve it?


Thanks

+1

Can confirm. I have exact same issue.

Update gevent, add "import ssll" does not works.
But we cant use ajenti without SSL

Same here, clean install

{'edition': 'vanilla', 'version': '1.2.22.13', 'os': 'centos', 'id': 1890

Feedback << {"status": "ok"}


when i try to open the panel with browser: https://mydomain.com:8000 it just crashes with segmentation fault.


From messages:


localhost kernel: traps: ajenti-panel[12582] general protection ip:7f158f786480 sp:7ffeb218e760 error:0 in _ssl.so[7f158f77a000+13000]

I have the same error on CentOS 7.2.1511.

Probably the same error as the one posted on GitHub. https://github.com/ajenti/ajenti/issues/846

Hi!


Same here:


08.04.2016 11:48 core.py:99 INFO Starting server on (u'0.0.0.0', 8000)
08.04.2016 11:48 __init__.py:207 DEBUG Root context instantiated [SessionMiddleware] <ajenti.middleware.SessionMiddleware object at 0x2c59190>
08.04.2016 11:48 __init__.py:207 DEBUG Root context instantiated [AuthenticationMiddleware] <ajenti.middleware.AuthenticationMiddleware object at 0x2c59450>
08.04.2016 11:48 __init__.py:207 DEBUG Root context instantiated [CentralDispatcher] <ajenti.routing.CentralDispatcher object at 0x2c594d0>
08.04.2016 11:48 core.py:134 INFO SSL enabled: /etc/ajenti/ajenti.pem
08.04.2016 11:48 __init__.py:207 DEBUG Root context instantiated [IPCServer] <ajenti.ipc.IPCServer object at 0x2c55c50>
08.04.2016 11:48 __init__.py:207 DEBUG Root context instantiated [Licensing] <ajenti.licensing.Licensing object at 0x2c59610>
08.04.2016 11:48 feedback.py:30 DEBUG Feedback >> ping ({'edition': 'vanilla', 'version': '1.2.22.13', 'os': 'centos', 'id': 211236})
08.04.2016 11:48 feedback.py:35 DEBUG Feedback << {"status": "ok"}
Segmentation fault

+6

I got the same error, to fix it just make the change on line 120 from this pull request

https://github.com/ajenti/ajenti/pull/882/files

the file is located here: /usr/lib/python2.7/site-packages/ajenti/compat.py

Hope this will be included soon in the release

Thanks!... that solve the problem