question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[2.0] Ajenti Service Failed to Start - Ran master install script 2.x over 1.x - ajenti service crash logs

See original GitHub issue

Full log from cold start, running the script, service failed, tried script again, service continue to fail in same state. Any leads would be great and yes, I know, should have done a bit of reading before pulling the trigger. Thankfully, this is a test box, so no bigs if I need to nuke and rebuild.

[root@localhost ~]# curl https://raw.githubusercontent.com/ajenti/ajenti/master/                                                                                                                             scripts/install.sh > install.sh && sudo bash install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4690  100  4690    0     0  35842      0 --:--:-- --:--:-- --:--:-- 36076
:: OS: rhel
:: Distro: centos
:: Installing prerequisites
Loaded plugins: fastestmirror
ajenti                                                   | 2.5 kB     00:00
base                                                     | 3.6 kB     00:00
epel/x86_64/metalink                                     |  14 kB     00:00
epel                                                     | 4.3 kB     00:00
extras                                                   | 3.4 kB     00:00
longview                                                 | 2.9 kB     00:00
mysql-connectors-community                               | 2.5 kB     00:00
mysql-tools-community                                    | 2.5 kB     00:00
mysql56-community                                        | 2.5 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/2): epel/x86_64/updateinfo                              | 693 kB   00:00
(2/2): epel/x86_64/primary_db                              | 4.4 MB   00:00
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.math.princeton.edu
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Package epel-release-7-8.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.math.princeton.edu
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Package gcc-4.8.5-11.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-60.el7.x86_64 already installed and latest versio                                                                                                                             n
Package dbus-python-1.1.1-9.el7.x86_64 already installed and latest version
Package ntpdate-4.2.6p5-25.el7.centos.x86_64 already installed and latest versio                                                                                                                             n
Resolving Dependencies
--> Running transaction check
---> Package libffi-devel.x86_64 0:3.0.13-18.el7 will be installed
---> Package libjpeg-turbo-devel.x86_64 0:1.2.90-5.el7 will be installed
---> Package libpng-devel.x86_64 2:1.5.13-7.el7_2 will be installed
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_2.3 will be installed
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_2.3.x                                                                                                                             86_64
---> Package libxslt-devel.x86_64 0:1.1.28-5.el7 will be installed
--> Processing Dependency: libgcrypt-devel for package: libxslt-devel-1.1.28-5.e                                                                                                                             l7.x86_64
---> Package python-augeas.noarch 0:0.5.0-2.el7 will be installed
--> Processing Dependency: augeas-libs for package: python-augeas-0.5.0-2.el7.no                                                                                                                             arch
---> Package python-devel.x86_64 0:2.7.5-48.el7 will be installed
---> Package python2-pip.noarch 0:8.1.2-5.el7 will be installed
--> Running transaction check
---> Package augeas-libs.x86_64 0:1.4.0-2.el7 will be installed
---> Package libgcrypt-devel.x86_64 0:1.5.3-13.el7_3.1 will be installed
--> Processing Dependency: libgpg-error-devel for package: libgcrypt-devel-1.5.3                                                                                                                             -13.el7_3.1.x86_64
---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed
--> Running transaction check
---> Package libgpg-error-devel.x86_64 0:1.12-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch        Version                Repository    Size
================================================================================
Installing:
 libffi-devel             x86_64      3.0.13-18.el7          base          23 k
 libjpeg-turbo-devel      x86_64      1.2.90-5.el7           base          98 k
 libpng-devel             x86_64      2:1.5.13-7.el7_2       base         122 k
 libxml2-devel            x86_64      2.9.1-6.el7_2.3        base         1.0 M
 libxslt-devel            x86_64      1.1.28-5.el7           base         309 k
 python-augeas            noarch      0.5.0-2.el7            base          25 k
 python-devel             x86_64      2.7.5-48.el7           base         393 k
 python2-pip              noarch      8.1.2-5.el7            epel         1.7 M
Installing for dependencies:
 augeas-libs              x86_64      1.4.0-2.el7            base         355 k
 libgcrypt-devel          x86_64      1.5.3-13.el7_3.1       updates      129 k
 libgpg-error-devel       x86_64      1.12-3.el7             base          16 k
 xz-devel                 x86_64      5.2.2-1.el7            base          46 k

Transaction Summary
================================================================================
Install  8 Packages (+4 Dependent packages)

Total download size: 4.2 M
Installed size: 21 M
Downloading packages:
(1/12): libffi-devel-3.0.13-18.el7.x86_64.rpm              |  23 kB   00:00
(2/12): libgpg-error-devel-1.12-3.el7.x86_64.rpm           |  16 kB   00:00
(3/12): libjpeg-turbo-devel-1.2.90-5.el7.x86_64.rpm        |  98 kB   00:00
(4/12): augeas-libs-1.4.0-2.el7.x86_64.rpm                 | 355 kB   00:00
(5/12): libpng-devel-1.5.13-7.el7_2.x86_64.rpm             | 122 kB   00:00
(6/12): libgcrypt-devel-1.5.3-13.el7_3.1.x86_64.rpm        | 129 kB   00:00
(7/12): libxslt-devel-1.1.28-5.el7.x86_64.rpm              | 309 kB   00:00
(8/12): libxml2-devel-2.9.1-6.el7_2.3.x86_64.rpm           | 1.0 MB   00:00
(9/12): python-augeas-0.5.0-2.el7.noarch.rpm               |  25 kB   00:00
(10/12): xz-devel-5.2.2-1.el7.x86_64.rpm                   |  46 kB   00:00
(11/12): python-devel-2.7.5-48.el7.x86_64.rpm              | 393 kB   00:00
(12/12): python2-pip-8.1.2-5.el7.noarch.rpm                | 1.7 MB   00:00
--------------------------------------------------------------------------------
Total                                              3.6 MB/s | 4.2 MB  00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : augeas-libs-1.4.0-2.el7.x86_64                              1/12
  Installing : libgpg-error-devel-1.12-3.el7.x86_64                        2/12
  Installing : libgcrypt-devel-1.5.3-13.el7_3.1.x86_64                     3/12
  Installing : xz-devel-5.2.2-1.el7.x86_64                                 4/12
  Installing : libxml2-devel-2.9.1-6.el7_2.3.x86_64                        5/12
  Installing : libxslt-devel-1.1.28-5.el7.x86_64                           6/12
  Installing : python-augeas-0.5.0-2.el7.noarch                            7/12
  Installing : python-devel-2.7.5-48.el7.x86_64                            8/12
  Installing : python2-pip-8.1.2-5.el7.noarch                              9/12
  Installing : libjpeg-turbo-devel-1.2.90-5.el7.x86_64                    10/12
  Installing : libffi-devel-3.0.13-18.el7.x86_64                          11/12
  Installing : 2:libpng-devel-1.5.13-7.el7_2.x86_64                       12/12
  Verifying  : python-augeas-0.5.0-2.el7.noarch                            1/12
  Verifying  : 2:libpng-devel-1.5.13-7.el7_2.x86_64                        2/12
  Verifying  : xz-devel-5.2.2-1.el7.x86_64                                 3/12
  Verifying  : libffi-devel-3.0.13-18.el7.x86_64                           4/12
  Verifying  : libxml2-devel-2.9.1-6.el7_2.3.x86_64                        5/12
  Verifying  : libjpeg-turbo-devel-1.2.90-5.el7.x86_64                     6/12
  Verifying  : python2-pip-8.1.2-5.el7.noarch                              7/12
  Verifying  : libxslt-devel-1.1.28-5.el7.x86_64                           8/12
  Verifying  : libgpg-error-devel-1.12-3.el7.x86_64                        9/12
  Verifying  : libgcrypt-devel-1.5.3-13.el7_3.1.x86_64                    10/12
  Verifying  : python-devel-2.7.5-48.el7.x86_64                           11/12
  Verifying  : augeas-libs-1.4.0-2.el7.x86_64                             12/12

Installed:
  libffi-devel.x86_64 0:3.0.13-18.el7
  libjpeg-turbo-devel.x86_64 0:1.2.90-5.el7
  libpng-devel.x86_64 2:1.5.13-7.el7_2
  libxml2-devel.x86_64 0:2.9.1-6.el7_2.3
  libxslt-devel.x86_64 0:1.1.28-5.el7
  python-augeas.noarch 0:0.5.0-2.el7
  python-devel.x86_64 0:2.7.5-48.el7
  python2-pip.noarch 0:8.1.2-5.el7

Dependency Installed:
  augeas-libs.x86_64 0:1.4.0-2.el7
  libgcrypt-devel.x86_64 0:1.5.3-13.el7_3.1
  libgpg-error-devel.x86_64 0:1.12-3.el7
  xz-devel.x86_64 0:5.2.2-1.el7

Complete!
:: Upgrading PIP
rm: cannot remove β€˜/usr/lib/python2.7/dist-packages/setuptools.egg-info’: No suc                                                                                                                             h file or directory
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 9.0.1
Downloading https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d                                                                                                                             6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69                                                                                                                             d63c9
Processing pip-9.0.1.tar.gz
Writing /tmp/easy_install-SOfINE/pip-9.0.1/setup.cfg
Running pip-9.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-SOfINE/pip-                                                                                                                             9.0.1/egg-dist-tmp-Dy7_LZ
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution op                                                                                                                             tion: 'python_requires'
  warnings.warn(msg)
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '.landscape.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'appveyor.yml'
no previously-included directories found matching '.github'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
Adding pip 9.0.1 to easy-install.pth file
Installing pip script to /usr/bin
Installing pip2.7 script to /usr/bin
Installing pip2 script to /usr/bin

Installed /usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages/pip-9.0.                                                                                                                             1-py2.7.egg
Collecting wheel
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 71kB 3.6MB/s
Collecting setuptools
  Downloading setuptools-32.3.0-py2.py3-none-any.whl (479kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 481kB 1.9MB/s
Collecting distribute
  Downloading distribute-0.7.3.zip (145kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 153kB 5.8MB/s
Installing collected packages: wheel, setuptools, distribute
  Found existing installation: setuptools 0.9.8
    Uninstalling setuptools-0.9.8:
      Successfully uninstalled setuptools-0.9.8
  Running setup.py install for distribute ... done
Successfully installed distribute-0.7.3 setuptools-32.3.0 wheel-0.29.0
Uninstalling gevent-socketio-0.3.6:
  /usr/lib/python2.7/site-packages/gevent_socketio-0.3.6-py2.7.egg-info
  /usr/lib/python2.7/site-packages/socketio
Proceed (y/n)? y
  Successfully uninstalled gevent-socketio-0.3.6
:: Installing Ajenti
Collecting ajenti-panel
  Downloading ajenti-panel-2.1.17.tar.gz
Collecting ajenti.plugin.dashboard
  Downloading ajenti.plugin.dashboard-0.35.tar.gz
Collecting ajenti.plugin.settings
  Downloading ajenti.plugin.settings-0.23.tar.gz
Collecting ajenti.plugin.plugins
  Downloading ajenti.plugin.plugins-0.41.tar.gz
Collecting ajenti.plugin.notepad
  Downloading ajenti.plugin.notepad-0.24.tar.gz
Collecting ajenti.plugin.terminal
  Downloading ajenti.plugin.terminal-0.34.tar.gz
Collecting ajenti.plugin.filemanager
  Downloading ajenti.plugin.filemanager-0.22.tar.gz (40kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 40kB 5.7MB/s
Collecting ajenti.plugin.packages
  Downloading ajenti.plugin.packages-0.27.tar.gz
Collecting ajenti.plugin.services
  Downloading ajenti.plugin.services-0.26.tar.gz
Collecting aj==2.1.17 (from ajenti-panel)
  Downloading aj-2.1.17.tar.gz
Collecting pyyaml (from ajenti-panel)
  Downloading PyYAML-3.12.tar.gz (253kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 256kB 3.4MB/s
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (fro                                                                                                                             m ajenti-panel)
Collecting ajenti.plugin.core (from ajenti.plugin.dashboard)
  Downloading ajenti.plugin.core-0.80.tar.gz (3.9MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.0MB 249kB/s
Collecting ajenti.plugin.filesystem (from ajenti.plugin.settings)
  Downloading ajenti.plugin.filesystem-0.38.tar.gz (106kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 112kB 6.8MB/s
Collecting ajenti.plugin.passwd (from ajenti.plugin.settings)
  Downloading ajenti.plugin.passwd-0.21.tar.gz
Collecting ajenti.plugin.ace (from ajenti.plugin.notepad)
  Downloading ajenti.plugin.ace-0.25.tar.gz (2.0MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.0MB 499kB/s
Collecting pyte==0.4.9 (from ajenti.plugin.terminal)
  Downloading pyte-0.4.9.tar.gz (43kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 51kB 7.6MB/s
Requirement already satisfied: Pillow in /usr/lib64/python2.7/site-packages (fro                                                                                                                             m ajenti.plugin.terminal)
Collecting jadi>=1.0.3 (from ajenti.plugin.packages)
  Downloading jadi-1.0.3.tar.gz
Collecting upstart-new (from ajenti.plugin.services)
  Downloading upstart-new-0.3.4.tar.gz
Collecting cookies (from aj==2.1.17->ajenti-panel)
  Downloading cookies-2.2.1-py2.py3-none-any.whl (44kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 51kB 7.2MB/s
Collecting gevent>=1.1.2 (from aj==2.1.17->ajenti-panel)
  Downloading gevent-1.2.0-cp27-cp27mu-manylinux1_x86_64.whl (1.6MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.6MB 623kB/s
Collecting gevent-socketio-master>=0.3.6.99 (from aj==2.1.17->ajenti-panel)
  Downloading gevent-socketio-master-0.3.6.99.tar.gz (272kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 276kB 3.7MB/s
Requirement already satisfied: gevent-websocket in /usr/lib/python2.7/site-packa                                                                                                                             ges (from aj==2.1.17->ajenti-panel)
Collecting gipc (from aj==2.1.17->ajenti-panel)
  Downloading gipc-0.6.0.zip
Requirement already satisfied: lxml>=2.2.4 in /usr/lib64/python2.7/site-packages                                                                                                                              (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: passlib in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Collecting pexpect (from aj==2.1.17->ajenti-panel)
  Downloading pexpect-4.2.1-py2.py3-none-any.whl (55kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 8.1MB/s
Requirement already satisfied: psutil>=2.2.1 in /usr/lib64/python2.7/site-packag                                                                                                                             es (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pyOpenSSL in /usr/lib64/python2.7/site-packages (                                                                                                                             from aj==2.1.17->ajenti-panel)
Collecting python-daemon-3k (from aj==2.1.17->ajenti-panel)
  Downloading python-daemon-3K-1.5.8.tar.gz (40kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 40kB 7.7MB/s
Collecting setproctitle (from aj==2.1.17->ajenti-panel)
  Downloading setproctitle-1.1.10.tar.gz
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (f                                                                                                                             rom aj==2.1.17->ajenti-panel)
Collecting termcolor (from aj==2.1.17->ajenti-panel)
  Downloading termcolor-1.1.0.tar.gz
Requirement already satisfied: pip>=6 in /usr/lib/python2.7/site-packages/pip-9.                                                                                                                             0.1-py2.7.egg (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: setuptools>=12 in /usr/lib/python2.7/site-package                                                                                                                             s (from aj==2.1.17->ajenti-panel)
Collecting greenlet>=0.4.10 (from gevent>=1.1.2->aj==2.1.17->ajenti-panel)
  Downloading greenlet-0.4.11-cp27-cp27mu-manylinux1_x86_64.whl (41kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 51kB 8.8MB/s
Collecting ptyprocess>=0.5 (from pexpect->aj==2.1.17->ajenti-panel)
  Downloading ptyprocess-0.5.1-py2.py3-none-any.whl
Requirement already satisfied: lockfile>=0.7 in /usr/lib/python2.7/site-packages                                                                                                                              (from python-daemon-3k->aj==2.1.17->ajenti-panel)
Building wheels for collected packages: ajenti-panel, ajenti.plugin.dashboard, a                                                                                                                             jenti.plugin.settings, ajenti.plugin.plugins, ajenti.plugin.notepad, ajenti.plug                                                                                                                             in.terminal, ajenti.plugin.filemanager, ajenti.plugin.packages, ajenti.plugin.se                                                                                                                             rvices, aj, pyyaml, ajenti.plugin.core, ajenti.plugin.filesystem, ajenti.plugin.                                                                                                                             passwd, ajenti.plugin.ace, pyte, jadi, upstart-new, gevent-socketio-master, gipc                                                                                                                             , python-daemon-3k, setproctitle, termcolor
  Running setup.py bdist_wheel for ajenti-panel ... done
  Stored in directory: /root/.cache/pip/wheels/1c/eb/c9/454541f9402f964f3736aca4                                                                                                                             98896a242b3bdd6db090d20ce5
  Running setup.py bdist_wheel for ajenti.plugin.dashboard ... done
  Stored in directory: /root/.cache/pip/wheels/fd/c6/41/76bbab7b3b21ae242c962560                                                                                                                             46905b60e14d9cfbfa9710d2f0
  Running setup.py bdist_wheel for ajenti.plugin.settings ... done
  Stored in directory: /root/.cache/pip/wheels/92/02/2c/837983bbd7336cf2aa9bd204                                                                                                                             73a16540ebaa0cd14f20413818
  Running setup.py bdist_wheel for ajenti.plugin.plugins ... done
  Stored in directory: /root/.cache/pip/wheels/d9/f6/ea/1055ee3adeec4f2c99fd63d8                                                                                                                             5a3ba13f34de4f10caf03a2a59
  Running setup.py bdist_wheel for ajenti.plugin.notepad ... done
  Stored in directory: /root/.cache/pip/wheels/5f/7a/6d/95b9ac8eedc3c08a12c128ff                                                                                                                             77683c9319bc5b1b651dffb680
  Running setup.py bdist_wheel for ajenti.plugin.terminal ... done
  Stored in directory: /root/.cache/pip/wheels/38/fe/65/960b0e360f6aa1d3c6809b66                                                                                                                             bf694575d6968c3241076aa207
  Running setup.py bdist_wheel for ajenti.plugin.filemanager ... done
  Stored in directory: /root/.cache/pip/wheels/8a/a4/12/047944c3dac0322d62c16a9b                                                                                                                             63b304950a2f6a9ee69f4dd704
  Running setup.py bdist_wheel for ajenti.plugin.packages ... done
  Stored in directory: /root/.cache/pip/wheels/89/a0/0d/e659ac8479d2269369a82826                                                                                                                             75850c2517ac5707216b01dfb3
  Running setup.py bdist_wheel for ajenti.plugin.services ... done
  Stored in directory: /root/.cache/pip/wheels/90/7c/2b/bcb595264420389069a4a2c4                                                                                                                             b679697bbc1019b63a52187a44
  Running setup.py bdist_wheel for aj ... done
  Stored in directory: /root/.cache/pip/wheels/d3/2b/25/b6485c10fb149a247d30199f                                                                                                                             b037904538d073386788bd9449
  Running setup.py bdist_wheel for pyyaml ... done
  Stored in directory: /root/.cache/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbd                                                                                                                             e1230ab4d82947ff7b3839a4fc
  Running setup.py bdist_wheel for ajenti.plugin.core ... done
  Stored in directory: /root/.cache/pip/wheels/15/64/c8/c03a8d034d0f98883b0e6e26                                                                                                                             548898ced90aa342d594c8593c
  Running setup.py bdist_wheel for ajenti.plugin.filesystem ... done
  Stored in directory: /root/.cache/pip/wheels/b6/d2/b4/844dbcc3e327fc5986387032                                                                                                                             6f5d54d15f448a222606cb3aab
  Running setup.py bdist_wheel for ajenti.plugin.passwd ... done
  Stored in directory: /root/.cache/pip/wheels/41/ca/9e/130e13b5259d4670b075bf46                                                                                                                             a2b0f1d2eba4b623d6a15620aa
  Running setup.py bdist_wheel for ajenti.plugin.ace ... done
  Stored in directory: /root/.cache/pip/wheels/16/ff/9f/5703caaa1253b01ea7e4d365                                                                                                                             8d85706c6d832a1dcfd08fd90b
  Running setup.py bdist_wheel for pyte ... done
  Stored in directory: /root/.cache/pip/wheels/2e/1a/20/1e31f3c0eede64f9d6c97aeb                                                                                                                             418198d2ed2dbf563a33139408
  Running setup.py bdist_wheel for jadi ... done
  Stored in directory: /root/.cache/pip/wheels/15/83/13/74adf2e18fa252a4f8b5d05c                                                                                                                             2ceed966db8a1442d5bf801c5c
  Running setup.py bdist_wheel for upstart-new ... done
  Stored in directory: /root/.cache/pip/wheels/1d/bc/cd/42cbc0670bc2ebe556a370c7                                                                                                                             566fcfc8f8b6a4bd9185366b08
  Running setup.py bdist_wheel for gevent-socketio-master ... done
  Stored in directory: /root/.cache/pip/wheels/4b/0b/5b/40394bd444a5d2add496aedf                                                                                                                             a35fb0678781bbe546113c2178
  Running setup.py bdist_wheel for gipc ... done
  Stored in directory: /root/.cache/pip/wheels/68/99/10/c658fc02c65c1528549d3d4c                                                                                                                             6ee6795013b5b4d68fc4f58bf2
  Running setup.py bdist_wheel for python-daemon-3k ... done
  Stored in directory: /root/.cache/pip/wheels/ce/b5/bd/f9515dbcd16fc94de2040947                                                                                                                             677dae10e2a12576b3e261f97e
  Running setup.py bdist_wheel for setproctitle ... done
  Stored in directory: /root/.cache/pip/wheels/5b/e6/ac/0a9f3ba8962551d270aa6512                                                                                                                             26c7ccb561b3c3f94063cb2f27
  Running setup.py bdist_wheel for termcolor ... done
  Stored in directory: /root/.cache/pip/wheels/de/f7/bf/1bcac7bf30549e6a4957382e                                                                                                                             2ecab04c88e513117207067b03
Successfully built ajenti-panel ajenti.plugin.dashboard ajenti.plugin.settings a                                                                                                                             jenti.plugin.plugins ajenti.plugin.notepad ajenti.plugin.terminal ajenti.plugin.                                                                                                                             filemanager ajenti.plugin.packages ajenti.plugin.services aj pyyaml ajenti.plugi                                                                                                                             n.core ajenti.plugin.filesystem ajenti.plugin.passwd ajenti.plugin.ace pyte jadi                                                                                                                              upstart-new gevent-socketio-master gipc python-daemon-3k setproctitle termcolor
Installing collected packages: cookies, greenlet, gevent, gevent-socketio-master                                                                                                                             , gipc, jadi, ptyprocess, pexpect, python-daemon-3k, pyyaml, setproctitle, termc                                                                                                                             olor, aj, ajenti-panel, ajenti.plugin.core, ajenti.plugin.filesystem, ajenti.plu                                                                                                                             gin.passwd, ajenti.plugin.settings, ajenti.plugin.dashboard, ajenti.plugin.plugi                                                                                                                             ns, ajenti.plugin.ace, ajenti.plugin.notepad, pyte, ajenti.plugin.terminal, ajen                                                                                                                             ti.plugin.filemanager, ajenti.plugin.packages, upstart-new, ajenti.plugin.servic                                                                                                                             es
  Found existing installation: greenlet 0.4.2
    DEPRECATION: Uninstalling a distutils installed project (greenlet) has been                                                                                                                              deprecated and will be removed in a future version. This is due to the fact that                                                                                                                              uninstalling a distutils project will only partially uninstall the project.
    Uninstalling greenlet-0.4.2:
      Successfully uninstalled greenlet-0.4.2
  Found existing installation: gevent 1.0
    DEPRECATION: Uninstalling a distutils installed project (gevent) has been de                                                                                                                             precated and will be removed in a future version. This is due to the fact that u                                                                                                                             ninstalling a distutils project will only partially uninstall the project.
    Uninstalling gevent-1.0:
      Successfully uninstalled gevent-1.0
Successfully installed aj-2.1.17 ajenti-panel-2.1.17 ajenti.plugin.ace-0.25 ajen                                                                                                                             ti.plugin.core-0.80 ajenti.plugin.dashboard-0.35 ajenti.plugin.filemanager-0.22                                                                                                                              ajenti.plugin.filesystem-0.38 ajenti.plugin.notepad-0.24 ajenti.plugin.packages-                                                                                                                             0.27 ajenti.plugin.passwd-0.21 ajenti.plugin.plugins-0.41 ajenti.plugin.services                                                                                                                             -0.26 ajenti.plugin.settings-0.23 ajenti.plugin.terminal-0.34 cookies-2.2.1 geve                                                                                                                             nt-1.2.0 gevent-socketio-master-0.3.6.99 gipc-0.6.0 greenlet-0.4.11 jadi-1.0.3 p                                                                                                                             expect-4.2.1 ptyprocess-0.5.1 pyte-0.4.9 python-daemon-3k-1.5.8 pyyaml-3.12 setp                                                                                                                             roctitle-1.1.10 termcolor-1.1.0 upstart-new-0.3.4
:: Installing initscript
/bin/systemctl
Created symlink from /etc/systemd/system/multi-user.target.wants/ajenti.service                                                                                                                              to /usr/lib/systemd/system/ajenti.service.
:: Complete

Ajenti will be listening at HTTP port 8000
Log in with your root password or another OS user
[root@localhost ~]# sudo yum install gcc python-devel python-pip libxslt-devel l                                                                                                                             ibxml2-devel libffi-devel openssl-devel libjpeg-turbo-devel libpng-devel dbus-py                                                                                                                             thon
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.math.princeton.edu
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Package gcc-4.8.5-11.el7.x86_64 already installed and latest version
Package python-devel-2.7.5-48.el7.x86_64 already installed and latest version
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Package libxslt-devel-1.1.28-5.el7.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.3.x86_64 already installed and latest versio                                                                                                                             n
Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-60.el7.x86_64 already installed and latest versio                                                                                                                             n
Package libjpeg-turbo-devel-1.2.90-5.el7.x86_64 already installed and latest ver                                                                                                                             sion
Package 2:libpng-devel-1.5.13-7.el7_2.x86_64 already installed and latest versio                                                                                                                             n
Package dbus-python-1.1.1-9.el7.x86_64 already installed and latest version
Nothing to do
[root@localhost ~]# sudo pip install 'setuptools>=0.6rc11' 'pip>=6' wheel
Requirement already satisfied: setuptools>=0.6rc11 in /usr/lib/python2.7/site-pa                                                                                                                             ckages
Requirement already satisfied: pip>=6 in /usr/lib/python2.7/site-packages/pip-9.                                                                                                                             0.1-py2.7.egg
Requirement already satisfied: wheel in /usr/lib/python2.7/site-packages
[root@localhost ~]# sudo pip install ajenti-panel ajenti.plugin.dashboard ajenti                                                                                                                             .plugin.settings ajenti.plugin.plugins
Requirement already satisfied: ajenti-panel in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.dashboard in /usr/lib/python2.7/sit                                                                                                                             e-packages
Requirement already satisfied: ajenti.plugin.settings in /usr/lib/python2.7/site                                                                                                                             -packages
Requirement already satisfied: ajenti.plugin.plugins in /usr/lib/python2.7/site-                                                                                                                             packages
Requirement already satisfied: pyyaml in /usr/lib64/python2.7/site-packages (fro                                                                                                                             m ajenti-panel)
Requirement already satisfied: aj==2.1.17 in /usr/lib/python2.7/site-packages (f                                                                                                                             rom ajenti-panel)
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (fro                                                                                                                             m ajenti-panel)
Requirement already satisfied: ajenti.plugin.core in /usr/lib/python2.7/site-pac                                                                                                                             kages (from ajenti.plugin.dashboard)
Requirement already satisfied: ajenti.plugin.passwd in /usr/lib/python2.7/site-p                                                                                                                             ackages (from ajenti.plugin.settings)
Requirement already satisfied: ajenti.plugin.filesystem in /usr/lib/python2.7/si                                                                                                                             te-packages (from ajenti.plugin.settings)
Requirement already satisfied: lxml>=2.2.4 in /usr/lib64/python2.7/site-packages                                                                                                                              (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pyOpenSSL in /usr/lib64/python2.7/site-packages (                                                                                                                             from aj==2.1.17->ajenti-panel)
Requirement already satisfied: jadi>=1.0.3 in /usr/lib/python2.7/site-packages (                                                                                                                             from aj==2.1.17->ajenti-panel)
Requirement already satisfied: cookies in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent>=1.1.2 in /usr/lib64/python2.7/site-packag                                                                                                                             es (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: termcolor in /usr/lib/python2.7/site-packages (fr                                                                                                                             om aj==2.1.17->ajenti-panel)
Requirement already satisfied: setproctitle in /usr/lib64/python2.7/site-package                                                                                                                             s (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pexpect in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Requirement already satisfied: python-daemon-3k in /usr/lib64/python2.7/site-pac                                                                                                                             kages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gipc in /usr/lib/python2.7/site-packages (from aj                                                                                                                             ==2.1.17->ajenti-panel)
Requirement already satisfied: setuptools>=12 in /usr/lib/python2.7/site-package                                                                                                                             s (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (f                                                                                                                             rom aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent-socketio-master>=0.3.6.99 in /usr/lib/pyth                                                                                                                             on2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent-websocket in /usr/lib/python2.7/site-packa                                                                                                                             ges (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: psutil>=2.2.1 in /usr/lib64/python2.7/site-packag                                                                                                                             es (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: passlib in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Requirement already satisfied: pip>=6 in /usr/lib/python2.7/site-packages/pip-9.                                                                                                                             0.1-py2.7.egg (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: greenlet>=0.4.10 in /usr/lib64/python2.7/site-pac                                                                                                                             kages (from gevent>=1.1.2->aj==2.1.17->ajenti-panel)
Requirement already satisfied: ptyprocess>=0.5 in /usr/lib/python2.7/site-packag                                                                                                                             es (from pexpect->aj==2.1.17->ajenti-panel)
Requirement already satisfied: lockfile>=0.7 in /usr/lib/python2.7/site-packages                                                                                                                              (from python-daemon-3k->aj==2.1.17->ajenti-panel)
[root@localhost ~]# sudo pip install ajenti-panel ajenti.plugin.dashboard ajenti                                                                                                                             .plugin.settings ajenti.plugin.plugins ajenti.plugin.filemanager ajenti.plugin.n                                                                                                                             otepad ajenti.plugin.packages ajenti.plugin.services ajenti.plugin.terminal

Requirement already satisfied: ajenti-panel in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.dashboard in /usr/lib/python2.7/sit                                                                                                                             e-packages
Requirement already satisfied: ajenti.plugin.settings in /usr/lib/python2.7/site                                                                                                                             -packages
Requirement already satisfied: ajenti.plugin.plugins in /usr/lib/python2.7/site-                                                                                                                             packages
Requirement already satisfied: ajenti.plugin.filemanager in /usr/lib/python2.7/s                                                                                                                             ite-packages
Requirement already satisfied: ajenti.plugin.notepad in /usr/lib/python2.7/site-                                                                                                                             packages
Requirement already satisfied: ajenti.plugin.packages in /usr/lib/python2.7/site                                                                                                                             -packages
Requirement already satisfied: ajenti.plugin.services in /usr/lib/python2.7/site                                                                                                                             -packages
Requirement already satisfied: ajenti.plugin.terminal in /usr/lib/python2.7/site                                                                                                                             -packages
Requirement already satisfied: pyyaml in /usr/lib64/python2.7/site-packages (fro                                                                                                                             m ajenti-panel)
Requirement already satisfied: aj==2.1.17 in /usr/lib/python2.7/site-packages (f                                                                                                                             rom ajenti-panel)
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (fro                                                                                                                             m ajenti-panel)
Requirement already satisfied: ajenti.plugin.core in /usr/lib/python2.7/site-pac                                                                                                                             kages (from ajenti.plugin.dashboard)
Requirement already satisfied: ajenti.plugin.passwd in /usr/lib/python2.7/site-p                                                                                                                             ackages (from ajenti.plugin.settings)
Requirement already satisfied: ajenti.plugin.filesystem in /usr/lib/python2.7/si                                                                                                                             te-packages (from ajenti.plugin.settings)
Requirement already satisfied: ajenti.plugin.ace in /usr/lib/python2.7/site-pack                                                                                                                             ages (from ajenti.plugin.notepad)
Requirement already satisfied: jadi>=1.0.3 in /usr/lib/python2.7/site-packages (                                                                                                                             from ajenti.plugin.packages)
Requirement already satisfied: upstart-new in /usr/lib/python2.7/site-packages (                                                                                                                             from ajenti.plugin.services)
Requirement already satisfied: Pillow in /usr/lib64/python2.7/site-packages (fro                                                                                                                             m ajenti.plugin.terminal)
Requirement already satisfied: pyte==0.4.9 in /usr/lib/python2.7/site-packages (                                                                                                                             from ajenti.plugin.terminal)
Requirement already satisfied: lxml>=2.2.4 in /usr/lib64/python2.7/site-packages                                                                                                                              (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: cookies in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent>=1.1.2 in /usr/lib64/python2.7/site-packag                                                                                                                             es (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: setproctitle in /usr/lib64/python2.7/site-package                                                                                                                             s (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pexpect in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Requirement already satisfied: python-daemon-3k in /usr/lib64/python2.7/site-pac                                                                                                                             kages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gipc in /usr/lib/python2.7/site-packages (from aj                                                                                                                             ==2.1.17->ajenti-panel)
Requirement already satisfied: setuptools>=12 in /usr/lib/python2.7/site-package                                                                                                                             s (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (f                                                                                                                             rom aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent-socketio-master>=0.3.6.99 in /usr/lib/pyth                                                                                                                             on2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent-websocket in /usr/lib/python2.7/site-packa                                                                                                                             ges (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: termcolor in /usr/lib/python2.7/site-packages (fr                                                                                                                             om aj==2.1.17->ajenti-panel)
Requirement already satisfied: psutil>=2.2.1 in /usr/lib64/python2.7/site-packag                                                                                                                             es (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: passlib in /usr/lib/python2.7/site-packages (from                                                                                                                              aj==2.1.17->ajenti-panel)
Requirement already satisfied: pyOpenSSL in /usr/lib64/python2.7/site-packages (                                                                                                                             from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pip>=6 in /usr/lib/python2.7/site-packages/pip-9.                                                                                                                             0.1-py2.7.egg (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: greenlet>=0.4.10 in /usr/lib64/python2.7/site-pac                                                                                                                             kages (from gevent>=1.1.2->aj==2.1.17->ajenti-panel)
Requirement already satisfied: ptyprocess>=0.5 in /usr/lib/python2.7/site-packag                                                                                                                             es (from pexpect->aj==2.1.17->ajenti-panel)
Requirement already satisfied: lockfile>=0.7 in /usr/lib/python2.7/site-packages                                                                                                                              (from python-daemon-3k->aj==2.1.17->ajenti-panel)
[root@localhost ~]#
[root@localhost ~]# ajenti
-bash: ajenti: command not found
[root@localhost ~]# service ajenti restart
Restarting ajenti (via systemctl):  Job for ajenti.service failed because the co                                                                                                                             ntrol process exited with error code. See "systemctl status ajenti.service" and                                                                                                                              "journalctl -xe" for details.
                                                           [FAILED]
[root@localhost ~]# /etc/init.d/ajenti restart
Restarting ajenti (via systemctl):  Job for ajenti.service failed because the co                                                                                                                             ntrol process exited with error code. See "systemctl status ajenti.service" and                                                                                                                              "journalctl -xe" for details.
                                                           [FAILED]
[root@localhost ~]# systemctl status ajenti.service
● ajenti.service - Ajenti panel
   Loaded: loaded (/usr/lib/systemd/system/ajenti.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2016-12-25 04:48:31 UTC; 23s ago
  Process: 1192 ExecStart=/bin/python /bin/ajenti-panel -d (code=exited, status=1/FAILURE)

Dec 25 04:48:31 localhost.localdomain python[1192]: from gevent.queue import Queue
Dec 25 04:48:31 localhost.localdomain python[1192]: File "/usr/lib64/python2.7/site-packages/geven...le>
Dec 25 04:48:31 localhost.localdomain python[1192]: from gevent.hub import get_hub, iwait, wait
Dec 25 04:48:31 localhost.localdomain python[1192]: File "/usr/lib64/python2.7/site-packages/geven...le>
Dec 25 04:48:31 localhost.localdomain python[1192]: from gevent._util import _NONE
Dec 25 04:48:31 localhost.localdomain python[1192]: ImportError: cannot import name _NONE
Dec 25 04:48:31 localhost.localdomain systemd[1]: ajenti.service: control process exited, code=exi...s=1
Dec 25 04:48:31 localhost.localdomain systemd[1]: Failed to start Ajenti panel.
Dec 25 04:48:31 localhost.localdomain systemd[1]: Unit ajenti.service entered failed state.
Dec 25 04:48:31 localhost.localdomain systemd[1]: ajenti.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# systemctl status ajenti.service
● ajenti.service - Ajenti panel
   Loaded: loaded (/usr/lib/systemd/system/ajenti.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2016-12-25 04:48:31 UTC; 32s ago
  Process: 1192 ExecStart=/bin/python /bin/ajenti-panel -d (code=exited, status=1/FAILURE)

Dec 25 04:48:31 localhost.localdomain python[1192]: from gevent.queue import Queue
Dec 25 04:48:31 localhost.localdomain python[1192]: File "/usr/lib64/python2.7/site-packages/gevent/__init__.py", line 51, in <module>
Dec 25 04:48:31 localhost.localdomain python[1192]: from gevent.hub import get_hub, iwait, wait
Dec 25 04:48:31 localhost.localdomain python[1192]: File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 31, in <module>
Dec 25 04:48:31 localhost.localdomain python[1192]: from gevent._util import _NONE
Dec 25 04:48:31 localhost.localdomain python[1192]: ImportError: cannot import name _NONE
Dec 25 04:48:31 localhost.localdomain systemd[1]: ajenti.service: control process exited, code=exited status=1
Dec 25 04:48:31 localhost.localdomain systemd[1]: Failed to start Ajenti panel.
Dec 25 04:48:31 localhost.localdomain systemd[1]: Unit ajenti.service entered failed state.
Dec 25 04:48:31 localhost.localdomain systemd[1]: ajenti.service failed.
[root@localhost ~]# yum install gevent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.math.princeton.edu
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
No package gevent available.
Error: Nothing to do
[root@localhost ~]# ajenti-panel -v
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 12, in <module>
    import aj.entry
  File "/usr/lib/python2.7/site-packages/aj/entry.py", line 7, in <module>
    from aj.util.pidfile import PidFile
  File "/usr/lib/python2.7/site-packages/aj/util/__init__.py", line 1, in <module>
    from aj.util.broadcast_queue import BroadcastQueue
  File "/usr/lib/python2.7/site-packages/aj/util/broadcast_queue.py", line 2, in <module>
    from gevent.queue import Queue
  File "/usr/lib64/python2.7/site-packages/gevent/__init__.py", line 51, in <module>
    from gevent.hub import get_hub, iwait, wait
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 31, in <module>
    from gevent._util import _NONE
ImportError: cannot import name _NONE
[root@localhost ~]# service ajenti stop
Stopping ajenti (via systemctl):                           [  OK  ]
[root@localhost ~]# service ajenti start
Starting ajenti (via systemctl):  Job for ajenti.service failed because the control process exited with error code. See "systemctl status ajenti.service" and                                                 "journalctl -xe" for details.
                                                           [FAILED]
[root@localhost ~]# curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh > install.sh && sudo bash install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4690  100  4690    0     0  32234      0 --:--:-- --:--:-- --:--:-- 32123
:: OS: rhel
:: Distro: centos
:: Installing prerequisites
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.math.princeton.edu
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Package epel-release-7-8.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.math.princeton.edu
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Package gcc-4.8.5-11.el7.x86_64 already installed and latest version
Package python-devel-2.7.5-48.el7.x86_64 already installed and latest version
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Package libxslt-devel-1.1.28-5.el7.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-60.el7.x86_64 already installed and latest version
Package libjpeg-turbo-devel-1.2.90-5.el7.x86_64 already installed and latest version
Package 2:libpng-devel-1.5.13-7.el7_2.x86_64 already installed and latest version
Package dbus-python-1.1.1-9.el7.x86_64 already installed and latest version
Package python-augeas-0.5.0-2.el7.noarch already installed and latest version
Package ntpdate-4.2.6p5-25.el7.centos.x86_64 already installed and latest version
Nothing to do
:: Upgrading PIP
rm: cannot remove β€˜/usr/lib/python2.7/dist-packages/setuptools.egg-info’: No such file or directory
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 9.0.1
Processing pip-9.0.1-py2.7.egg
pip 9.0.1 is already the active version in easy-install.pth
Installing pip script to /usr/bin
Installing pip2.7 script to /usr/bin
Installing pip2 script to /usr/bin

Using /usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg
Requirement already up-to-date: wheel in /usr/lib/python2.7/site-packages
Requirement already up-to-date: setuptools in /usr/lib/python2.7/site-packages
Requirement already up-to-date: distribute in /usr/lib/python2.7/site-packages
Cannot uninstall requirement gevent-socketio, not installed
:: Installing Ajenti
Requirement already satisfied: ajenti-panel in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.dashboard in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.settings in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.plugins in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.notepad in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.terminal in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.filemanager in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.packages in /usr/lib/python2.7/site-packages
Requirement already satisfied: ajenti.plugin.services in /usr/lib/python2.7/site-packages
Requirement already satisfied: pyyaml in /usr/lib64/python2.7/site-packages (from ajenti-panel)
Requirement already satisfied: aj==2.1.17 in /usr/lib/python2.7/site-packages (from ajenti-panel)
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (from ajenti-panel)
Requirement already satisfied: ajenti.plugin.core in /usr/lib/python2.7/site-packages (from ajenti.plugin.dashboard)
Requirement already satisfied: ajenti.plugin.passwd in /usr/lib/python2.7/site-packages (from ajenti.plugin.settings)
Requirement already satisfied: ajenti.plugin.filesystem in /usr/lib/python2.7/site-packages (from ajenti.plugin.settings)
Requirement already satisfied: ajenti.plugin.ace in /usr/lib/python2.7/site-packages (from ajenti.plugin.notepad)
Requirement already satisfied: Pillow in /usr/lib64/python2.7/site-packages (from ajenti.plugin.terminal)
Requirement already satisfied: pyte==0.4.9 in /usr/lib/python2.7/site-packages (from ajenti.plugin.terminal)
Requirement already satisfied: jadi>=1.0.3 in /usr/lib/python2.7/site-packages (from ajenti.plugin.packages)
Requirement already satisfied: upstart-new in /usr/lib/python2.7/site-packages (from ajenti.plugin.services)
Requirement already satisfied: lxml>=2.2.4 in /usr/lib64/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: cookies in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent>=1.1.2 in /usr/lib64/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: setproctitle in /usr/lib64/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pexpect in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: python-daemon-3k in /usr/lib64/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gipc in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: setuptools>=12 in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent-socketio-master>=0.3.6.99 in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: gevent-websocket in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: termcolor in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: psutil>=2.2.1 in /usr/lib64/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: passlib in /usr/lib/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pyOpenSSL in /usr/lib64/python2.7/site-packages (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: pip>=6 in /usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg (from aj==2.1.17->ajenti-panel)
Requirement already satisfied: greenlet>=0.4.10 in /usr/lib64/python2.7/site-packages (from gevent>=1.1.2->aj==2.1.17->ajenti-panel)
Requirement already satisfied: ptyprocess>=0.5 in /usr/lib/python2.7/site-packages (from pexpect->aj==2.1.17->ajenti-panel)
Requirement already satisfied: lockfile>=0.7 in /usr/lib/python2.7/site-packages (from python-daemon-3k->aj==2.1.17->ajenti-panel)
:: Installing initscript
/bin/systemctl
Job for ajenti.service failed because the control process exited with error code. See "systemctl status ajenti.service" and "journalctl -xe" for details.
:: Complete

Ajenti will be listening at HTTP port 8000
Log in with your root password or another OS user
[root@localhost ~]# systemctl status ajenti.service
● ajenti.service - Ajenti panel
   Loaded: loaded (/usr/lib/systemd/system/ajenti.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2016-12-25 04:51:45 UTC; 1min 6s ago
  Process: 1449 ExecStart=/bin/python /bin/ajenti-panel -d (code=exited, status=1/FAILURE)

Dec 25 04:51:45 localhost.localdomain python[1449]: from gevent.queue import Queue
Dec 25 04:51:45 localhost.localdomain python[1449]: File "/usr/lib64/python2.7/site-packages/gevent/__init__.py", line 51, in <module>
Dec 25 04:51:45 localhost.localdomain python[1449]: from gevent.hub import get_hub, iwait, wait
Dec 25 04:51:45 localhost.localdomain python[1449]: File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 31, in <module>
Dec 25 04:51:45 localhost.localdomain python[1449]: from gevent._util import _NONE
Dec 25 04:51:45 localhost.localdomain python[1449]: ImportError: cannot import name _NONE
Dec 25 04:51:45 localhost.localdomain systemd[1]: ajenti.service: control process exited, code=exited status=1
Dec 25 04:51:45 localhost.localdomain systemd[1]: Failed to start Ajenti panel.
Dec 25 04:51:45 localhost.localdomain systemd[1]: Unit ajenti.service entered failed state.
Dec 25 04:51:45 localhost.localdomain systemd[1]: ajenti.service failed.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
mxkriscommented, Jan 4, 2017
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 12, in <module>
    import aj.entry
  File "/usr/lib/python2.7/site-packages/aj/entry.py", line 7, in <module>
    from aj.util.pidfile import PidFile
  File "/usr/lib/python2.7/site-packages/aj/util/__init__.py", line 1, in <modul              e>
    from aj.util.broadcast_queue import BroadcastQueue
  File "/usr/lib/python2.7/site-packages/aj/util/broadcast_queue.py", line 2, in               <module>
    from gevent.queue import Queue
  File "/usr/lib64/python2.7/site-packages/gevent/__init__.py", line 51, in <mod              ule>
    from gevent.hub import get_hub, iwait, wait
  File "/usr/lib64/python2.7/site-packages/gevent/hub.py", line 31, in <module>
    from gevent._util import _NONE
ImportError: cannot import name _NONE
0reactions
trinvhcommented, Mar 16, 2017

@AnsuzThurisaz Ajenti2 use newest python packages such as gevent so you need remove all older packages from version 1. You can see requirements.txt in v1 repositoty: https://github.com/ajenti/ajenti/blob/1.x/requirements.txt

Using pip to uninstall:

pip uninstall ....

Let me know if it works, I’ll upgrade too if it supports ajenti-v plugin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ran master install script 2.x over 1.x - ajenti service crash logs
[2.0] Ajenti Service Failed to Start - Ran master install script 2.x over 1.x - ajenti service crash logs.
Read more >
Error installing Ajenti
Hi guys, I had the new Ajenti 2 but I want to use Ajenti web addon so I uninstalled it again and installed...
Read more >
could not build wheels for psutil, which is required to install ...
When I try to run the code in the file again, the same error will pop up. pip install jupyterlab.
Read more >
CURL ERROR: Recv failure: Connection reset by peer
It might be a TCP/IP issue you need to resolve with your host or upgrade your OS most times connection is closed with...
Read more >
How to install Ajenti Control Panel on Debian 11.3 - LinuxHelp
The Ajenti 2 control panel is an open-source, web-based program that can be used for managing servers in a variety of ways. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found