Page 1 of 3

Installation Error

Posted: Mon Aug 08, 2016 9:17 am
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!

Re: Installation Error

Posted: Mon Aug 08, 2016 9:35 am
by hsmith
Is this machine using a proxy?

Re: Installation Error

Posted: Mon Aug 08, 2016 11:32 am
by kunkler99
No, unless its setup that way from the factory.

Re: Installation Error

Posted: Mon Aug 08, 2016 12:33 pm
by hsmith
Does this machine have unrestricted web access?

Re: Installation Error

Posted: Mon Aug 08, 2016 1:49 pm
by kunkler99
Yes, it is a VM on a cluster with 8 other VM's and no other VM's are having an issue.

Re: Installation Error

Posted: Mon Aug 08, 2016 1:59 pm
by hsmith
What's the output of the command look like?

Code: Select all

curl -Is https://pypi.python.org/simple/pip/

Re: Installation Error

Posted: Tue Aug 09, 2016 11:26 am
by kunkler99
I get nothing in return.

[root@IGSAOAEWUS049 ~]# curl -Is https://pypi.python.org/simple/pip/
[root@IGSAOAEWUS049 ~]#

Re: Installation Error

Posted: Tue Aug 09, 2016 11:29 am
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 ~]#

Re: Installation Error

Posted: Tue Aug 09, 2016 4:20 pm
by hsmith
Silly question, but is the output of the 'date' command what you would expect?

Re: Installation Error

Posted: Wed Aug 10, 2016 7:16 am
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