Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all (apologies if I shouldn't post this here, please tell me and Ill move the question elsewhere)
I'm a noob as they say at Linux but trying to learn. I'm trying to run a program called Nagios on Fedora. A slight niggle is that when I fist start the PC I cannot logon to the browser localhost to access the nagios control console. I always get a star in the top right corner of the screen saying (see below)
I have found if I run a terminal as root and type "service httpd restart" it starts ok and works fine. Is there a way (dummy's guide if possible) to do this automatically when I start the pc?
Thanks in advance
Dave
SummarySELinux is preventing /bin/ping (ping_t) "read write" to /usr/local/nagios/var/rw/nagios.cmd (usr_t).Detailed DescriptionSELinux denied access requested by /bin/ping. It is not expected that this access is required by /bin/ping and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.Allowing AccessSometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for /usr/local/nagios/var/rw/nagios.cmd, restorecon -v /usr/local/nagios/var/rw/nagios.cmd If this does not work, there is currently no automatic way to allow this access. Instead, you can generate a local policy module to allow this access - see FAQ Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended. Please file a bug report against this package.
If you could, put SELinux in permissive mode. It should work, but you loose the SELinux protection.
I have Nagios running on a F7 too, and SELinux in permissive mode was the only way to get it running. Not only the web interface itself, but you will found problems in running some check_commands, nrpe checks and receiving nsca asynchronous data.
Until someone create a SE policy or whatever to nagios, I think this is the only way...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.