Need to pip install passlib
After following the instructions for installing on Ubuntu from the docs, I was having trouble with Ajenti not starting but saying it did. I tried starting it manually and got the following error:
$ /usr/bin/ajenti-panel
01.08.2013 01:18 INFO Ajenti starting in foreground
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 85, in <module>
from ajenti import core
File "/usr/lib/pymodules/python2.7/ajenti/core.py", line 19, in <module>
from ajenti.middleware import SessionMiddleware, AuthenticationMiddleware
File "/usr/lib/pymodules/python2.7/ajenti/middleware.py", line 11, in <module>
from ajenti.users import UserManager
File "/usr/lib/pymodules/python2.7/ajenti/users.py", line 3, in <module>
from passlib.hash import sha512_crypt
ImportError: No module named passlib.hash
To fix, I just did a
$ apt-get install python-pip
$ pip install passlib
and Ajenti now runs just fine.
I suggest adding the steps
$ apt-get install python-pip
$ pip install passlib
to the document at http://docs.ajenti.org/man/install/ubuntu.html
as this is a necessary step to get Ajenti working on stock Ubuntu server
Servicio de atención al cliente por UserEcho
Hi Quinn!
I have replaced passlib package in the repo, could you please try to do ``pip uninstall passlib`` and then ``apt-get update && apt-get install python-passlib``? Thanks!
I just installed Ajenti on a fresh 12.04 instance and did not have to install pip or passlib to get Ajenti working.
Thank you for checking!