paris/i-056d7eb6f3afcb862
by SadServersMore by SadServers
return super().server_bind() File "/usr/lib/python3.9/http/server.py", line 138, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.9/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use admin@i-05c1936b123b31b0a:~$ python3 -m http.server 8086 Serving HTTP on 0.0.0.0 port 8086 (http://0.0.0.0:8086/) ... ^C Keyboard interrupt received, exiting. admin@i-05c1936b123b31b0a:~$ ^C admin@i-05c1936b123b31b0a:~$ python3 -m http.server 8086 & [1] 733 admin@i-05c1936b123b31b0a:~$ Serving HTTP on 0.0.0.0 port 8086 (http://0.0.0.0:8
paris/i-05c1936b123b31b0a 00:59
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
chennai/i-0e75dbb75ece0e13b 27:30
by SadServersopenat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY|O_CLOEXEC) = -1 EACCES (Pestat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 readlink("/home/admin/webserver.py", 0x7ffcd0b15d90, 4096) = -1 EINVAL (Invalid lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 openat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY) = -1 EACCES (Permission dwrite(2, "python3: can't open file '/home/"..., 82python3: can't open file '/homrrno 13] Permission denied ) = 82 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_r{sa_handler=0x6402c0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1915bdf1exit_group(2) = ? +++ exited with 2 +++ admin@i-0c85c5a418bb83a0e:/etc/systemd/system$ strace python3 /home/admin/webser