New offline intsallation of Nagios HELP
-
techcrunch
- Posts: 14
- Joined: Thu Dec 15, 2016 11:10 am
Re: New offline intsallation of Nagios HELP
That is not my question, sorry. Please review the error on the picture from the log file requested.
Re: New offline intsallation of Nagios HELP
Assuming your new installation is without a GUI, please post the full install.log for us to view.rkennedy wrote:Please attempt to install on a clean, minimal machine, without a desktop GUI using RHEL6/7 or CentOS6/7./home/e344951/Desktop/nagiosxi/
Former Nagios Employee
-
techcrunch
- Posts: 14
- Joined: Thu Dec 15, 2016 11:10 am
Nagios Installation Error
Moderator Edit: This reply has been merged into this topic from another. In the future, please keep all replies in this thread.
I've attached my install log as requested. Thanks
I've attached my install log as requested. Thanks
You do not have the required permissions to view the files attached to this post.
-
techcrunch
- Posts: 14
- Joined: Thu Dec 15, 2016 11:10 am
Re: New offline intsallation of Nagios HELP
here is the new error I am experiencing. full install.log
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: New offline intsallation of Nagios HELP
Please run yum install -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units and then reattempt the install.
If you run into issues with the yum install, please post the output in a code block using code tags.
If you run into issues with the yum install, please post the output in a code block using code tags.
-
techcrunch
- Posts: 14
- Joined: Thu Dec 15, 2016 11:10 am
Re: New offline intsallation of Nagios HELP
This is an offline installation. Do you have those rpm's? or what other steps should I take?
Re: New offline intsallation of Nagios HELP
You still need access to repositories for the install as this is something we can't just bundle in. One additional part on top of what @dwhitfield mentioned is here -
What is the output of yum install -y 'libmcrypt libmcrypt-devel'
Code: Select all
checking for libmcrypt-config... no
checking for libmcrypt - version >= 2.4.11... no
*** Could not run libmcrypt test program, checking why...
Former Nagios Employee
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: New offline intsallation of Nagios HELP
On top of what @rkennendy said, as for the DVD repos, https://access.redhat.com/solutions/1355683 should be of help.
For a repo that will get updated, https://wiki.centos.org/HowTos/CreateLocalMirror should help (although that document is for CentOS 5)
For a repo that will get updated, https://wiki.centos.org/HowTos/CreateLocalMirror should help (although that document is for CentOS 5)
-
techcrunch
- Posts: 14
- Joined: Thu Dec 15, 2016 11:10 am
Re: New offline intsallation of Nagios HELP
I finally got it to install. Now I am getting the following error. Please assist.
FORBIDDEN
you don't have permission to access /nagiosxi/install.php on this server.
FORBIDDEN
you don't have permission to access /nagiosxi/install.php on this server.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: New offline intsallation of Nagios HELP
What does your /etc/httpd/conf.d/nagiosxi.conf look like?
Below is mine for comparison
Also, what happens if you get rid of the install.php and just go to /nagiosxi/ ? You shouldn't need install.php for a while. I'm not suggesting we shouldn't fix it, just trying to get you up and running.
Below is mine for comparison
Code: Select all
cat /etc/httpd/conf.d/nagiosxi.conf
<Directory "/usr/local/nagiosxi/html">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# AuthName "Nagios XI"
# AuthType Basic
# AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
# Require valid-user
</Directory>
Alias /nagiosxi "/usr/local/nagiosxi/html"
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>