请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

supervisor问题,我把软链接换成python2了,还是报错

[root@VM-8-2-centos nginx+gunicorn+daphne+supervisor]# python
Python 2.7.5 (default, Nov 16 2020, 22:23:17) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
[root@VM-8-2-centos nginx+gunicorn+daphne+supervisor]# systemctl start supervisord
Job for supervisord.service failed because the control process exited with error code. See "systemctl status supervisord.service" and "journalctl -xe" for details.
[root@VM-8-2-centos nginx+gunicorn+daphne+supervisor]# systemctl status supervisord.service
● supervisord.service - Process Monitoring and Control Daemon
   Loaded: loaded (/usr/lib/systemd/system/supervisord.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2021-04-26 10:15:17 CST; 6s ago
  Process: 8311 ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf (code=exited, status=2)
 Main PID: 1255 (code=exited, status=0/SUCCESS)

Apr 26 10:15:17 VM-8-2-centos systemd[1]: Starting Process Monitoring and Control Daemon...
Apr 26 10:15:17 VM-8-2-centos supervisord[8311]: Error: The directory named as part of the path /home/zanhu/proj...ni')
Apr 26 10:15:17 VM-8-2-centos supervisord[8311]: For help, use /usr/bin/supervisord -h
Apr 26 10:15:17 VM-8-2-centos systemd[1]: supervisord.service: control process exited, code=exited status=2
Apr 26 10:15:17 VM-8-2-centos systemd[1]: Failed to start Process Monitoring and Control Daemon.
Apr 26 10:15:17 VM-8-2-centos systemd[1]: Unit supervisord.service entered failed state.
Apr 26 10:15:17 VM-8-2-centos systemd[1]: supervisord.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@VM-8-2-centos nginx+gunicorn+daphne+supervisor]# journalctl -xe
Apr 26 10:15:17 VM-8-2-centos polkitd[568]: Unregistered Authentication Agent for unix-process:8305:50387484 (system bu
Apr 26 10:15:18 VM-8-2-centos sshd[8296]: Failed password for invalid user ftpuser from 175.190.126.170 port 35461 ssh2
Apr 26 10:15:18 VM-8-2-centos sshd[8296]: Received disconnect from 175.190.126.170 port 35461:11: disconnected by user 
Apr 26 10:15:18 VM-8-2-centos sshd[8296]: Disconnected from 175.190.126.170 port 35461 [preauth]
Apr 26 10:15:18 VM-8-2-centos sshd[8296]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost
Apr 26 10:15:19 VM-8-2-centos sshd[8315]: Invalid user test1 from 175.190.126.170 port 36692
Apr 26 10:15:19 VM-8-2-centos sshd[8315]: input_userauth_request: invalid user test1 [preauth]
Apr 26 10:15:19 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:19 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ru
Apr 26 10:15:21 VM-8-2-centos sshd[8315]: Failed password for invalid user test1 from 175.190.126.170 port 36692 ssh2
Apr 26 10:15:21 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:23 VM-8-2-centos sshd[8315]: Failed password for invalid user test1 from 175.190.126.170 port 36692 ssh2
Apr 26 10:15:23 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:24 VM-8-2-centos sshd[8315]: Failed password for invalid user test1 from 175.190.126.170 port 36692 ssh2
Apr 26 10:15:24 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:26 VM-8-2-centos sshd[8315]: Failed password for invalid user test1 from 175.190.126.170 port 36692 ssh2
Apr 26 10:15:26 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:28 VM-8-2-centos sshd[8315]: Failed password for invalid user test1 from 175.190.126.170 port 36692 ssh2
Apr 26 10:15:28 VM-8-2-centos sshd[8315]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:31 VM-8-2-centos sshd[8315]: Failed password for invalid user test1 from 175.190.126.170 port 36692 ssh2
Apr 26 10:15:31 VM-8-2-centos sshd[8315]: error: maximum authentication attempts exceeded for invalid user test1 from 1
Apr 26 10:15:31 VM-8-2-centos sshd[8315]: Disconnecting: Too many authentication failures [preauth]
Apr 26 10:15:31 VM-8-2-centos sshd[8315]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhos
Apr 26 10:15:31 VM-8-2-centos sshd[8315]: PAM service(sshd) ignoring max retries; 6 > 3
Apr 26 10:15:31 VM-8-2-centos sshd[8350]: Invalid user test1 from 175.190.126.170 port 40830
Apr 26 10:15:31 VM-8-2-centos sshd[8350]: input_userauth_request: invalid user test1 [preauth]
Apr 26 10:15:31 VM-8-2-centos sshd[8350]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:31 VM-8-2-centos sshd[8350]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ru
Apr 26 10:15:33 VM-8-2-centos sshd[8350]: Failed password for invalid user test1 from 175.190.126.170 port 40830 ssh2
Apr 26 10:15:33 VM-8-2-centos sshd[8350]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:35 VM-8-2-centos sshd[8350]: Failed password for invalid user test1 from 175.190.126.170 port 40830 ssh2
Apr 26 10:15:35 VM-8-2-centos sshd[8350]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:37 VM-8-2-centos sshd[8350]: Failed password for invalid user test1 from 175.190.126.170 port 40830 ssh2
Apr 26 10:15:37 VM-8-2-centos sshd[8350]: pam_unix(sshd:auth): check pass; user unknown
Apr 26 10:15:39 VM-8-2-centos sshd[8350]: Failed password for invalid user test1 from 175.190.126.170 port 40830 ssh2
Apr 26 10:15:39 VM-8-2-centos sshd[8350]: pam_unix(sshd:auth): check pass; user unknown

正在回答

2回答

把ini文件粘贴出来我看一下

0 回复 有任何疑惑可以回复我~
  • 提问者 鲨鱼辣椒辣 #1
    非常感谢!
    回复 有任何疑惑可以回复我~ 2021-04-27 10:24:43
Jack 2021-04-27 10:24:15

还有权限出问题的可能,需要排除。supervisor你是什么用户启动的?.ini文件中的进程执行时,生成的日志路径是否有权限写入?

0 回复 有任何疑惑可以回复我~
  • 提问者 鲨鱼辣椒辣 #1
    supervisor是root启动的
    回复 有任何疑惑可以回复我~ 2021-04-27 10:30:13
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信