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.
I need some help getting started on Nagios. When I try to type ./nagios ../etc/nagios.conf, I get the following error(s) (see below). This is a Redhat 8 box with Apache loaded. I did not encounter any problems when I compiled it. Thanks in advance
Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)!
Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)!
Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)!
Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)!
Bailing out due to errors encountered while running the pre-flight check. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=7375)
Im trying to install Nagios over Redhat 8.0. but when i try to see de Host status and other options, a message goes out saing to me that a security problem whith the CGI is happenning, that i dont have permit to enter to see the information.
I have a Linux Box with RedHat 7.2 and all works fine, no problems at all. But with 8.0 dosent works.
Anybody Knows about an RPM for 8.0???
With respect to the problem of shelby pls, see the cfg files: hosts, services and hostsgroups there is the problem and run from /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, if you have any problem there will be relfected.
still a newbie but i ran into the same problem. whats really cool about nagios is that when you verify the nagios.cfg file it tells you what line in what config file is messed up. very, very nice.
Hi all, I'm new to Linux myself and my first project is Nagios. I'm running Redhat 8 with Apache. I have verified all of my configuration files and even created authorization files for my users, but for some reason when I go to the webpage http://localhost/nagios/ I can't log in. It gives me the log in box and when I put user id and password in it just pops the box back up. I think that possibly Apache is not able to read my htpasswd.users file, but I've gone through the instructions back and forth and have started over 3 times with out any success. I guess I could just run it with out the web interface, but I'm a Windows guy and am not comfortable with that yet. Any ideas?
Sorry to throw this into your post shelby. but I would recommend just as others have, run the verify script it points out every little mistake you have. Thx for any replies.
Sounds like you have not setup your .htaccess files or your web server cant read them.
Take a look at my demo configs page at [url]http://demo.square-box.com[url] If you read the apache section it will tell you all you need to know about setting up authentication on your web server.
The " you are not authorised" messages are probably being generated by your cgi.cfg file
look for lines in your cgi.cfg
use_authentication=1 #use authentication
authorized_for_system_information=someuser #someuser is authorised
authorized_for_configuration_information=someuser #someuser is authorised
You can of course put in an * here and allow anyone to be authenticated and granted access, note this is bad.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.