bakerboy448

Untitled

Dec 27th, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1.  
  2. Dec 28 03:27:19 server systemd[1]: Started swizzin panel service.
  3. Dec 28 03:30:54 server python[1755922]: [2020-12-28 03:30:53,976] ERROR in app: Exception on /apps/status [GET]
  4. Dec 28 03:30:54 server python[1755922]: Traceback (most recent call last):
  5. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
  6. Dec 28 03:30:54 server python[1755922]: response = self.full_dispatch_request()
  7. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
  8. Dec 28 03:30:54 server python[1755922]: rv = self.handle_user_exception(e)
  9. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
  10. Dec 28 03:30:54 server python[1755922]: reraise(exc_type, exc_value, tb)
  11. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
  12. Dec 28 03:30:54 server python[1755922]: raise value
  13. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
  14. Dec 28 03:30:54 server python[1755922]: rv = self.dispatch_request()
  15. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
  16. Dec 28 03:30:54 server python[1755922]: return self.view_functions[rule.endpoint](**req.view_args)
  17. Dec 28 03:30:54 server python[1755922]: File "/opt/swizzin/core/htpasswd.py", line 208, in decorated
  18. Dec 28 03:30:54 server python[1755922]: return func(*args, **kwargs)
  19. Dec 28 03:30:54 server python[1755922]: File "swizzin.py", line 228, in app_status
  20. Dec 28 03:30:54 server python[1755922]: apps = apps_status(user)
  21. Dec 28 03:30:54 server python[1755922]: File "/opt/swizzin/core/util.py", line 163, in apps_status
  22. Dec 28 03:30:54 server python[1755922]: status = is_process_running(systemd, user, systemd=True)
  23. Dec 28 03:30:54 server python[1755922]: File "/opt/swizzin/core/util.py", line 176, in is_process_running
  24. Dec 28 03:30:54 server python[1755922]: returncode = sp.run(('systemctl', 'is-active', service), stdout=sp.DEVNULL).returncode
  25. Dec 28 03:30:54 server python[1755922]: File "/usr/lib/python3.6/subprocess.py", line 423, in run
  26. Dec 28 03:30:54 server python[1755922]: with Popen(*popenargs, **kwargs) as process:
  27. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/eventlet/green/subprocess.py", line 58, in __init__
  28. Dec 28 03:30:54 server python[1755922]: subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
  29. Dec 28 03:30:54 server python[1755922]: File "/usr/lib/python3.6/subprocess.py", line 687, in __init__
  30. Dec 28 03:30:54 server python[1755922]: errread, errwrite) = self._get_handles(stdin, stdout, stderr)
  31. Dec 28 03:30:54 server python[1755922]: File "/usr/lib/python3.6/subprocess.py", line 1199, in _get_handles
  32. Dec 28 03:30:54 server python[1755922]: c2pwrite = self._get_devnull()
  33. Dec 28 03:30:54 server python[1755922]: File "/usr/lib/python3.6/subprocess.py", line 795, in _get_devnull
  34. Dec 28 03:30:54 server python[1755922]: self._devnull = os.open(os.devnull, os.O_RDWR)
  35. Dec 28 03:30:54 server python[1755922]: File "/opt/.venv/swizzin/lib/python3.6/site-packages/eventlet/green/os.py", line 118, in open
  36. Dec 28 03:30:54 server python[1755922]: fd = __original_open__(file, flags, mode)
  37. Dec 28 03:30:54 server python[1755922]: PermissionError: [Errno 13] Permission denied: '/dev/null'
  38.  
Advertisement
Add Comment
Please, Sign In to add comment