NA - Fresh Install - Getting an Error

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

NA - Fresh Install - Getting an Error

Post by bosecorp »

I am doing a fresh install of NA

I am running RHEL 7

here is the error

[root@usvanagiospna1 nagiosna]# ./fullinstall
good
Installing on el7

Nagios Network Analyzer Installation
====================================
DATE: Tue Jan 23 11:40:16 EST 2018

DISTRO INFO:
RedHatEnterpriseServer
7.4
x86_64

Running 'prereqs'...
prereqs step already completed - skipping
Running 'sourceguardian'...
Installing sourceguardian...
./libinstall.sh: line 312: php-config: command not found

===================
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: 'sourceguardian'
[root@usvanagiospna1 nagiosna]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NA - Fresh Install - Getting an Error

Post by tgriep »

The php-config command is missing from your server and it comes from the php-devel package.
To install that package, run the following as root

Code: Select all

yum install php-devel -y
After it is installed, try running the fullinstall of Nagios XI and see if it works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: NA - Fresh Install - Getting an Error

Post by bosecorp »

I tried that and did not work

[root@usvanagiosplog1 ~]# yum install php-devel -y
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
No package php-devel available.
Error: Nothing to do
[root@usvanagiosplog1 ~]#

also


here is some extra info

[root@usvanagiosplog1 ~]# php -v
yum repolist
yum list installed | grep phpPHP 5.4.16 (cli) (built: Oct 4 2017 03:09:42)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v3.1.1, Copyright (c) 2005-2014, by mOo
with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
with Xdebug v2.2.7, Copyright (c) 2002-2015, by Derick Rethans
with XCache Optimizer v3.1.1, Copyright (c) 2005-2014, by mOo
with XCache Cacher v3.1.1, Copyright (c) 2005-2014, by mOo
with XCache Coverager v3.1.1, Copyright (c) 2005-2014, by mOo
[root@usvanagiosplog1 ~]# yum repolist
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
repo id repo name status
!chef-stable/x86_64 Chef Software Inc chef-stable repository 500
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,219
!rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7 1
!rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 17,906
!rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 231
repolist: 30,857
[root@usvanagiosplog1 ~]# yum list installed | grep php
php.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-Assetic.noarch 1.3.2-3.el7 @epel
php-EasyRdf-doc.noarch 0.9.0-1.el7 @epel
php-JMSParser.noarch 1.0.0-9.el7 @epel
php-Metadata.noarch 1.6.0-1.el7 @epel
php-PHPParser.noarch 1.4.1-1.el7 @epel
php-PhpCollection.noarch 0.5.0-1.el7 @epel
php-PhpOption.noarch 1.5.0-1.el7 @epel
php-PsrLog.noarch 1.0.2-2.el7 @epel
php-adodb.noarch 5.20.6-2.el7 @epel
php-akamai-open-edgegrid-auth.noarch
php-aws-php-sns-message-validator.noarch
php-bacon-qr-code.noarch 1.0.3-1.el7 @epel
php-bantu-ini-get-wrapper.noarch
php-channel-ezc.noarch 1-6.el7 @epel
php-channel-pearplex.noarch 1.3-7.el7 @epel
php-channel-phpseclib.noarch 1.3-1.el7 @epel
php-channel-pirum.noarch 1.3-2.el7 @epel
php-channel-swift.noarch 1.3-7.el7 @epel
php-channel-theseer.noarch 1.3-2.el7 @epel
php-cli.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-clue-block-react.noarch 1.1.0-2.el7 @epel
php-clue-stream-filter.noarch 1.4.0-1.el7 @epel
php-codeception-specify.noarch
php-codeception-verify.noarch 0.4.0-1.el7 @epel
php-common.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-container-interop.noarch 1.2.0-3.el7 @epel
php-d11wtq-boris.noarch 1.0.10-2.el7 @epel
php-deepend-Mockery.noarch 0.9.9-1.el7 @epel
php-endroid-qrcode.noarch 1.9.3-1.el7 @epel
php-evenement.noarch 2.1.0-1.el7 @epel
php-ezc-Archive.noarch 1.4.1-10.el7 @epel
php-ezc-Base.noarch 1.8-7.el7 @epel
php-ezc-Cache.noarch 1.5-9.el7 @epel
php-ezc-Configuration.noarch 1.3.5-9.el7 @epel
php-ezc-ConsoleTools.noarch 1.6.1-7.el7 @epel
php-ezc-Database.noarch 1.4.7-9.el7 @epel
php-ezc-DatabaseSchema.noarch 1.4.4-9.el7 @epel
php-ezc-EventLog.noarch 1.4-10.el7 @epel
php-ezc-EventLogDatabaseTiein.noarch
php-ezc-Feed.noarch 1.3-9.el7 @epel
php-ezc-File.noarch 1.2-12.el7 @epel
php-ezc-Graph.noarch 1.5-7.el7 @epel
php-ezc-Mail.noarch 1.7.1-9.el7 @epel
php-ezc-PersistentObject.noarch
php-ezc-PersistentObjectDatabaseSchemaTiein.noarch
php-ezc-SystemInformation.noarch
php-ezc-Template.noarch 1.4.2-9.el7 @epel
php-ezc-Webdav.noarch 1.1.4-9.el7 @epel
php-fedora-autoloader.noarch 1.0.0-1.el7 @epel
php-fedora-autoloader-devel.noarch
php-fig-http-message-util.noarch
php-flow-jsonpath.noarch 0.3.4-1.el7 @epel
php-gd.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-getid3.noarch 1:1.9.15-1.el7 @epel
php-gitter.noarch 0.3.0-8.el7 @epel
php-gliph.noarch 0.1.8-7.el7 @epel
php-google-apiclient.noarch 2:1.1.7-2.el7 @epel
php-google-apiclient-examples.noarch
php-guzzlehttp-psr7.noarch 1.4.2-1.el7 @epel
php-hamcrest.noarch 1.2.2-1.el7 @epel
php-htmLawed.noarch 1.1.21-1.el7 @epel
php-http-interop-http-middleware.noarch
php-iamcal-lib-autolink.noarch
php-imap.x86_64 5.4.16-7.el7 @epel
php-interfasys-lognormalizer.noarch
php-jakubledl-dissect.noarch 1.0.1-1.el7 @epel
php-jeremeamia-superclosure.noarch
php-kolab-net-ldap3.noarch 1.0.3-1.el7 @epel
php-kukulich-fshl.noarch 2.1.0-2.el7 @epel
php-ldap.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-league-container.noarch 2.4.1-1.el7 @epel
php-league-plates.noarch 3.3.0-2.el7 @epel
php-lessphp.noarch 0.5.0-2.el7 @epel
php-libdmtx.x86_64 0.7.2-16.el7 @epel
php-libvirt.x86_64 0.5.4-1.el7 @epel
php-libvirt-doc.noarch 0.5.4-1.el7 @epel
php-lukasreschke-id3parser.noarch
php-magickwand.x86_64 1.0.9-6.el7 @epel
php-mapi.x86_64 7.1.14-3.el7 @epel
php-markdown.noarch 1.7.0-1.el7 @epel
php-mcrypt.x86_64 5.4.16-7.el7 @epel
php-mikey179-vfsstream.noarch 1.6.5-1.el7 @epel
php-mongodb.noarch 1.0.4-1.el7 @epel
php-mtdowling-jmespath-php.noarch
php-myclabs-deep-copy.noarch 1.6.1-1.el7 @epel
php-myclabs-php-enum.noarch 1.5.2-1.el7 @epel
php-mysql.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-natxet-cssmin.noarch 3.0.4-1.el7 @epel
php-nette-tester.noarch 1.7.1-1.el7 @epel
php-nikic-fast-route.noarch 1.2.0-1.el7 @epel
php-nikic-php-parser.noarch 2.1.1-1.el7 @epel
php-ocramius-instantiator.noarch
php-ocramius-lazy-map.noarch 1.0.0-1.el7 @epel
php-odbc.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-onelogin-php-saml.noarch 2.10.5-1.el7 @epel
php-opencloud-doc.noarch 1.12.2-1.el7 @epel
php-owncloud-tarstreamer.noarch
php-patchwork-jsqueeze.noarch 2.0.5-1.el7 @epel
php-pdo.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-pear.noarch 1:1.9.4-21.el7 @rhui-REGION-rhel-server-releases
php-pear-Auth-SASL.noarch 1.0.6-5.el7 @epel
php-pear-CAS.noarch 1.3.5-1.el7 @epel
php-pear-CodeGen.noarch 1.0.7-9.el7 @epel
php-pear-CodeGen-PECL.noarch 1.1.3-10.el7 @epel
php-pear-Console-Color.noarch 1.0.3-7.el7 @epel
php-pear-Console-Getargs.noarch
php-pear-Console-ProgressBar.noarch
php-pear-Crypt-Blowfish.noarch
php-pear-DB.noarch 1.7.14-6.el7 @epel
php-pear-DB-DataObject.noarch 1.11.5-1.el7 @epel
php-pear-DB-DataObject-FormBuilder.noarch
php-pear-DB-QueryTool.noarch 1.1.2-10.el7 @epel
php-pear-Date.noarch 1.4.7-12.el7 @epel
php-pear-Date-Holidays.noarch 0.21.8-2.el7 @epel
php-pear-Date-Holidays-USA.noarch
php-pear-Event-Dispatcher.noarch
php-pear-File.noarch 1.4.1-5.el7 @epel
php-pear-File-CSV.noarch 1.0.0-6.el7 @epel
php-pear-File-Util.noarch 1.0.0-6.el7 @epel
php-pear-HTML-Common.noarch 1.2.5-8.el7 @epel
php-pear-HTML-QuickForm.noarch
php-pear-HTML-QuickForm-ElementGrid.noarch
php-pear-HTML-QuickForm-advmultiselect.noarch
php-pear-HTML-Table.noarch 1.8.3-8.el7 @epel
php-pear-HTTP.noarch 1.4.1-12.el7 @epel
php-pear-HTTP-Upload.noarch 0.9.1-11.el7 @epel
php-pear-Image-Canvas.noarch 0.3.5-5.el7 @epel
php-pear-Image-Color.noarch 1.0.4-9.el7 @epel
php-pear-Image-Graph.noarch 0.8.0-7.el7 @epel
php-pear-Image-GraphViz.noarch
php-pear-Log.noarch 1.12.8-1.el7 @epel
php-pear-MDB2.noarch 2.5.0-0.9.b5.el7 @epel
php-pear-MDB2-Driver-mysql.noarch
php-pear-MDB2-Driver-mysqli.noarch
php-pear-MDB2-Driver-pgsql.noarch
php-pear-Mail.noarch 1.3.0-1.el7 @epel
php-pear-Math-Stats.noarch 0.9.1-12.el7 @epel
php-pear-Net-Curl.noarch 1.2.5-10.el7 @epel
php-pear-Net-DNS.noarch 1.0.7-5.el7 @epel
php-pear-Net-IDNA2.noarch 0.1.1-10.el7 @epel
php-pear-Net-IPv4.noarch 1.3.4-7.el7 @epel
php-pear-Net-LDAP2.noarch 2.1.0-1.el7 @epel
php-pear-Net-Ping.noarch 2.4.5-9.el7 @epel
php-pear-Net-SMTP.noarch 1.7.3-1.el7 @epel
php-pear-Net-Socket.noarch 1.0.14-1.el7 @epel
php-pear-Net-Traceroute.noarch
php-pear-Net-UserAgent-Detect.noarch
php-pear-Numbers-Roman.noarch 1.0.2-16.el7 @epel
php-pear-Numbers-Words.noarch 0.18.1-1.el7 @epel
php-pear-OLE.noarch 1.0.0-0.12.RC2.el7
php-pear-PEAR-Command-Packaging.noarch
php-pear-Payment-Process.noarch
php-pear-Text-Diff.noarch 1.2.2-1.el7 @epel
php-pear-Validate.noarch 0.8.5-6.el7 @epel
php-pear-Validate-Finance-CreditCard.noarch
php-pear-Var-Dump.noarch 1.0.4-9.el7 @epel
php-pear-XML-Parser.noarch 1.3.4-10.el7 @epel
php-pear-XML-Serializer.noarch
php-pear-text-wiki.noarch 1.2.1-3.el7 @epel
php-pecl-amqp.x86_64 1.4.0-1.el7 @epel
php-pecl-dio.x86_64 0.1.0-1.el7 @epel
php-pecl-event.x86_64 1.11.3-1.el7 @epel
php-pecl-fann.x86_64 1.0.7-1.el7 @epel
php-pecl-gearman.x86_64 1.1.2-1.el7 @epel
php-pecl-igbinary.x86_64 1.2.1-1.el7 @epel
php-pecl-libsodium.x86_64 1.0.2-1.el7 @epel
php-pecl-memprof.x86_64 1.0.0-3.el7 @epel
php-pecl-mongodb.x86_64 1.1.10-1.el7 @epel
php-pecl-ncurses.x86_64 1.0.2-6.el7 @epel
php-pecl-parsekit.x86_64 1.3.0-3.el7 @epel
php-pecl-pq.x86_64 1.1.1-1.el7 @epel
php-pecl-raphf.x86_64 1.1.2-1.el7 @epel
php-pecl-redis.x86_64 2.2.8-1.el7 @epel
php-pecl-rrd.x86_64 1.1.3-1.el7 @epel
php-pecl-runkit.x86_64 1.0.4-0.3.GIT8c73eaf.el7
php-pecl-solr.x86_64 1.1.1-1.el7 @epel
php-pecl-ssdeep.x86_64 1.0.4-1.el7 @epel
php-pecl-uuid.x86_64 1.0.3-7.el7 @epel
php-pecl-xattr.x86_64 1.2.1-1.el7 @epel
php-pecl-xdebug.x86_64 2.2.7-1.el7 @epel
php-pecl-xhprof.x86_64 0.9.4-2.el7 @epel
php-pecl-xmldiff.x86_64 0.9.2-4.el7 @epel
php-pecl-yac.x86_64 0.9.2-1.el7 @epel
php-pecl-yaml.x86_64 1.1.1-5.el7 @epel
php-pecl-zendopcache.x86_64 7.0.5-2.el7 @epel
php-pgsql.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-phpass.noarch 0.3-5.el7 @epel
php-phpiredis.x86_64 1.0.0-2.el7 @epel
php-phpmyadmin-shapefile.noarch
php-phpseclib-crypt-aes.noarch
php-phpseclib-crypt-base.noarch
php-phpseclib-crypt-blowfish.noarch
php-phpseclib-crypt-des.noarch
php-phpseclib-crypt-hash.noarch
php-phpseclib-crypt-random.noarch
php-phpseclib-crypt-rc4.noarch
php-phpseclib-crypt-rijndael.noarch
php-phpseclib-crypt-rsa.noarch
php-phpseclib-crypt-tripledes.noarch
php-phpseclib-crypt-twofish.noarch
php-phpseclib-math-biginteger.noarch
php-phpseclib-net-sftp.noarch 0.3.9-1.el7 @epel
php-phpseclib-net-ssh2.noarch 0.3.9-1.el7 @epel
php-phpunit-bytekit.noarch 1.1.3-4.el7 @epel
php-pimple.x86_64 3.0.2-1.el7 @epel
php-pirum-Pirum.noarch 1.1.5-1.el7 @epel
php-process.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-psr-cache.noarch 1.0.0-1.el7 @epel
php-psr-container.noarch 1.0.0-1.el7 @epel
php-psr-http-message.noarch 1.0-1.el7 @epel
php-psr-link.noarch 1.0.0-1.el7 @epel
php-psr-simple-cache.noarch 1.0.0-1.el7 @epel
php-react.noarch 0.4.2-2.el7 @epel
php-react-cache.noarch 0.4.1-2.el7 @epel
php-react-child-process.noarch
php-react-dns.noarch 0.4.8-1.el7 @epel
php-react-event-loop.noarch 0.4.3-1.el7 @epel
php-react-http.noarch 0.4.2-2.el7 @epel
php-react-http-client.noarch 0.4.17-1.el7 @epel
php-react-promise.noarch 2.5.0-1.el7 @epel
php-react-promise-timer.noarch
php-react-socket.noarch 0.4.6-1.el7 @epel
php-react-socket-client.noarch
php-react-stream.noarch 0.4.6-1.el7 @epel
php-recode.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-robrichards-xmlseclibs.noarch
php-robrichards-xmlseclibs1.noarch
php-robrichards-xmlseclibs3.noarch
php-simplesamlphp-saml2.noarch
php-simplesamlphp-saml2_1.noarch
php-smbclient.x86_64 0.9.0-1.el7 @epel
php-soap.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-swift-Swift.noarch 5.0.2-1.el7 @epel
php-symfony-class-loader.noarch
php-symfony-common.noarch 2.8.12-2.el7 @epel
php-symfony-finder.noarch 2.8.12-2.el7 @epel
php-symfony-options-resolver.noarch
php-symfony-phpunit-bridge.noarch
php-symfony-process.noarch 2.8.12-2.el7 @epel
php-theseer-autoload.noarch 1.24.1-1.el7 @epel
php-theseer-directoryscanner.noarch
php-vlucas-phpdotenv.noarch 2.4.0-1.el7 @epel
php-whitehat101-apr1-md5.noarch
php-xcache.x86_64 3.1.1-1.el7 @epel
php-xml.x86_64 5.4.16-43.el7_4 @rhui-REGION-rhel-server-releases
php-xmlseclibs.noarch 1.3.1-3.el7 @epel
php-zendframework-zend-diactoros.noarch
php-zetacomponents-base.noarch
php-zetacomponents-console-tools.noarch
php-zetacomponents-console-tools-doc.noarch
php-zetacomponents-document.noarch
php-zetacomponents-graph.noarch
php-zetacomponents-graph-doc.noarch
php-zipstream.noarch 0.2.2-6.el7 @epel
phpwapmail.noarch 0.9.4-6.el7 @epel
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NA - Fresh Install - Getting an Error

Post by tgriep »

That package comes from the rhel-7-server-optional-rpms repository so you will need to enable it on your server.
To do that, try running these commands.

Code: Select all

yum install yum-utils
yum-config-manager --enable rhel-7-server-optional-rpms
You may have to login to Redhat's web site and register your server if the above commands do not work.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: NA - Fresh Install - Getting an Error

Post by bosecorp »

Nothing

[root@usvanagiospna1 ~]# yum-config-manager --enable rhel-7-server-optional-rpms
Loaded plugins: amazon-id, rhui-lb, versionlock
[root@usvanagiospna1 ~]# yum install php-devel*
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
No package php-devel* available.
Error: Nothing to do
[root@usvanagiospna1 ~]#
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: NA - Fresh Install - Getting an Error

Post by bosecorp »

fixed that issue, now I have this other error

checking for png.h... yes
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpangocairo-1.0 and its header files. If
you have not installed pangocairo, you can get it either from its original home on

http://ftp.gnome.org/pub/GNOME/sources/pango/1.28

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of pangocairo is 1.28.4.

LIBS=-lpng -lm -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
LDFLAGS=
CPPFLAGS= -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm

----------------------------------------------------------------------------

checking for pango_font_map_create_context... no
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.

===================
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: 'build_rrdtool'
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NA - Fresh Install - Getting an Error

Post by tgriep »

Can you run the following as root and post the output?

Code: Select all

yum repolist
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: NA - Fresh Install - Getting an Error

Post by bosecorp »

[root@usvanagiospna1 ~]# yum repolist
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
repo id repo name status
!chef-stable/x86_64 Chef Software Inc chef-stable repository 502
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,251
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 13,124
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 17,919
rhel-7-server-rt-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) 254
!rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7 1
!rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 17,919
!rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 231
repolist: 62,201
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NA - Fresh Install - Getting an Error

Post by npolovenko »

@bosecorp, Have you tried the same command that worked for you on the XI server?

Code: Select all

subscription-manager repos --enable rhel-7-server-optional-rpms
yum install php-devel.x86_64
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: NA - Fresh Install - Getting an Error

Post by bosecorp »

it's already there

[root@usvanagiospna1 ~]# subscription-manager repos --enable rhel-7-server-optional-rpms
yum install php-devel.x86_64
Repository 'rhel-7-server-optional-rpms' is enabled for this system.
[root@usvanagiospna1 ~]# yum install php-devel.x86_64
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, versionlock
chef-stable | 1.4 kB 00:00:00
epel/x86_64/metalink | 13 kB 00:00:00
epel | 4.7 kB 00:00:00
rhui-REGION-client-config-server-7 | 2.9 kB 00:00:00
rhui-REGION-rhel-server-releases | 3.5 kB 00:00:00
rhui-REGION-rhel-server-rh-common | 3.8 kB 00:00:00
(1/5): epel/x86_64/updateinfo | 878 kB 00:00:00
(2/5): chef-stable/x86_64/primary | 4.3 MB 00:00:01
(3/5): rhui-REGION-rhel-server-releases/7Server/x86_64/updateinfo | 2.5 MB 00:00:01
(4/5): rhui-REGION-rhel-server-releases/7Server/x86_64/primary_db | 47 MB 00:00:02
(5/5): epel/x86_64/primary_db | 6.2 MB 00:00:03
chef-stable 503/503
Package php-devel-5.4.16-43.el7_4.x86_64 already installed and latest version
Nothing to do
Locked