Not able to get Nagios Log Server UI......

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
muralikrishnaij
Posts: 2
Joined: Fri Oct 19, 2018 3:02 am

Not able to get Nagios Log Server UI......

Post by muralikrishnaij »

Hi Team,

I have installed Nagios Log Server, it installed successfully. But here challenge i am facing is not getting UI after installation.

I have changed nagioslogserver.conf as below

<Directory "/var/www/html/nagioslogserver/www/">
Options None
AllowOverride None
Allow from all
Order allow,deny
Require all granted
</Directory>

Alias /nagioslogserver "/var/www/html/nagioslogserver/www/"

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|scripts|media|app|js|css|img|font|vendor|config.js)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagioslogserver/(.*)$ /var/www/html/nagioslogserver/www/index.php?request=$1 [QSA,NC,L]
</IfModule>


After changing .conf file i am getting UI as below

<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
* @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 1.0.0
* @filesource
*/

/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT



some what like above information i am getting in browser. Can you guys please help me out in resolving this issue.

Please find attached screenshot for reference.

Thanks and Regards,
Muralikrishna.M
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Not able to get Nagios Log Server UI......

Post by cdienger »

What OS was this installed on? Were you problems with the UI before making changes? Why were the changes made? The install should install everything needed without needing to modify any config files and the config that was provided creates a loop on my lab machine.

Is php installed? Run "httpd -M" and check to see that you have a php5_module.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked