0

Error installing Ajenti

Tom Thomson 8 years ago updated by neworkin 8 years ago 3

Hi guys,

I had the new Ajenti 2 but I want to use Ajenti web addon so I uninstalled it again and installed ajenti 1 instead. But I can't (re)start it. When I enter https://<ip>:8000 I get the error "ERR_CONNECTION_REFUSED". Also I see the (old) favicon of ajenti 2. When I ask for information about the error of ajenti not starting up I get this:

__________________________________________________________________________

● ajenti.service - Ajenti panel

Loaded: loaded (/lib/systemd/system/ajenti.service; enabled)
Active: failed (Result: exit-code) since Sun 2016-04-24 13:04:07 EDT; 9s ago
Process: 2176 ExecStart=/usr/bin/python /usr/local/bin/ajenti-panel -d (code=exited, status=2)
Main PID: 24675 (code=exited, status=0/SUCCESS)

Apr 24 13:04:07 vps python[2176]: /usr/bin/python: can't open file '/usr/local/bin/ajenti-panel': [Errno 2] No such file or directory
Apr 24 13:04:07 vps systemd[1]: ajenti.service: control process exited, code=exited status=2
Apr 24 13:04:07 vps systemd[1]: Failed to start Ajenti panel.
Apr 24 13:04:07 vps systemd[1]: Unit ajenti.service entered failed state.

__________________________________________________________________________

Hope you can help me. I tried to uninstall it and install it again so many times now.

Also when I go to /usr/local/bin/ there is no "ajenti-panel"

Please help,

thanks Tom

OS: Debian 8

+2

Hello, I had same problem as you described. I think the problem is that ajenti 2 uses systemd service and ajenti uses SystemV service.


Try to remove remaining ajenti 2 systemd service:

# rm /lib/systemd/system/ajenti.service
+2

not working i have the bug too. In debug mode all work.

+5

1: rm /lib/systemd/system/ajenti.service

2: systemctl daemon-reload

3: service ajenti start