Page 2 of 2
Re: NagiosXI install
Posted: Tue Jul 09, 2013 4:55 pm
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
Re: NagiosXI install
Posted: Wed Jul 10, 2013 12:11 pm
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
Re: NagiosXI install
Posted: Wed Jul 10, 2013 12:16 pm
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?
Re: NagiosXI install
Posted: Wed Jul 10, 2013 12:29 pm
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).
Re: NagiosXI install
Posted: Wed Jul 10, 2013 12:33 pm
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.
Re: NagiosXI install
Posted: Wed Jul 10, 2013 1:08 pm
by slansing
Was this a minimal install of RHEL? Was mysql installed on, or users created on it prior to installing Nagios XI?
Re: NagiosXI install
Posted: Wed Jul 10, 2013 1:57 pm
by bddoshi
mysql was not installed previously.
Users and groups were created just prior to the install.
Re: NagiosXI install
Posted: Wed Jul 10, 2013 2:04 pm
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.
Re: NagiosXI install
Posted: Thu Jul 11, 2013 4:32 pm
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
Re: NagiosXI install
Posted: Fri Jul 12, 2013 9:05 am
by slansing
Great! Thought that might be the problem.