INSTALLATION ERROR
-
1faizankhan
- Posts: 22
- Joined: Tue Jun 23, 2015 1:57 pm
Re: INSTALLATION ERROR
Password contain !@# special character does it make any difference?
http_proxy=http://fn661091:******@mwgprod.gac.gulf ... 168.0.0/16 # Hosts to exclude
@ is a 5th last character in the password.
http_proxy=http://fn661091:******@mwgprod.gac.gulf ... 168.0.0/16 # Hosts to exclude
@ is a 5th last character in the password.
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: INSTALLATION ERROR
It shouldn't - if it does that's the business of your proxy administrator, not the Linux box.
Did you do as lmiltchev said and split the proxy definition line?
Did you do as lmiltchev said and split the proxy definition line?
lmiltchev wrote:This line in the "/etc/wgetrc" :should be split into two lines.http_proxy=http://fn661091:******@mwgprod.gac.gulf ... 168.0.0/16 # Hosts to exclude
Change it to:and try running the installer again.Code: Select all
http_proxy=http://fn661091:******@mwgprod.gac.gulfaero.com:9090/ no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude
-
1faizankhan
- Posts: 22
- Joined: Tue Jun 23, 2015 1:57 pm
Re: INSTALLATION ERROR
Yes I did getting same error.
http_proxy=http://fn661091:********@mwgprod.gac.gulfaero.com:9090/
no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying
[root@RHELPOC63 nagiosxi]#
cat /etc/wgetrc/bin/cat check_mysql_health.pl | /bin/grep -v "^use Nagios" | /bin/grep -v "^my %ERROR" | /bin/gawk -f ./subst >> check_mysql_health
chmod +x check_mysql_health
make[1]: Leaving directory `/nas/home/fn661091/software/nagios/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
Making all in t
make[1]: Entering directory `/nas/home/fn661091/software/nagios/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/nas/home/fn661091/software/nagios/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Entering directory `/nas/home/fn661091/software/nagios/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/nas/home/fn661091/software/nagios/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
Extra Plugins installed OK
Subcomponent 'extraplugins' installed OK
Copying apache configuration file...
Creating web directory...
Copying files...
Cleaning up...
Restarting apache...
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Nagios Mobile Install Complete!
Nagios Mobile installed OK
Subcomponent 'nagiosmobile' installed OK
Installing Webinject...
Webinject installed OK
Subcomponent 'webinject' installed OK
Installing Ajaxterm...
`/usr/share/ajaxterm/ajaxterm.pyo' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.pyo'
`/usr/share/ajaxterm/ajaxterm.py' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.py'
`/usr/share/ajaxterm/qweb.pyo' -> `/usr/local/nagios/share/ajaxterm/qweb.pyo'
`/usr/share/ajaxterm/ajaxterm.pyc' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.pyc'
`/usr/share/ajaxterm/ajaxterm.css' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.css'
`/usr/share/ajaxterm/ajaxterm.html' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.html'
`/usr/share/ajaxterm/qweb.pyc' -> `/usr/local/nagios/share/ajaxterm/qweb.pyc'
`/usr/share/ajaxterm/qweb.py' -> `/usr/local/nagios/share/ajaxterm/qweb.py'
`/usr/share/ajaxterm/ajaxterm.js' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.js'
`/usr/share/ajaxterm/sarissa_dhtml.js' -> `/usr/local/nagios/share/ajaxterm/sarissa_dhtml.js'
`/usr/share/ajaxterm/sarissa.js' -> `/usr/local/nagios/share/ajaxterm/sarissa.js'
CHECK1: 2
CHECK2: 0
It appears as though Ajaxterm is already configured, so we'll skip that step.
Subcomponent 'ajaxterm' installed OK
Installing wkhtmltopdf and wkhtmltoimage...
Error parsing proxy URL http://fn661091:********@mwgprod.gac.gulfaero.com:9090/: Invalid host name.
ERROR: Subcomponent 'wkhtmlx' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'
[root@RHELPOC63 nagiosxi]#
http_proxy=http://fn661091:********@mwgprod.gac.gulfaero.com:9090/
no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying
[root@RHELPOC63 nagiosxi]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Re: INSTALLATION ERROR
Try escaping the special characters in the password with a backslash as described here:Password contain !@# special character does it make any difference?
http://support.nagios.com/wiki/index.ph ... th_Proxies
If this doesn't help, run the following commands and show the output:
Code: Select all
cat /etc/hosts
hostname -i
hostname -f
nslookup mwgprod.gac.gulfaero.comBe sure to check out our Knowledgebase for helpful articles and solutions!
-
1faizankhan
- Posts: 22
- Joined: Tue Jun 23, 2015 1:57 pm
Re: INSTALLATION ERROR
[root@RHELPOC63 ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost.localdomain localhost4 localhost4.localdomain4 localhost
::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost
10.75.163.45 redhat.gac.gulfaero.com redhat
[root@RHELPOC63 ~]# hostname -i
134.216.160.51
[root@RHELPOC63 ~]# hostname -f
RHELPOC63.gac.gulfaero.com
[root@RHELPOC63 ~]# nslookup mwgprod.gac.gulfaero.com
Server: 134.216.177.242
Address: 134.216.177.242#53
Name: mwgprod.gac.gulfaero.com
Address: 134.216.99.95
Name: mwgprod.gac.gulfaero.com
Address: 134.216.99.94
Name: mwgprod.gac.gulfaero.com
Address: 134.216.99.92
[root@RHELPOC63 ~]#
127.0.0.1 localhost.localdomain localhost.localdomain localhost4 localhost4.localdomain4 localhost
::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost
10.75.163.45 redhat.gac.gulfaero.com redhat
[root@RHELPOC63 ~]# hostname -i
134.216.160.51
[root@RHELPOC63 ~]# hostname -f
RHELPOC63.gac.gulfaero.com
[root@RHELPOC63 ~]# nslookup mwgprod.gac.gulfaero.com
Server: 134.216.177.242
Address: 134.216.177.242#53
Name: mwgprod.gac.gulfaero.com
Address: 134.216.99.95
Name: mwgprod.gac.gulfaero.com
Address: 134.216.99.94
Name: mwgprod.gac.gulfaero.com
Address: 134.216.99.92
[root@RHELPOC63 ~]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Re: INSTALLATION ERROR
Could you run the following and post the results back here?
Code: Select all
wget -d http://assets.nagios.comBe sure to check out our Knowledgebase for helpful articles and solutions!
-
1faizankhan
- Posts: 22
- Joined: Tue Jun 23, 2015 1:57 pm
Re: INSTALLATION ERROR
[root@RHELPOC63 ~]# wget -d http://assets.nagios.com
DEBUG output created by Wget 1.12 on linux-gnu.
Error parsing proxy URL http://fn661091:example@!#[email protected]:9090: Invalid host name.
[root@RHELPOC63 ~]#
DEBUG output created by Wget 1.12 on linux-gnu.
Error parsing proxy URL http://fn661091:example@!#[email protected]:9090: Invalid host name.
[root@RHELPOC63 ~]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
-
1faizankhan
- Posts: 22
- Joined: Tue Jun 23, 2015 1:57 pm
Re: INSTALLATION ERROR
If I will take out special characters from my password getting this error.
[root@RHELPOC63 ~]# wget -d http://assets.nagios.com
DEBUG output created by Wget 1.12 on linux-gnu.
--2015-07-06 18:36:17-- http://assets.nagios.com/
Resolving mwgprod.gac.gulfaero.com... 134.216.99.94, 134.216.99.92, 134.216.99.95
Caching mwgprod.gac.gulfaero.com => 134.216.99.94 134.216.99.92 134.216.99.95
Connecting to mwgprod.gac.gulfaero.com|134.216.99.94|:9090... connected.
Created socket 3.
Releasing 0x0000000000befd70 (new refcount 1).
---request begin---
GET http://assets.nagios.com/ HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: assets.nagios.com
Proxy-Authorization: Basic Zm42NjEwOTE6cXdlbW5iMDk4
---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.0 407 authenticationrequired
Date: Mon, 06 Jul 2015 22:36:16 GMT
Content-Type: text/html
Cache-Control: no-cache
Content-Length: 3114
Proxy-Connection: Close
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="McAfee Web Gateway"
---response end---
407 authenticationrequired
Closed fd 3
2015-07-06 18:36:17 ERROR 407: authenticationrequired.
May be special characters causing issue specially @
[root@RHELPOC63 ~]# wget -d http://assets.nagios.com
DEBUG output created by Wget 1.12 on linux-gnu.
--2015-07-06 18:36:17-- http://assets.nagios.com/
Resolving mwgprod.gac.gulfaero.com... 134.216.99.94, 134.216.99.92, 134.216.99.95
Caching mwgprod.gac.gulfaero.com => 134.216.99.94 134.216.99.92 134.216.99.95
Connecting to mwgprod.gac.gulfaero.com|134.216.99.94|:9090... connected.
Created socket 3.
Releasing 0x0000000000befd70 (new refcount 1).
---request begin---
GET http://assets.nagios.com/ HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: assets.nagios.com
Proxy-Authorization: Basic Zm42NjEwOTE6cXdlbW5iMDk4
---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.0 407 authenticationrequired
Date: Mon, 06 Jul 2015 22:36:16 GMT
Content-Type: text/html
Cache-Control: no-cache
Content-Length: 3114
Proxy-Connection: Close
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="McAfee Web Gateway"
---response end---
407 authenticationrequired
Closed fd 3
2015-07-06 18:36:17 ERROR 407: authenticationrequired.
May be special characters causing issue specially @
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
-
1faizankhan
- Posts: 22
- Joined: Tue Jun 23, 2015 1:57 pm
Re: INSTALLATION ERROR
After taking out @ from my password getting port number error.
Looks like failing on port number.
[root@RHELPOC63 ~]# service iptables status
iptables: Firewall is not running.
[root@RHELPOC63 ~]# wget -d http://assets.nagios.com
DEBUG output created by Wget 1.12 on linux-gnu.
Error parsing proxy URL http://fn661091:[email protected] ... .com:9090/: Bad port number.
[root@RHELPOC63 ~]#
Looks like failing on port number.
[root@RHELPOC63 ~]# service iptables status
iptables: Firewall is not running.
[root@RHELPOC63 ~]# wget -d http://assets.nagios.com
DEBUG output created by Wget 1.12 on linux-gnu.
Error parsing proxy URL http://fn661091:[email protected] ... .com:9090/: Bad port number.
[root@RHELPOC63 ~]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: INSTALLATION ERROR
What I thing is required is the following in the /etc/wgetrc file:
Code: Select all
http_proxy=http://mwgprod.gac.gulfaero.com:9090/
proxy_user=fn661091
proxy_password=pass-exampleAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.