[smokeping-users] 2.7.1 Install Issues

Patrick, Robert (CONTR) Robert.Patrick at hq.doe.gov
Tue Apr 10 19:53:50 CEST 2018


Breadcrumbs that have worked in the past when installing Smokeping on CentOS 6.x are listed below.

### CentOS 6.x misc perl packages to install from base O/S

yum -y install perl-GSSAPI perl-Time-HiRes perl-FCGI perl-MailTools perl-IO-Tty \
perl-IO-Compress-Base perl-IO-Compress-Zlib perl-HTML-Tagset perl-ExtUtils-MakeMaker \
perl-Locale-Maketext-Simple perl-IPC-Cmd perl-DBIx-Simple perl-File-Fetch \
perl-version perl-Module-Loaded

yum -y install perl-Crypt-SSLeay perl-XML-SAX-Base perl-XML-SAX-Writer \
perl-Error perl-Crypt-OpenSSL-Bignum perl-TimeDate perl-CGI perl-IPC-Run \
perl-Compress-Raw-Zlib perl-Compress-Zlib perl-Module-Pluggable \
perl-Digest-HMAC perl-Authen-SASL perl-Net-Telnet

yum -y install perl-CGI-SpeedyCGI perl-HTML-Parser perl-XML-Parser \
perl-ExtUtils-ParseXS perl-Test-Harness perl-Params-Check perl-Module-Load-Conditional \
perl-Log-Message perl-DBD-SQLite perl-Log-Message-Simple

yum -y install perl-Archive-Extract perl-Object-Accessor perl-Module-CoreList  \
perl-Package-Constants perl-YAML perl-Net-LibIDN perl-IO-Socket-SSL \
perl-XML-Filter-BufferText perl-Text-Iconv perl-Digest-SHA1 perl-Convert-ASN1 \
perl-Crypt-OpenSSL-Random perl-Crypt-OpenSSL-RSA perl-URI perl-LockFile-Simple \
perl-libwww-perl perl-devel perl-Digest-SHA perl-Module-Load perl-DBI \
perl-Term-UI perl-Parse-CPAN-Meta perl-Net-SSLeay  perl-XML-NamespaceSupport

yum -y install perl-CPAN perl-CPANPLUS perl-Parse-CPAN-Meta

###

# build and install echoping
#
yum -y install openldap-devel postgresql-devel openssl-devel libidn libidn-devel libtool gcc popt-devel
mkdir -p /installed || exit
cd /installed || exit
## wget http://sourceforge.net/projects/echoping/files/echoping/6.0.2/echoping-6.0.2.tar.gz/download
## best to download from SF and then provide an internal local copy
tar xzf echoping-6.0.2.tar.gz
chown -R root.root echoping-6.0.2
cd echoping-6.0.2
./configure --config-cache --enable-icp --with-ssl --enable-plugin="dns ldap whois postgresql random"
make && make install || exit
cd ..
rm -fr echoping-6.0.2
#
# NOTE: although we install echoping with SSL support,
#  currently using Curl for HTTPS website access, echoping wasn't responding correctly in smokeping
#

# build and install smokeping
#
#  note: enable EPEL before starting this, as some packages require the EPEL repo
#
yum -y install httpd fping rrdtool rrdtool-perl curl zlib-devel pkgconfig openssl-devel openldap-devel libtool gcc
#
yum -y install net-snmp-utils mod_speedycgi perl-CGI-SpeedyCGI perl-CPAN perl-CPANPLUS perl-devel perl-YAML
yum -y install perl-IO-Socket-SSL perl-Crypt-SSLeay perl-Net-LibIDN perl-Net-SSLeay perl-IO-Socket-SSL \
 perl-XML-SAX-Base perl-XML-SAX-Writer perl-Digest-SHA1 perl-Digest-HMAC perl-Authen-SASL \
 perl-Convert-ASN1 perl-Time-HiRes perl-FCGI
#
#CPAN install
#  readline
#  Term::ReadKey
#  LWP::UserAgent
#  Net::Telnet
#  Net::DNS ------ versions 0.75 and later may break AnotherDNS probe, instead, use: yum install perl-Net-DNS from base O/S
#  IO::Socket::SSL
#  Authen::TacacsPlus
#  Authen::Radius
#  XML::SAX::Writer
#  Authen::SASL
#  Convert::ASN1
#  Net::LDAP
#  JSON::XS
#  CGI::Fast
#  Config::Grammar
#  Net::SNMP
#  Crypt::Rijndael
#  Crypt::DES
--/--

From: smokeping-users [mailto:smokeping-users-bounces+robert.patrick=hq.doe.gov at lists.oetiker.ch] On Behalf Of Eric Brander
Sent: Tuesday, April 10, 2018 1:07 PM
To: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] 2.7.1 Install Issues


On Thu, Mar 22, 2018 at 7:58 AM, Eric Brander <mailinglists at rednarb.com<mailto:mailinglists at rednarb.com>> wrote:
Friends,

Long-time smokeping user here, installing a new implementation on Centos 7.4.1708, getting an error when executing gmake install:

root-> /usr/bin/gmake install
Making install in thirdparty
gmake[1]: Entering directory `/tmp/smokeping-2.7.1/thirdparty'
echo "If the moduile install hangs, this may be because one of the modules expects you to press [return] without telling you ... just do it!"
If the moduile install hangs, this may be because one of the modules expects you to press [return] without telling you ... just do it!
  GEN      touch
FCGI is up to date. (0.78)
CGI is up to date. (4.38)
CGI::Fast is up to date. (2.13)
Config::Grammar is up to date. (1.12)
Socket6 is up to date. (0.28)
IO::Socket::SSL is up to date. (2.054)

Digest::HMAC_MD5 is up to date. (1.01)
Net::Telnet is up to date. (3.04)
Net::OpenSSH is up to date. (0.74)
! Couldn't find module or a distribution CPAN::Meta (2.142060)
! Installing the dependencies failed: Module 'CPAN::Meta' is not installed
! Bailing out the installation for Module-Build-0.4224.
! Installing the dependencies failed: Module 'Module::Build' is not installed
! Bailing out the installation for Net-SNMP-v6.0.1.
Net::LDAP is up to date. (0.65)
Net::DNS is up to date. (1.14)
IO::Pty is up to date. (1.12)
LWP is up to date. (6.31)
Authen::Radius is up to date. (0.26)
gmake[1]: *** [touch] Error 123
gmake[1]: Leaving directory `/tmp/smokeping-2.7.1/thirdparty'
gmake: *** [install-recursive] Error 1


root-> cpan Module::Build
Reading '/root/.cpan/Metadata'
  Database was generated on Wed, 21 Mar 2018 18:29:03 GMT
Module::Build is up to date (0.4224).

root-> cpan CPAN::Meta
Reading '/root/.cpan/Metadata'
  Database was generated on Wed, 21 Mar 2018 18:29:03 GMT
CPAN::Meta is up to date (2.150010).

root-> yum install net-snmp-devel net-snmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: dallas.tx.mirror.xygenhosting.com<http://dallas.tx.mirror.xygenhosting.com/>
 * epel: mirror.colorado.edu<http://mirror.colorado.edu/>
 * extras: centos.unixheads.org<http://centos.unixheads.org/>
 * updates: mirrors.usinternet.com<http://mirrors.usinternet.com/>
Package 1:net-snmp-devel-5.7.2-28.el7_4.1.x86_64 already installed and latest version
Package 1:net-snmp-5.7.2-28.el7_4.1.x86_64 already installed and latest version
Nothing to do


Maybe related - as a long-time user, I installed all the dependencies manually before attempting the Smokeping install, but this new installer is also trying to install these thirdparty tools. Maybe some issue there? Any other ideas?

Thanks,
Eric


Didn't get any responses to this last time so I'm throwing my line in again to see I get any bites.

TIA,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20180410/c73fb2fd/attachment-0001.html>


More information about the smokeping-users mailing list