Page 4 of 7

Re: Error After Installation Nagiosxi

Posted: Wed Nov 03, 2010 3:33 pm
by mguthrie
Ok, as mentioned earlier, Nagios XI requires php v5.1 or greater in order to run properly. Some of the install scripts for NagiosQL are written in php, which is why you're also getting that error when you run the "E" install script.

Re: Error After Installation Nagiosxi

Posted: Thu Nov 04, 2010 8:21 am
by lamin
I am getting the same error even with php 5.33

Re: Error After Installation Nagiosxi

Posted: Thu Nov 04, 2010 9:17 am
by mguthrie
Ok, I'll have to do some digging/testing and see if they've deprecated something for 5.3.3.

Re: Error After Installation Nagiosxi

Posted: Fri Nov 05, 2010 8:07 am
by lamin
Hello there,
I was looking at the command script and I find out that most of the commands are looking for redhat el5 and I am running redhat el4. My question is what is the recommended redhat el version for nagiosxi? According to the documentation it says redhat(32 bits) and there is no version specified.

Re: Error After Installation Nagiosxi

Posted: Fri Nov 05, 2010 9:53 am
by mguthrie
We've done testing on both versions 4 and 5. I don't personally work with the system testing or install scripts, so I couldn't tell you the details on that off hand, but I can ask on that.

I'm noticing a message about glibc 2.5 or later being required for one of our permissions scripts. That should have been updated with the 'prereqs' script that ran, but it's possible it ran into a problem.

It is looking like there was a change made after php v5.3+ regarding static methods. I couldn't tell you specifically what the change was because it gets beyond my level of understanding with programming, but you could try installing the stable 5.2x release of php and see if it makes a difference.

Re: Error After Installation Nagiosxi

Posted: Fri Nov 05, 2010 10:03 am
by admin
It could be that a newer version of the adodb library might solve this problem. Would you be willing to try and update the adodb version on your install to see if that fixes the problem?

ADodb 5.11 can be downloaded from http://sourceforge.net/projects/adodb/files/

The adodb files should be installed in the following directory:

Code: Select all

/usr/local/nagiosxi/html/db/adodb
Once the files have been upgraded, try hitting the web page where you received errors and see if they're gone. If that solves it, we'll include the newer adodb version in the next XI release.

Re: Error After Installation Nagiosxi

Posted: Fri Nov 05, 2010 10:33 am
by lamin
Thanks for your assistance and it seems like I am finding some bugs for you guys :-). Right now I am trying to install redhat el5 but I am going to try el4 agian and follow the instructions you have mentioned. I will let you know the outcome. Thanks

Re: Error After Installation Nagiosxi

Posted: Sat Nov 06, 2010 11:40 am
by mguthrie
Yeah, XI incorporates a lot of software elements into one package, so when something changes, sometimes we find out the hard way. We appreciate your patience.

Re: Error After Installation Nagiosxi

Posted: Mon Nov 08, 2010 9:59 am
by lamin
I am still not being successful on my nagiosxi installation.

Re: Error After Installation Nagiosxi

Posted: Mon Nov 08, 2010 12:23 pm
by mguthrie
Any word on getting remote access? I think right now that will be the best solution to get you up and running as quickly as possible.