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

permiussion denied #159

Open
McFcologne opened this issue Jan 28, 2024 · 0 comments
Open

permiussion denied #159

McFcologne opened this issue Jan 28, 2024 · 0 comments

Comments

@McFcologne
Copy link

I have mapped all necessary folders and they also allow docker to write. The folder /rw was created from nagios, but it complains about permission issues.
the nmapped folder is /opt/nagios/var and i can see, nagios is creating files and foders, but then:
qh: Failed to init socket '/opt/nagios/var/rw/nagios.qh'. bind() failed: Permission denied

or isnt it a file access issue?

2024/01/28 11:47:16 | stdout | ok: down: postfix: 1s, normally up
2024/01/28 11:47:15 | stdout | ok: down: rsyslog: 1s, normally up
2024/01/28 11:47:15 | stdout | ok: down: nsca: 1s, normally up
2024/01/28 11:47:15 | stdout | ok: down: apache: 0s, normally up
2024/01/28 11:47:14 | stdout | postfix/master[14]: fatal: master_sigdeath: kill process group: No such process
2024/01/28 11:47:14 | stdout | ok: down: nagios: 0s, normally up, want up
2024/01/28 11:47:14 | stdout | nsca[18]: Daemon shutdown
2024/01/28 11:47:14 | stdout | nsca[18]: Cannot remove pidfile '/var/run/nsca.pid' - check your privileges.
2024/01/28 11:47:14 | stdout | nsca[18]: Caught SIGTERM - shutting down...
2024/01/28 11:47:14 | stdout | nagios: Error: Failed to initialize query handler. Aborting
2024/01/28 11:47:14 | stdout | Error: Failed to initialize query handler. Aborting
2024/01/28 11:47:14 | stdout | nagios: qh: Failed to init socket '/opt/nagios/var/rw/nagios.qh'. bind() failed: Permission denied
2024/01/28 11:47:14 | stdout | qh: Failed to init socket '/opt/nagios/var/rw/nagios.qh'. bind() failed: Permission denied
2024/01/28 11:47:14 | stdout | nagios: LOG VERSION: 2.0
2024/01/28 11:47:14 | stdout | Local time is Sun Jan 28 10:47:14 UTC 2024
2024/01/28 11:47:14 | stdout | nagios: Local time is Sun Jan 28 10:47:14 UTC 2024
2024/01/28 11:47:14 | stdout | Nagios 4.5.0 starting... (PID=212)
2024/01/28 11:47:14 | stdout | nagios: Nagios 4.5.0 starting... (PID=212)
2024/01/28 11:47:14 | stdout | Website: https://www.nagios.org
2024/01/28 11:47:14 | stdout |  
2024/01/28 11:47:14 | stdout | License: GPL
2024/01/28 11:47:14 | stdout | Last Modified: 2023-11-14
2024/01/28 11:47:14 | stdout | Copyright (c) 1999-2009 Ethan Galstad
2024/01/28 11:47:14 | stdout | Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
2024/01/28 11:47:14 | stdout | Nagios Core 4.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant