kihei/i-0ffaf8917b90c1ed2
by SadServersMore by SadServers
└─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 04:32:33 i-0d59b5144c518c525 systemd[1]: Started Flask Application. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Serving Flask app 'webserveDec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Debug mode: off Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: WARNING: This is a developmentn a production deployment. Use a production WSGI server instead. Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: * Running on http://127.0.0.1Dec 15 04:32:33 i-0d59b5144c518c525 python3[574]: Press CTRL+C to quit Dec 15 04:34:44 i-0d59b5144c518c525 python3[574]: 127.0.0.1 - - [15/Dec/2023 04:200 - admin@i-0d59b5144c518c525:~$ systemctl restart flaskapp Failed to restart flaskapp.service: Access denied See system logs and 'systemctl status flaskapp.service' for details. admin@i-0d59b5144c518c525:~$
paris/i-0d59b5144c518c525 03:24
by SadServersagent consumer.py producer.py rabbitmq-cluster-docker-master test admin@i-0e75dbb75ece0e13b:~$ cd test admin@i-0e75dbb75ece0e13b:~/test$ ls LICENSE README.md cluster-entrypoint.sh docker-compose.yml entrypoint.sh haadmin@i-0e75dbb75ece0e13b:~/test$ python3 ~/producer.py hello-lwc. Traceback (most recent call last): File "/home/admin/producer.py", line 18, in <module> connection = pika.BlockingConnection(parameters) File "/usr/local/lib/python3.9/dist-packages/pika/adapters/blocking_connection self._impl = self._create_connection(parameters, _impl_class) File "/usr/local/lib/python3.9/dist-packages/pika/adapters/blocking_connectionction raise self._reap_last_connection_workflow_error(error) pika.exceptions.AMQPConnectionError admin@i-0e75dbb75ece0e13b:~/test$ chmod 777 cluster-entrypoint.sh