• Discussion
  • ERROR: The BT-Panel service startup failed

Starting Bt-Panel............failed

Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey

ModuleNotFoundError: No module named 'gevent'

Error: BT-Panel service startup failed.
done

Starting Bt-Tasks... failed

Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 22, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, d isk_io_counters, virtual_memory

ModuleNotFoundError: No module named 'psutil'

Error: BT-Task service startup failed.
username: aunh1i92
Collecting pyOpenSSl
Using cached pyOpenSSL-22.1.0-py3-none-any.whl (57 kB)
Collecting cryptography<39,>=38.0.0
Using cached cryptography-38.0.3-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch 64.whl (435 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Installing collected packages: pycparser, cffi, cryptography, pyOpenSSl
Successfully installed cffi-1.15.1 cryptography-38.0.3 pyOpenSSl-22.1.0 pycparse r-2.21
WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
Stopping Bt-Tasks... done
Stopping Bt-Panel... done

Starting Bt-Panel............failed

Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey

ModuleNotFoundError: No module named 'gevent'

Error: BT-Panel service startup failed.
done

Starting Bt-Tasks... failed

Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 22, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, d isk_io_counters, virtual_memory
ModuleNotFoundError: No module named 'psutil'
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 22, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, d isk_io_counters, virtual_memory

ModuleNotFoundError: No module named 'psutil'

Error: BT-Task service startup failed.

EXECUTING

Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
lrwxrwxrwx. 1 root root 37 Nov 23 18:48 python -> /www/server/panel/pyenv/ bin/python3.7
-rwx------. 2 root root 11726832 Nov 23 18:48 python3.7
---------------------- python3.7

lsattr: Operation not supported While reading flags on python

ERROR: The BT-Panel service startup failed.
Red Hat Enterprise Linux release 9.0 (Plow)
Bit:64 Mem:17492M Core:3
Linux traap 5.15.0-1.43.4.1.el9uek.aarch64 #2 SMP Fri Aug 5 09:43:38 PDT 2022 aa rch64 aarch64 aarch64 GNU/Linux

    2 months later

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile

    • base: centos.mirror.angkasa.id
    • epel: epel.mirror.angkasa.id
    • extras: centos.mirror.angkasa.id
    • updates: centos.mirror.angkasa.id
      Package libjpeg-turbo-devel-1.2.90-8.el7.x86_64 already installed and latest ver sion
      Nothing to do
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
    • base: centos.mirror.angkasa.id
    • epel: epel.mirror.angkasa.id
    • extras: centos.mirror.angkasa.id
    • updates: centos.mirror.angkasa.id
      No package vixie-cron available.
      Error: Nothing to do
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
    • base: centos.mirror.angkasa.id
    • epel: epel.mirror.angkasa.id
    • extras: centos.mirror.angkasa.id
    • updates: centos.mirror.angkasa.id
      Package libdb4-devel-4.8.30-13.el7.x86_64 already installed and latest version
      Nothing to do
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
    • base: centos.mirror.angkasa.id
    • epel: epel.mirror.angkasa.id
    • extras: centos.mirror.angkasa.id
    • updates: centos.mirror.angkasa.id
      Package epel-release-7-14.noarch already installed and latest version
      Nothing to do
      curl: (28) Resolving timed out after 3512 milliseconds
      Python 3.7.9
      WARNING: Skipping aliyun-python-sdk-kms as it is not installed.
      WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
      WARNING: Skipping aliyun-python-sdk-core as it is not installed.
      WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
      WARNING: Skipping aliyun-python-sdk-core-v3 as it is not installed.
      WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
      WARNING: Skipping qiniu as it is not installed.
      WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
      WARNING: Skipping cos-python-sdk-v5 as it is not installed.
      WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
      --2023-01-16 07:36:57-- https://node.aapanel.com/install/src/panel6_en.zip
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.
      wget: unable to resolve host address ‘node.aapanel.com’
      --2023-01-16 07:37:07-- https://node.aapanel.com/install/src/bt6_en.init
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.
      wget: unable to resolve host address ‘node.aapanel.com’
      --2023-01-16 07:37:17-- https://node.aapanel.com/install/public.sh
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.
      wget: unable to resolve host address ‘node.aapanel.com’
      End-of-central-directory signature not found. Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive. In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.
      unzip: cannot find zipfile directory in one of panel.zip or
      panel.zip.zip, and cannot find panel.zip.ZIP, period.
      --2023-01-16 07:37:27-- https://node.aapanel.com/install/src/bt6_en.init
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.
      wget: unable to resolve host address ‘node.aapanel.com’
      --2023-01-16 07:37:37-- https://node.aapanel.com/install/src/bt6_en.init
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.
      wget: unable to resolve host address ‘node.aapanel.com’
      --2023-01-16 07:37:47-- https://node.aapanel.com/install/conf/softList_en.conf
      Resolving node.aapanel.com (node.aapanel.com)... 104.21.79.196, 172.67.171.7, 26 06:4700:3034::ac43:ab07, ...
      Connecting to node.aapanel.com (node.aapanel.com)|104.21.79.196|:443... connecte d.
      HTTP request sent, awaiting response... 200 OK
      Length: 3123 (3.0K) [application/octet-stream]
      Saving to: ‘/www/server/panel/data/softList.conf’

    100%[======================================>] 3,123 --.-K/s in 0s

    2023-01-16 07:37:58 (13.9 MB/s) - ‘/www/server/panel/data/softList.conf’ saved [ 3123/3123]

    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Requirement already satisfied: cachelib in /www/server/panel/pyenv/lib/python3.7 /site-packages (0.1.1)
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Requirement already satisfied: python-telegram-bot in /www/server/panel/pyenv/li b/python3.7/site-packages (13.14)
    Requirement already satisfied: cachetools==4.2.2 in /www/server/panel/pyenv/lib/ python3.7/site-packages (from python-telegram-bot) (4.2.2)
    Requirement already satisfied: tornado==6.1 in /www/server/panel/pyenv/lib/pytho n3.7/site-packages (from python-telegram-bot) (6.1)
    Requirement already satisfied: pytz>=2018.6 in /www/server/panel/pyenv/lib/pytho n3.7/site-packages (from python-telegram-bot) (2020.5)
    Requirement already satisfied: certifi in /www/server/panel/pyenv/lib/python3.7/ site-packages (from python-telegram-bot) (2020.12.5)
    Requirement already satisfied: APScheduler==3.6.3 in /www/server/panel/pyenv/lib /python3.7/site-packages (from python-telegram-bot) (3.6.3)
    Requirement already satisfied: setuptools>=0.7 in /www/server/panel/pyenv/lib/py thon3.7/site-packages (from APScheduler==3.6.3->python-telegram-bot) (51.1.1)
    Requirement already satisfied: tzlocal>=1.2 in /www/server/panel/pyenv/lib/pytho n3.7/site-packages (from APScheduler==3.6.3->python-telegram-bot) (4.2)
    Requirement already satisfied: six>=1.4.0 in /www/server/panel/pyenv/lib/python3 .7/site-packages (from APScheduler==3.6.3->python-telegram-bot) (1.15.0)
    Requirement already satisfied: backports.zoneinfo in /www/server/panel/pyenv/lib /python3.7/site-packages (from tzlocal>=1.2->APScheduler==3.6.3->python-telegram -bot) (0.2.1)
    Requirement already satisfied: pytz-deprecation-shim in /www/server/panel/pyenv/ lib/python3.7/site-packages (from tzlocal>=1.2->APScheduler==3.6.3->python-teleg ram-bot) (0.1.0.post0)
    Requirement already satisfied: tzdata in /www/server/panel/pyenv/lib/python3.7/s ite-packages (from pytz-deprecation-shim->tzlocal>=1.2->APScheduler==3.6.3->pyth on-telegram-bot) (2022.6)
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Requirement already satisfied: pymongo in /www/server/panel/pyenv/lib/python3.7/ site-packages (3.11.2)
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Requirement already satisfied: psycopg2-binary in /www/server/panel/pyenv/lib/py thon3.7/site-packages (2.9.5)
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Requirement already satisfied: flask in /www/server/panel/pyenv/lib/python3.7/si te-packages (2.2.2)
    Requirement already satisfied: itsdangerous>=2.0 in /www/server/panel/pyenv/lib/ python3.7/site-packages (from flask) (2.1.2)
    Requirement already satisfied: Jinja2>=3.0 in /www/server/panel/pyenv/lib/python 3.7/site-packages (from flask) (3.1.2)
    Requirement already satisfied: click>=8.0 in /www/server/panel/pyenv/lib/python3 .7/site-packages (from flask) (8.1.3)
    Requirement already satisfied: Werkzeug>=2.2.2 in /www/server/panel/pyenv/lib/py thon3.7/site-packages (from flask) (2.2.2)
    Requirement already satisfied: importlib-metadata>=3.6.0 in /www/server/panel/py env/lib/python3.7/site-packages (from flask) (6.0.0)
    Requirement already satisfied: zipp>=0.5 in /www/server/panel/pyenv/lib/python3. 7/site-packages (from importlib-metadata>=3.6.0->flask) (3.11.0)
    Requirement already satisfied: typing-extensions>=3.6.4 in /www/server/panel/pye nv/lib/python3.7/site-packages (from importlib-metadata>=3.6.0->flask) (4.4.0)
    Requirement already satisfied: MarkupSafe>=2.0 in /www/server/panel/pyenv/lib/py thon3.7/site-packages (from Jinja2>=3.0->flask) (2.1.1)
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Requirement already satisfied: flask-sock in /www/server/panel/pyenv/lib/python3 .7/site-packages (0.6.0)
    Requirement already satisfied: flask>=2 in /www/server/panel/pyenv/lib/python3.7 /site-packages (from flask-sock) (2.2.2)
    Requirement already satisfied: simple-websocket>=0.5.1 in /www/server/panel/pyen v/lib/python3.7/site-packages (from flask-sock) (0.9.0)
    Requirement already satisfied: click>=8.0 in /www/server/panel/pyenv/lib/python3 .7/site-packages (from flask>=2->flask-sock) (8.1.3)
    Requirement already satisfied: importlib-metadata>=3.6.0 in /www/server/panel/py env/lib/python3.7/site-packages (from flask>=2->flask-sock) (6.0.0)
    Requirement already satisfied: itsdangerous>=2.0 in /www/server/panel/pyenv/lib/ python3.7/site-packages (from flask>=2->flask-sock) (2.1.2)
    Requirement already satisfied: Werkzeug>=2.2.2 in /www/server/panel/pyenv/lib/py thon3.7/site-packages (from flask>=2->flask-sock) (2.2.2)
    Requirement already satisfied: Jinja2>=3.0 in /www/server/panel/pyenv/lib/python 3.7/site-packages (from flask>=2->flask-sock) (3.1.2)
    Requirement already satisfied: wsproto in /www/server/panel/pyenv/lib/python3.7/ site-packages (from simple-websocket>=0.5.1->flask-sock) (1.2.0)
    Requirement already satisfied: typing-extensions>=3.6.4 in /www/server/panel/pye nv/lib/python3.7/site-packages (from importlib-metadata>=3.6.0->flask>=2->flask- sock) (4.4.0)
    Requirement already satisfied: zipp>=0.5 in /www/server/panel/pyenv/lib/python3. 7/site-packages (from importlib-metadata>=3.6.0->flask>=2->flask-sock) (3.11.0)
    Requirement already satisfied: MarkupSafe>=2.0 in /www/server/panel/pyenv/lib/py thon3.7/site-packages (from Jinja2>=3.0->flask>=2->flask-sock) (2.1.1)
    Requirement already satisfied: h11<1,>=0.9.0 in /www/server/panel/pyenv/lib/pyth on3.7/site-packages (from wsproto->simple-websocket>=0.5.1->flask-sock) (0.14.0)
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    mkdir: cannot create directory ‘/www/server/panel/ssl’: File exists
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Collecting pyOpenSSl
    Downloading https://mirrors.aliyun.com/pypi/packages/73/00/b78f9fae05bb1633f72 09aa394fa0c3563ef760ab7f47ac37768bf4e4d78/pyOpenSSL-23.0.0-py3-none-any.whl (57 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.3/57.3 kB 99.1 kB/s eta 0:00:00
    Collecting cryptography<40,>=38.0.0
    Downloading https://mirrors.aliyun.com/pypi/packages/7a/46/8b58d6b8244ff613ecb 983b9428d1168dd0b014a34e13fb19737b9ba1fc1/cryptography-39.0.0-cp36-abi3-manylinu x_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 106.1 kB/s eta 0:00:00
    Collecting cffi>=1.12
    Downloading https://mirrors.aliyun.com/pypi/packages/93/d0/2e2b27ea2f69b0ec9e4 81647822f8f77f5fc23faca2dd00d1ff009940eb7/cffi-1.15.1-cp37-cp37m-manylinux_2_17_ x86_64.manylinux2014_x86_64.whl (427 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.9/427.9 kB 121.6 kB/s eta 0:00:00
    Collecting pycparser
    Downloading https://mirrors.aliyun.com/pypi/packages/62/d5/5f610ebe421e85889f2 e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (1 18 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 117.7 kB/s eta 0:00:00
    Installing collected packages: pycparser, cffi, cryptography, pyOpenSSl
    Successfully installed cffi-1.15.1 cryptography-39.0.0 pyOpenSSl-23.0.0 pycparse r-2.21
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    success
    username: s3c5ohyr
    Looking in indexes: https://mirrors.aliyun.com/pypi/simple
    Collecting pyOpenSSl
    Using cached https://mirrors.aliyun.com/pypi/packages/73/00/b78f9fae05bb1633f7 209aa394fa0c3563ef760ab7f47ac37768bf4e4d78/pyOpenSSL-23.0.0-py3-none-any.whl (57 kB)
    Collecting cryptography<40,>=38.0.0
    Using cached https://mirrors.aliyun.com/pypi/packages/7a/46/8b58d6b8244ff613ec b983b9428d1168dd0b014a34e13fb19737b9ba1fc1/cryptography-39.0.0-cp36-abi3-manylin ux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB)
    Collecting cffi>=1.12
    Using cached https://mirrors.aliyun.com/pypi/packages/93/d0/2e2b27ea2f69b0ec9e 481647822f8f77f5fc23faca2dd00d1ff009940eb7/cffi-1.15.1-cp37-cp37m-manylinux_2_17 _x86_64.manylinux2014_x86_64.whl (427 kB)
    Collecting pycparser
    Using cached https://mirrors.aliyun.com/pypi/packages/62/d5/5f610ebe421e85889f 2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl ( 118 kB)
    Installing collected packages: pycparser, cffi, cryptography, pyOpenSSl
    Successfully installed cffi-1.15.1 cryptography-39.0.0 pyOpenSSl-23.0.0 pycparse r-2.21
    WARNING: Running pip as the 'root' user can result in broken permissions and con flicting behaviour with the system package manager. It is recommended to use a v irtual environment instead: https://pip.pypa.io/warnings/venv
    lrwxrwxrwx. 1 root root 37 Jan 9 2021 python -> /www/server/panel/pyenv/

      aaP_tanayapedia
      Hello, the connection to our node has timed out Which region is your server in?
      check connection
      curl -v https://brandnew.aapanel.com
      ping brandnew.aapanel.com -c 5
      ping google.com -c 5

      now different error
      --2023-01-16 09:10:11-- https://node.aapanel.com/install/pyenv/pyenv-el7-x64.tar.gz
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.
      wget: unable to resolve host address ‘node.aapanel.com’
      ERROR: Download python env fielded.
      --2023-01-16 09:10:21-- https://node.aapanel.com/src/Python-3.7.8.tar.xz
      Resolving node.aapanel.com (node.aapanel.com)... failed: Connection timed out.

      wget: unable to resolve host address ‘node.aapanel.com’

      ERROR: Download python source code fielded. Please try to reinstall
      CentOS Linux release 7.9.2009 (Core)
      Bit:64 Mem:15821M Core:4

      i try reinstall again and get same error

        aaP_tanayapedia

        Hi, this shows Unable to connect to our server.
        Unable to connect to aapanel server. Please check /etc/resolv.conf file if nameserver is set
        If not please use SSH tool to set nameserver :
        echo "nameserver 8.8.8.8" >> /etc/resolv.conf
        echo "nameserver 1.1.1.1" >> /etc/resolv.conf

        curl -v https://node.aapanel.com
        ping node.aapanel.com -c 5
        ping google.com -c 5

        i tried this
        echo "nameserver 8.8.8.8" >> /etc/resolv.conf
        echo "nameserver 1.1.1.1" >> /etc/resolv.conf

        curl -v https://node.aapanel.com
        ping node.aapanel.com -c 5
        ping google.com -c 5

        result is normal but when reinstall aapanel again and get same error !!!

        wget: unable to resolve host address ‘node.aapanel.com’

        ERROR: Download python source code fielded. Please try to reinstall
        CentOS Linux release 7.9.2009 (Core)

          aaP_tanayapedia
          Hi, can you take a screenshot and tell us your result?
          At the same time, which region is your server in?
          curl -v https://node.aapanel.com
          ping node.aapanel.com -c 5
          ping google.com -c 5

          aaP_tanayapedia
          Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
          It is recommended to fill in the following
          Post link:
          SSH IP address, account password and port:
          aapanel login link address and account password:

          No post link will not be able to know which user's information is

          Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com