Page 1 of 1
Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pymssql/
Posted: Thu Mar 05, 2026 5:23 am
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
Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms
Posted: Thu Mar 05, 2026 4:26 pm
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!
Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms
Posted: Mon Mar 09, 2026 5:33 am
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.
Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms
Posted: Mon Mar 09, 2026 6:00 am
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
Re: Issue with installation - ommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3siz42_s/pyms
Posted: Mon Mar 09, 2026 11:29 am
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