嘟嘟社区

AMH的Supervisor 不能使用root用户


我在SSH里执行了 amh supervisor admin chroot off 这个命令
  1. root@server1:~# amh supervisor admin chroot off
  2. =============================================================
  3. [Linux] AMH 7.1
  4. https://amh.sh
  5. [supervisor admin]
  6. =============================================================
  7. =============================================================
  8. [Linux] AMH 7.1
  9. https://amh.sh
  10. [supervisor-0.1 admin]
  11. =============================================================
  12. ● supervisord.service – Supervisor process control system for UNIX
  13.      Loaded: loaded (/lib/systemd/system/supervisord.service; enabled; preset: enabled)
  14.      Active: active (running) since Fri 2024-08-16 20:52:52 CST; 5min ago
  15.        Docs: http://supervisord.org
  16.    Main PID: 30222 (supervisord)
  17.       Tasks: 1 (limit: 1099)
  18.      Memory: 20.4M
  19.         CPU: 4.550s
  20.      CGroup: /system.slice/supervisord.service
  21.              └─30222 /usr/bin/python3 /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
  22. Aug 16 20:54:12 XXX         supervisord[30222]: 2024-08-16 20:54:12,971 INFO gave up: XXX>  

复制代码

所以这是咋回事呀,我的程序需要用到root用户

按Q键试试?[OK] supervisor-0.1 is already installed.

Yzindex 发表于 2024-8-16 21:09
按Q键试试?[OK] supervisor-0.1 is already installed.

[OK] supervisor-0.1 is already installed.
[Error] permission denied.(UP403)

还是提示权限不足,奇怪了我用·root用户执行的也这样提示