+5

Ajenti won´t start after reinstall

darkhoernchen 8 aastat tagasi uuendaja Konstantinos Triantafillou 8 aastat tagasi 1

Hi guys!

I´m running a Debian Jessie Vserver and had serious troubles with ajenti so i reinstalled ajenti.

To uninstall ajenti i used:

<code>apt-get autoremove ajenti

rm -rf /etc/ajenti

rm -rf /var/lib/ajenti

dpkg --purge ajenti

apt-get clea</code>

Then i reboot the system and installed Ajenti with

wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-debian.sh | sh

After the installation -> service ajenti restart

In my Terminal i got

Job for ajenti.service failed. See 'systemctl status ajenti.service' and 'journalctl -xn' for details.


the details are

● ajenti.service - Ajenti panel
Loaded: loaded (/lib/systemd/system/ajenti.service; enabled)
Active: failed (Result: exit-code) since Wed 2016-05-25 22:13:20 CEST; 11s ag o
Process: 8845 ExecStart=/usr/bin/python /usr/local/bin/ajenti-panel -d (code=e xited, status=1/FAILURE)



-- Logs begin at Wed 2016-05-25 21:50:45 CEST, end at Wed 2016-05-25 21:59:38 CEST. --
May 25 21:59:18 v22015092998427615 kernel: perf interrupt took too long (169693 > 10000), lowering kernel.perf_event_max_sample_rate
May 25 21:59:38 v22015092998427615 python[4074]: Traceback (most recent call last):
May 25 21:59:38 v22015092998427615 python[4074]: File "/usr/local/bin/ajenti-panel", line 112, in <module>
May 25 21:59:38 v22015092998427615 python[4074]: if not os.path.exists(config_path):
May 25 21:59:38 v22015092998427615 python[4074]: File "/usr/lib/python2.7/genericpath.py", line 18, in exists
May 25 21:59:38 v22015092998427615 python[4074]: os.stat(path)
May 25 21:59:38 v22015092998427615 python[4074]: TypeError: coercing to Unicode: need string or buffer, NoneType found
May 25 21:59:38 v22015092998427615 systemd[1]: ajenti.service: control process exited, code=exited status=1
May 25 21:59:38 v22015092998427615 systemd[1]: Failed to start Ajenti panel.
-- Subject: Unit ajenti.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit ajenti.service has failed.
--
-- The result is failed.
May 25 21:59:38 v22015092998427615 systemd[1]: Unit ajenti.service entered failed state.


Can anyone help me to start Ajenti again?




I have the same problem, did you find any solution?