NagiosXI install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI install

Post by slansing »

Could you try changing your umask to 0027 and run the fullinstall again? How to change this can be found here:

http://www.cyberciti.biz/tips/understan ... usage.html
bddoshi
Posts: 11
Joined: Tue May 21, 2013 1:34 pm

Re: NagiosXI install

Post by bddoshi »

Hello,

Reading through previous posts, I have already tried changing the umask to 0027 and rerun the install. Unfortunately ran into the exact same error.

Thanks,

-Bimal
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI install

Post by abrist »

bddoshi wrote:We are not using any proxy, how can I add a proxy server?
Do you have a proxy server between your XI server and the web?
Did this RHEL install have SQL or any other large packages/services preinstalled?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bddoshi
Posts: 11
Joined: Tue May 21, 2013 1:34 pm

Re: NagiosXI install

Post by bddoshi »

Here is the error when I tried with umask 0027 today -

Running './E-importnagiosql'...
httpd: no process killed
Starting httpd: [ OK ]
Sleeping...
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
Found config files to import - continuing...
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2013-07-10 13:28:55-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/admin.php [following]
--2013-07-10 13:28:55-- http://localhost/nagiosql/admin.php
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/index.php [following]
--2013-07-10 13:28:55-- http://localhost/nagiosql/index.php
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: “nagiosql.login”

0K ..... 100% 405M=0s

2013-07-10 13:28:55 (405 MB/s) - “nagiosql.login” saved [5259/5259]

NAGIOSQL LOGIN FAILED!
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
bddoshi
Posts: 11
Joined: Tue May 21, 2013 1:34 pm

Re: NagiosXI install

Post by bddoshi »

There is no proxy used.

This is a fresh clean install of RH. I am checking our install scripts if something is done post-install.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI install

Post by slansing »

Was this a minimal install of RHEL? Was mysql installed on, or users created on it prior to installing Nagios XI?
bddoshi
Posts: 11
Joined: Tue May 21, 2013 1:34 pm

Re: NagiosXI install

Post by bddoshi »

mysql was not installed previously.

Users and groups were created just prior to the install.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI install

Post by abrist »

Would any of those users or groups happen to have been nagios, nagcmd, apache, etc?
The installer will setup these users so you may have issues if they were pre-configured.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bddoshi
Posts: 11
Joined: Tue May 21, 2013 1:34 pm

Re: NagiosXI install

Post by bddoshi »

Hi,

I deleted the users and let the install script create the users and the install went through.

Thanks for the help.

-Bimal
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI install

Post by slansing »

Great! Thought that might be the problem.
Locked