Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pymssql/

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
nagmemore
Posts: 8
Joined: Fri Mar 01, 2019 6:36 am

Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pymssql/

Post by nagmemore »

Hi Support,

Oracle 8.10 server minimal
64 bit
Manual install of XI

The last output from the installation script is within the subject.

We've run into a bit of a issue during an installation attempt as we are attempting to migrate to another server OS hosted on AWS, other than installing wget it should be a pretty fresh OS, so just hoping to get some support to continue with the installation.

Our current XI version is 5.8.3 and attempting to install the same version so we can backup and restore and eventually upgrade the OS and Nagios version to a more recent one.

Install.log included.

Regards,

Long
You do not have the required permissions to view the files attached to this post.
cdietsch
Posts: 62
Joined: Wed Aug 06, 2025 9:12 am

Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms

Post by cdietsch »

Hi @nagmemore,

I created a test VM with Oracle 8 and was able to reproduce your error installing XI 5.8.3. I was also able to get the install script to complete by installing a newer version of python3 and setting it as the system default python3.

Here are the commands I ran:

Code: Select all

sudo dnf upgrade
sudo dnf install python3.12 python3.12-pip
sudo alternatives --set python3 /usr/bin/python3.12
Hopefully this helps you get up and running.

Good luck!
Cheers,
- Cole
Debbie219Adams
Posts: 1
Joined: Mon Mar 09, 2026 5:30 am

Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms

Post by Debbie219Adams »

Hello!
On Oracle Linux 8.10 minimal installs, Nagios XI often fails because key prerequisites are missing. Even if wget is installed, the XI installer expects packages like curl, unzip, tar, gcc, glibc, net-snmp, php, and httpd, which aren’t included by default. You’ll also want to check SELinux/firewalld settings, enable EPEL for dependencies, and confirm the instance has enough memory and swap. Reviewing the last lines of your install.log will show which dependency failed—once installed with dnf, you can re‑run ./fullinstall and continue the migration smoothly.
nagmemore
Posts: 8
Joined: Fri Mar 01, 2019 6:36 am

Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms

Post by nagmemore »

Hi Support,

Will give it a go and report back, just having some network issues so unable to access the box currently.

Regards,

Long
nagmemore
Posts: 8
Joined: Fri Mar 01, 2019 6:36 am

Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms

Post by nagmemore »

Hi Cole,

following your guidance we are at least installed, just need to configure it up and restore from the backup when ready.

Thanks again for your support, consider this closed.

Regards,

Long
Post Reply