WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@armbian:~#
then i tried to use :β¬β¬
root@armbian:~# curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install-venv.sh | sudo bash -s -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5380 100 5380 0 0 5777 0 --:--:-- --:--:-- --:--:-- 5784
:: OS: debian
:: Distro: ubuntu
:: Enabling universe repository
Adding component(s) 'universe' to all repositories.
Hit:1 http://ports.ubuntu.com jammy InRelease
Hit:2 http://ports.ubuntu.com jammy-security InRelease
Hit:3 http://ports.ubuntu.com jammy-updates InRelease
Hit:4 http://ports.ubuntu.com jammy-backports InRelease
Reading package lists... Done
:: Installing prerequisites
Hit:1 http://ports.ubuntu.com jammy InRelease
Hit:2 http://ports.ubuntu.com jammy-security InRelease
Hit:3 http://ports.ubuntu.com jammy-updates InRelease
Hit:4 http://ports.ubuntu.com jammy-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
python3-apt is already the newest version (2.3.0ubuntu2).
python3-dbus is already the newest version (1.2.18-3build1).
python3-dev is already the newest version (3.10.4-0ubuntu2).
python3-lxml is already the newest version (4.8.0-1build1).
ntpdate is already the newest version (1:4.2.8p15+dfsg-1ubuntu2).
python3-augeas is already the newest version (0.5.0-1.1).
python3-pip is already the newest version (22.0.2+dfsg-1).
libssl-dev is already the newest version (3.0.2-0ubuntu1.5).
The following additional packages will be installed:
python3-pip-whl python3-setuptools-whl python3.10-venv
The following NEW packages will be installed:
python3-pip-whl python3-setuptools-whl python3-venv python3.10-venv
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,474 kB of archives.
After this operation, 2,888 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com jammy/universe arm64 python3-pip-whl all 22.0.2+dfsg-1 [1,679 kB]
Get:2 http://ports.ubuntu.com jammy/universe arm64 python3-setuptools-whl all 59.6.0-1.2 [788 kB]
Get:3 http://ports.ubuntu.com jammy/universe arm64 python3.10-venv arm64 3.10.4-3 [5,662 B]
Get:4 http://ports.ubuntu.com jammy/universe arm64 python3-venv arm64 3.10.4-0ubuntu2 [1,046 B]
Fetched 2,474 kB in 9s (268 kB/s)
Selecting previously unselected package python3-pip-whl.
(Reading database ... 37894 files and directories currently installed.)
Preparing to unpack .../python3-pip-whl_22.0.2+dfsg-1_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../python3-setuptools-whl_59.6.0-1.2_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../python3.10-venv_3.10.4-3_arm64.deb ...
Unpacking python3.10-venv (3.10.4-3) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../python3-venv_3.10.4-0ubuntu2_arm64.deb ...
Unpacking python3-venv (3.10.4-0ubuntu2) ...
Setting up python3-setuptools-whl (59.6.0-1.2) ...
Setting up python3-pip-whl (22.0.2+dfsg-1) ...
Setting up python3.10-venv (3.10.4-3) ...
Setting up python3-venv (3.10.4-0ubuntu2) ...
:: Setting up virtual env in /opt
:: Upgrading PIP
rm: cannot remove '/usr/lib//opt/ajenti/bin/python3/dist-packages/setuptools.egg-info': No such file or directory
Requirement already satisfied: pip in /opt/ajenti/lib/python3.10/site-packages (22.0.2)
Collecting pip
Using cached pip-22.1.2-py3-none-any.whl (2.1 MB)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.37.1)
Requirement already satisfied: setuptools in /opt/ajenti/lib/python3.10/site-packages (59.6.0)
Collecting setuptools
Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB)
Installing collected packages: setuptools, pip
Attempting uninstall: setuptools
Found existing installation: setuptools 59.6.0
Uninstalling setuptools-59.6.0:
Successfully uninstalled setuptools-59.6.0
Attempting uninstall: pip
Found existing installation: pip 22.0.2
Uninstalling pip-22.0.2:
Successfully uninstalled pip-22.0.2
Successfully installed pip-22.1.2 setuptools-62.6.0
WARNING: Skipping gevent-socketio as it is not installed.
WARNING: Skipping gevent-socketio-hartwork as it is not installed.
:: Installing Ajenti
Requirement already satisfied: ajenti-panel in /usr/local/lib/python3.10/dist-packages (2.1.44)
Requirement already satisfied: ajenti.plugin.core in /usr/local/lib/python3.10/dist-packages (0.100)
Requirement already satisfied: ajenti.plugin.dashboard in /usr/local/lib/python3.10/dist-packages (0.40)
Requirement already satisfied: ajenti.plugin.settings in /usr/local/lib/python3.10/dist-packages (0.31)
Requirement already satisfied: ajenti.plugin.plugins in /usr/local/lib/python3.10/dist-packages (0.48)
Requirement already satisfied: ajenti.plugin.notepad in /usr/local/lib/python3.10/dist-packages (0.29)
Requirement already satisfied: ajenti.plugin.terminal in /usr/local/lib/python3.10/dist-packages (0.41)
Requirement already satisfied: ajenti.plugin.filemanager in /usr/local/lib/python3.10/dist-packages (0.29)
Requirement already satisfied: ajenti.plugin.packages in /usr/local/lib/python3.10/dist-packages (0.35)
Requirement already satisfied: ajenti.plugin.services in /usr/local/lib/python3.10/dist-packages (0.32)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from ajenti-panel) (2.28.0)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from ajenti-panel) (5.4.1)
Requirement already satisfied: aj==2.1.44 in /usr/local/lib/python3.10/dist-packages (from ajenti-panel) (2.1.44)
Requirement already satisfied: itsdangerous in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (2.1.2)
Requirement already satisfied: python-daemon in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (2.3.0)
Requirement already satisfied: distro in /usr/lib/python3/dist-packages (from aj==2.1.44->ajenti-panel) (1.7.0)
Requirement already satisfied: gipc==1.3.0 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.3.0)
Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.1.0)
Requirement already satisfied: simplejson in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (3.17.6)
Requirement already satisfied: pip>=20 in /opt/ajenti/lib/python3.10/site-packages (from aj==2.1.44->ajenti-panel) (22.1.2)
Requirement already satisfied: pexpect in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (4.8.0)
Requirement already satisfied: lxml>=2.2.4 in /usr/lib/python3/dist-packages (from aj==2.1.44->ajenti-panel) (4.8.0)
Requirement already satisfied: passlib in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.7.4)
Requirement already satisfied: gevent-websocket in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (0.10.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (3.1.2)
Requirement already satisfied: arrow in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.2.2)
Requirement already satisfied: setproctitle in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.2.3)
Requirement already satisfied: pyOpenSSL==19.1.0 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (19.1.0)
Requirement already satisfied: python-engineio==4.3.1 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (4.3.1)
Requirement already satisfied: jadi>=1.0.3 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.0.3)
Requirement already satisfied: setuptools>=41 in /opt/ajenti/lib/python3.10/site-packages (from aj==2.1.44->ajenti-panel) (62.6.0)
Requirement already satisfied: psutil>=2.2.1 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (5.9.1)
Requirement already satisfied: cookies in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (2.2.1)
Requirement already satisfied: greenlet>=0.4.16 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (1.1.2)
Requirement already satisfied: bs4 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (0.0.1)
Requirement already satisfied: gevent>=1.5.0 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (21.1.2)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from aj==2.1.44->ajenti-panel) (1.16.0)
Requirement already satisfied: python-socketio==5.5.2 in /usr/local/lib/python3.10/dist-packages (from aj==2.1.44->ajenti-panel) (5.5.2)
Requirement already satisfied: cryptography>=2.8 in /usr/lib/python3/dist-packages (from pyOpenSSL==19.1.0->aj==2.1.44->ajenti-panel) (3.4.8)
Requirement already satisfied: bidict>=0.21.0 in /usr/local/lib/python3.10/dist-packages (from python-socketio==5.5.2->aj==2.1.44->ajenti-panel) (0.22.0)
Requirement already satisfied: ajenti.plugin.filesystem in /usr/local/lib/python3.10/dist-packages (from ajenti.plugin.settings) (0.48)
Requirement already satisfied: ajenti.plugin.passwd in /usr/local/lib/python3.10/dist-packages (from ajenti.plugin.settings) (0.25)
Requirement already satisfied: ajenti.plugin.ace in /usr/local/lib/python3.10/dist-packages (from ajenti.plugin.notepad) (0.31)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from ajenti.plugin.terminal) (9.1.1)
Requirement already satisfied: pyte==0.8.0 in /usr/local/lib/python3.10/dist-packages (from ajenti.plugin.terminal) (0.8.0)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from pyte==0.8.0->ajenti.plugin.terminal) (0.2.5)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->ajenti-panel) (2022.6.15)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->ajenti-panel) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->ajenti-panel) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->ajenti-panel) (1.26.9)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.10/dist-packages (from bs4->aj==2.1.44->ajenti-panel) (4.11.1)
Requirement already satisfied: zope.event in /usr/local/lib/python3.10/dist-packages (from gevent>=1.5.0->aj==2.1.44->ajenti-panel) (4.5.0)
Requirement already satisfied: zope.interface in /usr/local/lib/python3.10/dist-packages (from gevent>=1.5.0->aj==2.1.44->ajenti-panel) (5.4.0)
Requirement already satisfied: python-dateutil>=2.7.0 in /usr/local/lib/python3.10/dist-packages (from arrow->aj==2.1.44->ajenti-panel) (2.8.2)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.10/dist-packages (from beautifulsoup4->bs4->aj==2.1.44->ajenti-panel) (2.3.2.post1)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->aj==2.1.44->ajenti-panel) (2.1.1)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.10/dist-packages (from pexpect->aj==2.1.44->ajenti-panel) (0.7.0)
Requirement already satisfied: docutils in /usr/local/lib/python3.10/dist-packages (from python-daemon->aj==2.1.44->ajenti-panel) (0.18.1)
Requirement already satisfied: lockfile>=0.10 in /usr/local/lib/python3.10/dist-packages (from python-daemon->aj==2.1.44->ajenti-panel) (0.12.2)
:: Installing initscript
/usr/bin/systemctl
Created symlink /etc/systemd/system/multi-user.target.wants/ajenti.service β /lib/systemd/system/ajenti.service.
:: Complete
Ajenti will be listening at https://192.168.2.2:8000
Log in with your root password or another OS user
until here the address cannot be accessed ### I have also allowed the firewall for that port
when I check the status of Ajenti
root@armbian:~# sudo systemctl status ajenti
Γ ajenti.service - Ajenti panel
Loaded: loaded (/lib/systemd/system/ajenti.service; enabled; vendor preset>
Active: failed (Result: signal) since Fri 2022-06-24 19:24:05 CST; 4min 21>
Process: 1783 ExecStart=/opt/ajenti/bin/python3 /usr/local/bin/ajenti-panel>
Process: 2004 ExecStartPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Main PID: 2003 (code=killed, signal=SEGV)
CPU: 6.234s
Jun 24 19:23:24 armbian systemd[1]: Starting Ajenti panel...
Jun 24 19:23:28 armbian python3[1783]: :241: Runti>
Jun 24 19:23:28 armbian python3[1783]: :241: Runti>
Jun 24 19:23:29 armbian python3[1783]: :241: Runti>
Jun 24 19:23:29 armbian python3[1783]: :241: Runti>
Jun 24 19:23:29 armbian python3[1783]: :241: Runti>
Jun 24 19:24:01 armbian systemd[1]: Started Ajenti panel.
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Main process exited, code=k>
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Failed with result 'signal'.
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Consumed 6.234s CPU time.
lines 1-18/18 (END)...skipping...
Γ ajenti.service - Ajenti panel
Loaded: loaded (/lib/systemd/system/ajenti.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2022-06-24 19:24:05 CST; 4min 21s ago
Process: 1783 ExecStart=/opt/ajenti/bin/python3 /usr/local/bin/ajenti-panel -d (code=exited, status=0/SUCCESS)
Process: 2004 ExecStartPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Main PID: 2003 (code=killed, signal=SEGV)
CPU: 6.234s
Jun 24 19:23:24 armbian systemd[1]: Starting Ajenti panel...
Jun 24 19:23:28 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:28 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:29 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:29 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:29 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:24:01 armbian systemd[1]: Started Ajenti panel.
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Main process exited, code=killed, status=11/SEGV
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Failed with result 'signal'.
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Consumed 6.234s CPU time.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-18/18 (END)...skipping...
Γ ajenti.service - Ajenti panel
Loaded: loaded (/lib/systemd/system/ajenti.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2022-06-24 19:24:05 CST; 4min 21s ago
Process: 1783 ExecStart=/opt/ajenti/bin/python3 /usr/local/bin/ajenti-panel -d (code=exited, status=0/SUCCESS)
Process: 2004 ExecStartPost=/bin/sleep 5 (code=exited, status=0/SUCCESS)
Main PID: 2003 (code=killed, signal=SEGV)
CPU: 6.234s
Jun 24 19:23:24 armbian systemd[1]: Starting Ajenti panel...
Jun 24 19:23:28 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:28 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:29 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:29 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:23:29 armbian python3[1783]: :241: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompa>
Jun 24 19:24:01 armbian systemd[1]: Started Ajenti panel.
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Main process exited, code=killed, status=11/SEGV
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Failed with result 'signal'.
Jun 24 19:24:05 armbian systemd[1]: ajenti.service: Consumed 6.234s CPU time.
Stale