Page 1 of 1

Nagios XI Installation Error on AWS Linux AMI

Posted: Fri May 04, 2018 2:42 am
by introvert
I am trying to install Nagios XI on an AWS Linux AMI EC2 instance. However, I am getting the error below:

=================================================================
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Configuring Repos...
./0-repos: line 108: syntax error near unexpected token `['
RESULT=2

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './0-repos'

=================================================================

I believe i have to comment out some lines within 0-repos but I cant seem to figure out which lines. I tried to comment out lines 30-39 but i am still getting the same error. Thanks!

Re: Nagios XI Installation Error on AWS Linux AMI

Posted: Fri May 04, 2018 9:17 am
by lmiltchev
What document/guide/tutorial did you follow while trying to install Nagios XI? Can you post the entire install.log?

Re: Nagios XI Installation Error on AWS Linux AMI

Posted: Fri May 04, 2018 12:04 pm
by mcapra
The system requirements indicate that Amazon Linux is not currently supported. You might try using a RHEL or CentOS AMI and see if you get better results.

Re: Nagios XI Installation Error on AWS Linux AMI

Posted: Fri May 04, 2018 2:49 pm
by kyang
introvert, Let us know if you have any more questions.

Otherwise, please provide or follow the information asked in the previous posts.