Installation Error

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
kunkler99
Posts: 17
Joined: Mon Jun 20, 2011 1:04 pm

Installation Error

Post by kunkler99 »

I am running a fresh install of CentOS 7 (7.2.1511) minimal and I have downloaded and extracted nagios log server 1.4.2 when I run ./fullinstall I receive the follow error

Nothing to do
8 Aug 08:28:57 ntpdate[45040]: adjust time server 50.116.52.97 offset 0.014035 sec
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in /root/.pip/pip.log

===================
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 Enterprises technical support.

The step that failed was: 'prereqs'


the log found in /root/.pip/pip.log shows this

get-pip.py run on Mon Aug 8 10:09:36 2016
Downloading/unpacking pip
Getting page https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip
Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by <class 'httplib.CannotSendRequest'>: )
Will skip URL https://pypi.python.org/simple/ when looking for download links for pip
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for pip:
* https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip
Could not find any downloads that satisfy the requirement pip
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
No distributions at all found for pip
Exception information:
Traceback (most recent call last):
File "/tmp/tmpK5BG2J/pip.zip/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/tmp/tmpK5BG2J/pip.zip/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/tmp/tmpK5BG2J/pip.zip/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/tmp/tmpK5BG2J/pip.zip/pip/index.py", line 277, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for pip


Any help would be great! I have tried searching but after an hour I give up. Thanks!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Installation Error

Post by hsmith »

Is this machine using a proxy?
Former Nagios Employee.
me.
kunkler99
Posts: 17
Joined: Mon Jun 20, 2011 1:04 pm

Re: Installation Error

Post by kunkler99 »

No, unless its setup that way from the factory.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Installation Error

Post by hsmith »

Does this machine have unrestricted web access?
Former Nagios Employee.
me.
kunkler99
Posts: 17
Joined: Mon Jun 20, 2011 1:04 pm

Re: Installation Error

Post by kunkler99 »

Yes, it is a VM on a cluster with 8 other VM's and no other VM's are having an issue.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Installation Error

Post by hsmith »

What's the output of the command look like?

Code: Select all

curl -Is https://pypi.python.org/simple/pip/
Former Nagios Employee.
me.
kunkler99
Posts: 17
Joined: Mon Jun 20, 2011 1:04 pm

Re: Installation Error

Post by kunkler99 »

I get nothing in return.

[root@IGSAOAEWUS049 ~]# curl -Is https://pypi.python.org/simple/pip/
[root@IGSAOAEWUS049 ~]#
kunkler99
Posts: 17
Joined: Mon Jun 20, 2011 1:04 pm

Re: Installation Error

Post by kunkler99 »

If I remove the -Is I get this

[root@IGSAOAEWUS049 ~]# curl https://pypi.python.org/simple/pip/ curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
[root@IGSAOAEWUS049 ~]#
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Installation Error

Post by hsmith »

Silly question, but is the output of the 'date' command what you would expect?
Former Nagios Employee.
me.
kunkler99
Posts: 17
Joined: Mon Jun 20, 2011 1:04 pm

Re: Installation Error

Post by kunkler99 »

That was a great question. It is returning the correct date however.

[root@IGSAOAEWUS049 ~]# date
Wed Aug 10 08:15:57 EDT 2016
Locked