Bobcares

Nagios error – Installing XI fails to install dependency pymssql

by | Nov 12, 2020

Nagios XI install often fails while installing the dependency pymssql.

As a part of our Server Management Services, we help our Customers to fix Nagios related errors regularly.

Let us today discuss the possible causes and fixes for this error.

Why does installing XI fails to install dependency pymssql?

Nagios XI install often fails with the error message as shown below :

--> Processing Dependency: pymssql for package: nagiosxi-deps-2012r2.9-1.noarch
--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-2012r2.9-1.noarch (/nagiosxi-deps-2012r2.9-1.noarch)
Requires: pymssql
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1

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

The script that failed was: './1-prereqs'

 

This message indicates that it failed to install the dependency pymssql. Normally, it happens because some of the original packages are not available through the standard repositories.

Thus, to resolve the problem, we need to add the Nagios Repository to the yum package manager.

Installing XI fails to install dependency pymssql – Solution

The steps to add the Nagios Repository defer for each operating system. For instance, let us look at the steps to install it on Centos and Ubuntu:

Installation of Nagios Repo in CentOS/RHEL

Version 6 (32 and 64 bit)
# rpm -Uvh https://repo.nagios.com/nagios/6/nagios-repo-6-4.el6.noarch.rpm
# yum update

Version 7 (64 bit)
# rpm -Uvh https://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm
# yum update

Version 8 (64 bit)

# rpm -Uvh https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm
# yum update

Pre-requisites for Nagios XI

If we are installing it on CentOS 8 we will need to add the following:

# yum install epel-release -y
# yum config-manager --enable PowerTools

Similarly, if we are installing it on RHEL 8 we will need to add the following:

# yum install epel-release -y
# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms

Installation of Nagios XI

Now, we can install Nagios XI with the series of steps given below:

Install the Nagios XI package:
# yum install nagiosxi
Upgrading Nagios XI
# yum update nagiosxi
Installation of NCPA
# yum install ncpa

Installation of Nagios Repo in Ubuntu/Debian

To install Nagios Repo in Ubuntu/Debian, follow the series of steps given below:

First, add to the apt sources list

#apt-get install apt-transport-https
#echo "deb https://repo.nagios.com/deb/$(lsb_release -cs) /" > /etc/apt/sources.list.d/nagios.list

Now, add the public GPG key

#wget -qO - https://repo.nagios.com/GPG-KEY-NAGIOS-V2 | apt-key add -

Then, update the repositories

#apt-get update

Installation and Upgrade of NCPA

#apt-get install ncpa

Finally, after making these changes we will be able to re-run the fullinstall script to install Nagios XI.

[Need any further assistance in fixing Nagios errors?– We’re available 24*7]

Conclusion

In short, install of Nagios XI often fails to install dependency pymssql as some of the original packages are not available through the standard repositories. Today, we saw how our Support Engineers fix this error by adding the Nagios Repository to the package manager.

 

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. dabuv

    I was strugling with fixing this dependency for few days. You are a true life saver. Thank You

    Reply
    • Hiba Razak

      Hi,
      Thanks for the feedback. We are glad to know that our article was helpful for you 🙂

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF