command-line-murders/i-05976b7e43f5e9293
by SadServersMore by SadServers
agent 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
chennai/i-0e75dbb75ece0e13b 27:30
by SadServers/usr/local/bin/docker-entrypoint.sh rabbitmq-server & sleep 5 rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbit\@$HOSTNAME.pid else /usr/local/bin/docker-entrypoint.sh rabbitmq-server -detached sleep 5 rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbit\@$HOSTNAME.pid rabbitmqctl stop_app rabbitmqctl join_cluster rabbit@$JOIN_CLUSTER_HOST rabbitmqctl start_app fi # Keep foreground process active ... tail -f /var/log/rabbitmq/*.
chennai/i-0ab613ff848198104 14:15
by SadServers==================>] 12 --.-KB/s in 0s 2023-10-30 13:01:48 (156 KB/s) - ‘index.html’ saved [12/12] admin@i-0e456693a82527eea:~/agent$ admin@i-0e456693a82527eea:~/agent$ rm index.html admin@i-0e456693a82527eea:~/agent$ wget -q localhost:5000 | awk '{print NF}' admin@i-0e456693a82527eea:~/agent$ wget -q http://localhost:5000 | awk '{print Nadmin@i-0e456693a82527eea:~/agent$ !rm rm index.html admin@i-0e456693a82527eea:~/agent$ wget -O - -q http://localhost:5000 | awk '{pr1 admin@i-0e456693a82527eea:~/agent$ wget -O - -q http://localhost:5000 | awk '{prUnauthorized admin@i-0e456693a82527eea:~/agent$