Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[alert] 1#1: unlink() "/var/run/nginx.pid" failed (13: Permission denied #523

Open
denizciftci-sec opened this issue Jul 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@denizciftci-sec
Copy link

denizciftci-sec commented Jul 8, 2024

Hi Team,

I was successfully build the newest version and having this error when start the docker-compose file.
In order to fox the issues, I have applied chmod 755 -R for all the folders and sub folders/files - did not fix it at all.

Could you please assist me what should I do to fix this issue?

root@IRIS:/opt/iris-web# docker logs 981c7f969332
2024/07/08 08:02:27 [alert] 1#1: unlink() "/var/run/nginx.pid" failed (13: Permission denied)

file/folder permission from the docker container image ( I run all the processes (docker etc) with root user )
root@IRIS:/opt/iris-web/docker# docker exec -it 981c7f969332 /bin/sh
$ ls -lrt
total 8
-rw-rw-r-- 1 root utmp 0 Oct 11 2021 utmp
drwxrwxrwt 2 root root 4096 Oct 11 2021 lock
-rw-r--r-- 1 www-data www-data 2 Jul 8 08:02 nginx.pix

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAM
ES
b42e11708795 iriswebapp_app:v2.4.7 "./wait-for-irisweba…" 25 seconds ago Up 22 seconds iri
swebapp_worker
981c7f969332 iriswebapp_nginx:v2.4.7 "/entrypoint.sh" 25 seconds ago Up 22 seconds (unhealthy) 80/tcp, 0.0.0.0:443->443/tcp iri
swebapp_nginx
085bbc33e012 iriswebapp_app:v2.4.7 "nohup ./iris-entryp…" 28 seconds ago Up 24 seconds 127.0.0.1:8000->8000/tcp iri
swebapp_app
1dc42473f915 rabbitmq:3-management-alpine "docker-entrypoint.s…" 30 seconds ago Up 27 seconds 4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 15691-15692/tcp, 25672/tcp iri
swebapp_rabbitmq
4adf2c4e94ce iriswebapp_db:v2.4.7 "docker-entrypoint.s…" 30 seconds ago Up 20 seconds 127.0.0.1:5432->5432/tcp iri
swebapp_db

@denizciftci-sec denizciftci-sec added the bug Something isn't working label Jul 8, 2024
@whikernel
Copy link
Contributor

Hello, is this issue still valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants