Hi Nagios Support,
During the installation of NagiosXI in our server we have encountered the error below about NAGIOSQL LOGIN FAILED. Please see some logs from our install.log.
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--2014-01-31 16:09:38-- http://localhost/nagiosql/index.php
Resolving localhost... ::1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: “nagiosql.login”
0K 3.15M=0s
2014-01-31 16:09:38 (3.15 MB/s) - Read error at byte 40 (Connection reset by peer).Retrying.
--2014-01-31 16:09:39-- (try: 2) http://localhost/nagiosql/index.php
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
The file is already fully retrieved; nothing to do.
NAGIOSQL LOGIN FAILED!
As we have read in some forums, here are the action items that we have taken to resolve this issue:
- Update wgetrc and yum.conf
- Remove files in this directory /usr/local/nagios/etc/import
- Clean install Nagios XI
However, issue still recur. Please help us to troubleshoot this problem.
NAGIOSQL LOGIN FAILED!
-
eloisalunar
- Posts: 9
- Joined: Fri Dec 13, 2013 4:29 am
NAGIOSQL LOGIN FAILED!
You do not have the required permissions to view the files attached to this post.
Re: NAGIOSQL LOGIN FAILED!
First, you need to start with a clean, minimal install, almost every package was already installed before you ran the fullinstall script.
Second, do not try to run an upgarde over a failed fullinstall, it will just complicate things.
Third, your copy of redhat needs to be registered.
Second, do not try to run an upgarde over a failed fullinstall, it will just complicate things.
Third, your copy of redhat needs to be registered.
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.
"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.
-
arthurroda
- Posts: 1
- Joined: Mon Feb 03, 2014 5:27 am
Re: NAGIOSQL LOGIN FAILED!
Hi abrist,
I am a colleague of eloisalunar and for the steps so far.
We already did a clean installation of NagiosXI. As well as a complete uninstall using the uninstall script "uninstall_xi.sh" found on /usr/local/nagiosxi/scripts after the full installation failed.
For the second part we never did an upgrade on nagiosxi since the initial installation failed.
We also verified that the server we are using is registered by checking /etc/sysconfig/rhn/systemid and that the machine is running on redhat enterprise server 6.5.
Is there another way to know why we encountered the error? A misconfiguration on some parameters perhaps?
I am a colleague of eloisalunar and for the steps so far.
We already did a clean installation of NagiosXI. As well as a complete uninstall using the uninstall script "uninstall_xi.sh" found on /usr/local/nagiosxi/scripts after the full installation failed.
For the second part we never did an upgrade on nagiosxi since the initial installation failed.
We also verified that the server we are using is registered by checking /etc/sysconfig/rhn/systemid and that the machine is running on redhat enterprise server 6.5.
Is there another way to know why we encountered the error? A misconfiguration on some parameters perhaps?
Re: NAGIOSQL LOGIN FAILED!
First of all, I mentioned the subscription because of the following warning from your log:arthurroda wrote: Is there another way to know why we encountered the error? A misconfiguration on some parameters perhaps?
Second, I mentioned that this was not a minimal system because every dependency was already installed. I presume now that it is due to the fact that you uninstalled xi with the uninstall script.This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Are you behind a proxy?
Is this server ipv6 only?
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.
"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.