-
Notifications
You must be signed in to change notification settings - Fork 27
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
Container running but with error logs #17
Comments
Hi @Dragane , I am afraid that I do not understand. Can you provide more details? Last year on #14 , a mate had permission issues on a Kubernetes deployment because he lacked escalation settings: ...
spec:
containers:
...
securityContext:
allowPrivilegeEscalation: true
...
... Best regards, |
Hi Christos, thank you for the fast reply.
The container log looked strange and looked exactly as i posted. That is
why i assumed that the nagios binary was being made for x86 or arm6
systems, and i have arm7. Honestly i might be completely wrong. I must say
that after spending some time solving the issue, i went for the different
nagios docker image (rdicaire/nagios-arm32) and that one seem to work just
fine.
Anyway thank you for your work.
Best Regards,
Dragan
…On Tue, Nov 3, 2020 at 9:38 PM Christos Manios ***@***.***> wrote:
Hi @Dragane <https://github.com/Dragane> ,
I am afraid that I do not understand. Can you provide more details? Last
year on #14 <#14> , a mate
had permission issues on a Kubernetes deployment because he lacked
escalation settings:
...spec:
containers:
...
securityContext:
allowPrivilegeEscalation: true
...
...
Best regards,
Christos
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALJSDAY3BJSKJ4QVSO4AE4DSOBS4NANCNFSM4TH6T35A>
.
|
Hi @Dragane , My image has flavours for both $ docker run --rm -it mplatform/mquery manios/nagios
Image: manios/nagios
* Manifest List: Yes
* Supported platforms:
- linux/amd64
- linux/arm/v7
- linux/arm/v6 However sometimes, because Thus I had to define explicitly : docker pull --platform=linux/arm/v6 manios/nagios
# or
docker pull --platform=linux/arm/v7 manios/nagios and it worked. I hope this helps. Best regards, |
I get the following error when trying to obtain the arm7 version of this container. Its like the arm7 version is not available. I have checked the .Server.Experimental feature it set to true.
|
Hi @dowoco ! Please have a look again on what you are trying to do. From what you are writting, you try to run the image In order to run Nagios you just need to get the example commands from README > Running section. Please check again and let me know if you have issues. Best regards, |
Its all working now. I was missing some libraries on my raspberry pi host that were required for the apt command to resolve the repositories. sudo dpkg -i libseccomp2_2.4.3-1+b1_armhf.deb. I think this was mainly for debian based distros. But after installing this and correcting a simple user error, it all fired up. I was connecting to the wrong port 80, instead of 8080. This bit was simple user error. After I slept on it, retried this morning and all working now. Just testing for the moment. Thanks for our quick response. |
Hi, i put this nagios installation to kubernetes cluster of RPis. The container starts successfully and i can get to the web gui. Landing page works, but clicking anything else leads to Internal Server Error. I have a feeling based on error that the image pulled is incorrect architecture.
Apache error log:
[Mon Nov 02 21:07:54.502666 2020] [cgi:error] [pid 28] [client 10.42.1.1:29865] AH01215: (8)Exec format error: exec of '/opt/nagios/sbin/status.cgi' failed: /opt/nagios/sbin/status.cgi, referer: http://192.168.1.80:9999/side.php [Mon Nov 02 21:07:54.504362 2020] [cgi:error] [pid 28] [client 10.42.1.1:29865] End of script output before headers: status.cgi, referer: http://192.168.1.80:9999/side.php
And the container log has this block repeating:
checking permissions for nagios /opt/nagios/bin/nagios: line 1:ELF: not found /opt/nagios/bin/nagios: line 2: @8: not found /opt/nagios/bin/nagios: line 3: @@@@0pppP%P%000▒▒▒▒▒: not found /opt/nagios/bin/nagios: line 4: ▒▒: not found /opt/nagios/bin/nagios: line 5: ▒▒: not found /opt/nagios/bin/nagios: line 6: ▒.▒▒: not found /opt/nagios/bin/nagios: line 7: ▒▒: not found /opt/nagios/bin/nagios: line 8: ▒▒: not found /opt/nagios/bin/nagios: line 9: ▒P▒td▒▒: not found /opt/nagios/bin/nagios: line 10: ▒▒: not found /opt/nagios/bin/nagios: line 11: ▒▒: not found /opt/nagios/bin/nagios: line 12: ▒: not found /opt/nagios/bin/nagios: line 13: ˈF: not found /opt/nagios/bin/nagios: line 14: syntax error: unexpected "("
The text was updated successfully, but these errors were encountered: