Page 1 of 1

Can't configure Mntos in suse

Posted: Sat Dec 20, 2014 10:54 pm
by ameermane
HI All,

I am newbie.. I don't know whether this is right place or not. Please forgive me.

I have installed Nagios on SLES 11 SP3. I tried to install mntos on same machine.
But while installing i am getting two errors.

1. iptables -I RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
iptables: No chain/target/match by that name.

2. chown -R nagios:www-data
chown: invalid group: `nagios:www-data'


About 1st error I read on this forum and I commented it out.

Please help..

Thanks in advance... :roll: :roll: :roll:

Re: Can't configure Mntos in suse

Posted: Mon Dec 22, 2014 2:50 pm
by bdgoecke
On SUSE linux the group that apache uses is named www

So try

Code: Select all

chown -R nagio:www 
==>brian.

Re: Can't configure Mntos in suse

Posted: Wed Dec 24, 2014 2:45 am
by ameermane
Hi,

Thanks for your reply... it works ..
But now the problem is when I access http://Machine_ip/mntos it shows nothing.
here is the output of curl http://Machine_ip/mntos

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://Machine_ip/mntos/">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Linux/SUSE) Server at Machine_ip Port 80</address>
</body></html>

Re: Can't configure Mntos in suse

Posted: Fri Dec 26, 2014 11:04 am
by scottwilkerson
It looks lie they want you to put a trailing slash on the url

http://Machine_ip/mntos/
instead of
http://Machine_ip/mntos

That said, Nagios Enterprises doesn't produce MNTOS

Re: Can't configure Mntos in suse

Posted: Fri Dec 26, 2014 7:58 pm
by ameermane
Thanks a lot...
You all are too good. Now I am able to access mntos.
It is accessible through url http://Machine_ip/mntos/
Thanks once again.