From Insensitive Partdridge, 7 Months ago, written in Plain Text.
This paste is a reply to Untitled from Sweltering Kitten - go back
Viewing differences between Untitled and Re: Untitled
? sudo journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit
demo.service - Demo service
Loaded: loaded (/etc/systemd/system/demo.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2019-01-11 18:59:32 +02; 2s ago
Process: 25754 ExecStop=/var/www/DemoApp/kill_py.sh (code=exited, status=1/FAILURE)
Process: 25752 ExecStart=/var/www/DemoApp/DemoApp/__init__.py (code=exited, status=203/EXEC)
Main PID: 25752 (code=exited, status=203/EXEC)

has finished starting up.
--
-- The start-up result is done.
Jan 11 18:59:32 22:01:47 demo sudo[29562]: pam_unix(sudo:session): session closed for user root
Jan 11 22:01:47 demo __init__.py[29567]: Traceback (most recent call last):
Jan 11 22:01:47 demo __init__.py[29567]: File "/var/www/DemoApp/DemoApp/__init__.py", line 3, in <module>
Jan 11 22:01:47 demo __init__.py[29567]: from flask_socketio import SocketIO, emit
Jan 11 22:01:47 demo __init__.py[29567]: ImportError: No module named flask_socketio
Jan 11 22:01:47
demo systemd[1]: demo.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 22:01:47 demo systemd[1]: demo.
service: Unit entered failed state.
Jan 11 18:59:32 22:01:47 demo systemd[1]: demo.service: Failed with result 'exit-code'.'exit-code'.
Jan 11 22:01:47 demo sshd[29565]: Failed password for root from 61.184.247.4 port 57945 ssh2
Jan 11 22:01:48 demo sshd[29565]: Received disconnect from 61.184.247.4 port 57945:11: [preauth]
Jan 11 22:01:48 demo sshd[29565]: Disconnected from 61.184.247.4 port 57945 [preauth]
Jan 11 22:01:48 demo sshd[29565]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.184.247.4
Jan 11 22:01:58 demo sshd[29570]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.
Jan 11 22:01:59 demo sshd[29570]: Failed password for root from 61.184.247.4 port 39429 ssh2
Jan 11 22:02:02 demo sshd[29570]: Failed password for root from 61.184.247.4 port 39429 ssh2
Jan 11 22:02:04 demo sudo[29572]: inwave : TTY=pts/0 ; PWD=/home/inwave ; USER=root ; COMMAND=/bin/journalctl -xe
Jan 11 22:02:04 demo sudo[29572]: pam_unix(sudo:session): session opened for user root by dev(uid=0)
captcha