Page 1 of 1

Install NagiosXI Offline

Posted: Mon May 06, 2019 7:36 am
by cnac
Hello,

I'm trying to install NagiosXI in an offline environnment.

I tried this procedure :
https://assets.nagios.com/downloads/nag ... onment.pdf

But it isn't working.
I used postinstall, after the executation of the script nagios service isn't starting.

Do you have an idea or a procedure to make it work please ?

Thanks

Re: Install NagiosXI Offline

Posted: Mon May 06, 2019 2:40 pm
by cdienger
The procedure in the doc should work. What was the exact procedure and commands that you ran through? Are you able to start it with:

Code: Select all

service nagios start
or

Code: Select all

systemctl nagios start
?

Are there any messages in /var/log/messages? Was it working prior to using postinstall?

Re: Install NagiosXI Offline

Posted: Tue May 07, 2019 2:09 am
by cnac
Hello,

Thanks for the response.
I used those commands : See Screen.PNG

I can't start the service nagios as you can see in Screen2.
Details of the error are in Screen3.

Thanks

Re: Install NagiosXI Offline

Posted: Tue May 07, 2019 2:11 am
by cnac
I saw that some files are missing in /usr/local/nagios/etc : See Screen4

Re: Install NagiosXI Offline

Posted: Tue May 07, 2019 11:17 am
by scottwilkerson
Something didn't install correctly, can you attach the /tmp/xi-install.log

Also what do you mean by this?
cnac wrote:I used postinstall, after the executation of the script nagios service isn't starting.

Re: Install NagiosXI Offline

Posted: Thu May 09, 2019 4:09 am
by cnac
Hi,

I found the solution.
The problem was that nagiosxi package couldn't install correctly when I tried to install offline packages.
Because Temp partition was in "noexec" mode. So it coulnd't install this package correctly.

I removed the option "noexec" of /etc/fstab file and reboot the computer.
Then I launched the postinstall script of the offline install.

Thanks for the help.

Re: Install NagiosXI Offline

Posted: Thu May 09, 2019 7:00 am
by scottwilkerson
cnac wrote:Hi,

I found the solution.
The problem was that nagiosxi package couldn't install correctly when I tried to install offline packages.
Because Temp partition was in "noexec" mode. So it coulnd't install this package correctly.

I removed the option "noexec" of /etc/fstab file and reboot the computer.
Then I launched the postinstall script of the offline install.

Thanks for the help.
Glad you were able to find a solution!

Locking thread