service error tmp note

2193 단어

root user: unix:///tmp/supervisor.sock refused connectio

(venv) [hugin@localhost hugin]$ supervisorctl status
error: , [Errno 13] Permission denied: file: /home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/xmlrpc.py line: 560
(venv) [hugin@localhost hugin]$ su root
Password: 
ABRT has detected 2 problem(s). For more info run: abrt-cli list --since 1574818407
(venv) [root@localhost hugin]# supervisorctl status
unix:///tmp/supervisor.sock refused connection

not root: Permission denied: '/tmp/supervisord.log'

(venv) [root@localhost hugin]# exit
exit
(venv) [hugin@localhost hugin]$ supervisord -c /home/hugin/hugin/supervisord.conf 
Traceback (most recent call last):
  File "/home/hugin/hugin/venv/bin/supervisord", line 8, in 
    sys.exit(main())
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/supervisord.py", line 358, in main
    go(options)
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/supervisord.py", line 368, in go
    d.main()
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/supervisord.py", line 70, in main
    self.options.make_logger()
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/options.py", line 1472, in make_logger
    backups=self.logfile_backups,
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/loggers.py", line 417, in handle_file
    handler = RotatingFileHandler(filename, 'a', maxbytes, backups)
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/loggers.py", line 212, in __init__
    FileHandler.__init__(self, filename, mode)
  File "/home/hugin/hugin/venv/lib/python3.6/site-packages/supervisor/loggers.py", line 159, in __init__
    self.stream = open(filename, mode)
PermissionError: [Errno 13] Permission denied: '/tmp/supervisord.log'
(venv) [hugin@localhost hugin]$ su root
Password: 
(venv) [root@localhost hugin]# supervisord -c /home/hugin/hugin/supervisord.conf 
Unlinking stale socket /tmp/supervisor.sock

좋은 웹페이지 즐겨찾기