Hi Team,
Hope you are doing well. Am trying to install this yang suite on my Windows machine. But it is failed. When I check the docker, 1/3 is running and when I check the docker-yangsuite-1, it says the following error msg, "exec /yangsuite/migrate_and_start.sh: no such file or directory". But when I check the folder, the above shell script is there on the folder. Not sure why it is not running. I tried with reinstallation many times, but no luck. Either I received the error stating that the port is not available or the below error. Could you please help me here? Thanks in advance. PFB logs
52 DONE 0.1s
Network docker_default Creating
Network docker_default Created
Volume "docker_static-content" Creating
Volume "docker_static-content" Created
Volume "docker_uwsgi" Creating
Volume "docker_uwsgi" Created
Container docker-yangsuite-1 Creating
Container docker-yangsuite-1 Created
Container docker-backup-1 Creating
Container docker-nginx-1 Creating
Container docker-backup-1 Created
Container docker-nginx-1 Created
Attaching to backup-1, nginx-1, yangsuite-1
yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory
yangsuite-1 exited with code 1
backup-1 | exec /code/run_cron.sh: no such file or directory
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:80 -> 0.0.0.0:0: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
"$ cd yangsuite/docker/ ; docker compose up
time="2024-04-30T08:42:06+05:30" level=warning msg="C:\Users\bmm680\yangsuite\docker\docker-compose.yml: version is obsolete"
Container docker-yangsuite-1 Created
Container docker-nginx-1 Created
Container docker-backup-1 Created
Attaching to backup-1, nginx-1, yangsuite-1
yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory
yangsuite-1 exited with code 1
backup-1 | exec /code/run_cron.sh: no such file or directory
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
backup-1 exited with code 1"
And PFB logs from the Docker:
######################
yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory
yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory
backup-1 | exec /code/run_cron.sh: no such file or directory
backup-1 | exec /code/run_cron.sh: no such file or directory
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
nginx-1 | 172.18.0.1 - - [27/Apr/2024:11:07:03 +0000] "GET /tutorial/ HTTP/1.1" 302 138 "http://localhost:81/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0"
nginx-1 | 2024/04/27 11:07:09 [crit] 20#20: 6 connect() to unix:/var/run/uwsgi/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 172.18.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi/uwsgi.sock:", host: "localhost:8443", referrer: "http://localhost:81/"
nginx-1 | 172.18.0.1 - - [27/Apr/2024:11:07:09 +0000] "GET / HTTP/1.1" 502 552 "http://localhost:81/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0"
nginx-1 | 2024/04/27 11:07:09 [crit] 20#20: 6 connect() to unix:/var/run/uwsgi/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 172.18.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi/uwsgi.sock:", host: "localhost:8443", referrer: "https://localhost:8443/"
nginx-1 | 172.18.0.1 - - [27/Apr/2024:11:07:09 +0000] "GET /favicon.ico HTTP/1.1" 502 552 "https://localhost:8443/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0"
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
Hi Team, Hope you are doing well. Am trying to install this yang suite on my Windows machine. But it is failed. When I check the docker, 1/3 is running and when I check the docker-yangsuite-1, it says the following error msg, "exec /yangsuite/migrate_and_start.sh: no such file or directory". But when I check the folder, the above shell script is there on the folder. Not sure why it is not running. I tried with reinstallation many times, but no luck. Either I received the error stating that the port is not available or the below error. Could you please help me here? Thanks in advance. PFB logs
52 DONE 0.1s
Network docker_default Creating Network docker_default Created Volume "docker_static-content" Creating Volume "docker_static-content" Created Volume "docker_uwsgi" Creating Volume "docker_uwsgi" Created Container docker-yangsuite-1 Creating Container docker-yangsuite-1 Created Container docker-backup-1 Creating Container docker-nginx-1 Creating Container docker-backup-1 Created Container docker-nginx-1 Created Attaching to backup-1, nginx-1, yangsuite-1 yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory yangsuite-1 exited with code 1 backup-1 | exec /code/run_cron.sh: no such file or directory Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:80 -> 0.0.0.0:0: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
========================================================================
"$ cd yangsuite/docker/ ; docker compose up time="2024-04-30T08:42:06+05:30" level=warning msg="C:\Users\bmm680\yangsuite\docker\docker-compose.yml:
version
is obsolete" Container docker-yangsuite-1 Created Container docker-nginx-1 Created Container docker-backup-1 Created Attaching to backup-1, nginx-1, yangsuite-1 yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory yangsuite-1 exited with code 1 backup-1 | exec /code/run_cron.sh: no such file or directory nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up backup-1 exited with code 1"And PFB logs from the Docker: ###################### yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory yangsuite-1 | exec /yangsuite/migrate_and_start.sh: no such file or directory backup-1 | exec /code/run_cron.sh: no such file or directory backup-1 | exec /code/run_cron.sh: no such file or directory nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up nginx-1 | 172.18.0.1 - - [27/Apr/2024:11:07:03 +0000] "GET /tutorial/ HTTP/1.1" 302 138 "http://localhost:81/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0" nginx-1 | 2024/04/27 11:07:09 [crit] 20#20: 6 connect() to unix:/var/run/uwsgi/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 172.18.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi/uwsgi.sock:", host: "localhost:8443", referrer: "http://localhost:81/" nginx-1 | 172.18.0.1 - - [27/Apr/2024:11:07:09 +0000] "GET / HTTP/1.1" 502 552 "http://localhost:81/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0" nginx-1 | 2024/04/27 11:07:09 [crit] 20#20: 6 connect() to unix:/var/run/uwsgi/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 172.18.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi/uwsgi.sock:", host: "localhost:8443", referrer: "https://localhost:8443/" nginx-1 | 172.18.0.1 - - [27/Apr/2024:11:07:09 +0000] "GET /favicon.ico HTTP/1.1" 502 552 "https://localhost:8443/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0" nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh nginx-1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up