Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
Nagious is running find on my CentOS5, running Nagios 4.08, but
I get this error
"Starting httpd: [Wed Nov 18 14:42:35 2015] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results", when I start apache.
There are the two files that may messed, /etc/http/conf.d/nagios.conf and /etc/httpd/conf.d/ssl.conf. I read a lot about ssl.con and that seems to be OK. Is there any log file or way to figure out what is causing it. Here is the nagios.conf file (as it is short.
<VirtualHost *:80>
ServerName nagios.mydomain.com
ErrorLog /var/log/httpd/nagios/error_log
CustomLog /var/log/httpd/nagios/access_log common
</VirtualHost>
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Location "/usr/local/nagios/sbin">
Order deny,allow
Deny from all
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
AuthName "No entry, unless"
Require Valid-user
Allow from 192.168.1
Satisfy Any
</Location>
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Thanks in advance
Last edited by Michael Barto; 11-19-2015 at 02:48 PM.
Reason: File was incomplete. Revise Domain
I had found that solution on the web, before I posted my question on the web. It did not work.
It did not work isn't going to help us help you.
Errors are usually logged in /var/log/httpd/error_log
You should examine this file for tell-tale signals about the error that may not have been included in the starting of httpd.
I had found that solution on the web, before I posted my question on the web. It did not work. A point needs to be made that nagios is using https.
That's why the Linuxquestions guidelines (which, in my humble opinion, are well hidden unfortunately - I can't find them right now) include things like "tell us what you have done to resolve the problem". It's a great time saver for people who respond, and ultimately for you as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.