Install NagiosXI Offline

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cnac
Posts: 4
Joined: Mon May 06, 2019 4:41 am

Install NagiosXI Offline

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Install NagiosXI Offline

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cnac
Posts: 4
Joined: Mon May 06, 2019 4:41 am

Re: Install NagiosXI Offline

Post 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
You do not have the required permissions to view the files attached to this post.
cnac
Posts: 4
Joined: Mon May 06, 2019 4:41 am

Re: Install NagiosXI Offline

Post by cnac »

I saw that some files are missing in /usr/local/nagios/etc : See Screen4
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Install NagiosXI Offline

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cnac
Posts: 4
Joined: Mon May 06, 2019 4:41 am

Re: Install NagiosXI Offline

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Install NagiosXI Offline

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked