Page 1 of 1

Browser Not Available after Install

Posted: Wed Jul 10, 2024 9:59 am
by AngeloMileto
Just installing XI 5.9.3 - yes I know it's older but that's the license we currently have and the customer wants installed.

Managed to get ./fullinstall done successfully - shows Complete with no errors.

Attempted to access the web interface http://10.1.200.50/nagiosxi but it times out.

Checked services on the VM and httpd as well as nagios services are disabled :(

I can manually start httpd but the web page still does not show up.

The nagios.service fails to start complaining about missing config files - /usr/local/nagios/etc/contacttemplates.cfg.

There are no template config files in the /usr/local/nagios/etc. Should they have been installed with the ./fullinstall?

According to the nagios.cfg, all of teh templates are "# OBJECTS EXPORTED FROM NAGIOSQL" - But there was no instruction for the install that involved installing NagioSQL.

What am I missing?

Re: Browser Not Available after Install

Posted: Wed Jul 10, 2024 11:56 am
by danderson
Thanks for reaching out @AngeloMileto,

Did you by any chance do a offline install? If so, can you check in the /tmp/ folder for a file called something like "xi-install.log"? The possible errors would appear there.

If this isn't an offline install, then yes, those template config files should have been added during install. It sounds like an error did occur where the install process was halted.

Re: Browser Not Available after Install

Posted: Wed Jul 10, 2024 1:35 pm
by AngeloMileto
Appreciate the reply!

Yes it's a full offline install.

I didn't see any log file so I restored from snapshot and did it again. I had run it out of /root/nagiosxi before but moved it to /tmp and remounted tmp with exec privs.

Errored out a couple of times but it shouldn't have so just kept restoring and running and eventually it failed missing snmp-devel rpm, but it was there. So just did a ./fullinstall again and all seemed find. Services all started and appeared to be okay.

I moved the sudoers out of .conf and into .d then restarted all but still couldn't get to the web page.

Apparently the install doesn't add the ports to the firewall????? Or maybe that's where the error was???? Anyway, manually added ports 80 and 443 to the firewall-cmd and made permanent then reloaded and the web page is now accessible.

I haven't gone through the rest of the steps yet but we're making progress.

Re: Browser Not Available after Install

Posted: Wed Jul 10, 2024 9:40 pm
by jmichaelson
Yes the installer is supposed to open the firewall ports. Perhaps the install is failing prior to the point where the ports are opened. Having the install log referred to earlier would be quite helpful, but in the absence of that, the console output would be helpful as well. if you have the script package installed it will capture the output in a file called typescript. If you can get us that information it would be a great help.