Page 1 of 1

Log Server Installation Issues

Posted: Tue Oct 13, 2015 2:47 am
by zakirr
Hi

I get the attached error while installing log server on a centos 6.7. Contents from install log and pip.log(attached) are as below

Install.log
Nagios Log Server Installation
==============================
DATE: Tue Oct 13 08:24:16 IST 2015

DISTRO INFO:
CentOS
6.7
x86_64

Running 'setup_local_syslog'...
setup_local_syslog step already completed - skipping
Running 'prereqs'...
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.crazyfrogs.org
* extras: centos.crazyfrogs.org
* updates: centose5.centos.org
Package byacc-1.9.20070509-7.el6.x86_64 already installed and latest version
Package cairo-devel-1.8.8-6.el6_6.x86_64 already installed and latest version
Package gcc-4.4.7-16.el6.x86_64 already installed and latest version
Package glib2-devel-2.28.8-4.el6.x86_64 already installed and latest version
Package glibc-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package 1:java-1.7.0-openjdk-1.7.0.85-2.6.1.3.el6_7.x86_64 already installed and latest version
Package libxml2-devel-2.7.6-20.el6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package 1:net-snmp-5.5-54.el6_7.1.x86_64 already installed and latest version
Package 1:net-snmp-utils-5.5-54.el6_7.1.x86_64 already installed and latest version
Package ntp-4.2.6p5-5.el6.centos.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package pango-devel-1.28.1-10.el6.x86_64 already installed and latest version
Package perl-ExtUtils-MakeMaker-6.55-141.el6.x86_64 already installed and latest version
Package php-5.3.3-46.el6_6.x86_64 already installed and latest version
Package php-cli-5.3.3-46.el6_6.x86_64 already installed and latest version
Package sendmail-8.14.4-9.el6.x86_64 already installed and latest version
Package sudo-1.8.6p3-20.el6_7.x86_64 already installed and latest version
Package sysstat-9.0.4-27.el6.x86_64 already installed and latest version
Package unzip-6.0-2.el6_6.x86_64 already installed and latest version
Package zip-3.0-1.el6.x86_64 already installed and latest version
Package net-tools-1.60-110.el6_2.x86_64 already installed and latest version
Package php-ldap-5.3.3-46.el6_6.x86_64 already installed and latest version
Nothing to do
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.

~
Any help on the above is appreciated

Thanks

Zak

Re: Log Server Installation Issues

Posted: Tue Oct 13, 2015 11:07 am
by jolson
It looks like the 'pip' download failed. Please run a 'yum update' and verify that you have appropriate access to pip:

Code: Select all

sudo yum update
ping pypi.python.org
If you can ping that URL, can you curl it?

Code: Select all

curl https://pypi.pythong.org/sime/pip

Re: Log Server Installation Issues

Posted: Tue Oct 20, 2015 2:57 am
by zakirr
Hi
I can ping the URL but curl doesn't work; I think https is the issue

curl https://pypi.python.org/simple/pip/
https://pypi.python.org/simple/pip/curl: (7) couldn't connect to host

Re: Log Server Installation Issues

Posted: Tue Oct 20, 2015 9:34 am
by hsmith
jolson wrote:

Code: Select all

sudo yum update
ping pypi.python.org

Did you run these commands?

Re: Log Server Installation Issues

Posted: Thu Oct 22, 2015 3:16 am
by zakirr
Hi

Both command were successful and updated the packages

python get-pip.py throws error from the proxy end log says Connection error: Cannot connect to proxy:. error(Tunnel Connection failed) 407 proxy authorization required

Re: Log Server Installation Issues

Posted: Thu Oct 22, 2015 12:12 pm
by jolson
So you're using a proxy for your web traffic? It's possible that this is where your failure lies. Is it possible to temporarily route around the proxy and run the installation script? That would likely be the fastest path to resolution.