By bhagi422
as i was following a tutorial i got a error coming in make install as such "cd ./base && make install make[1]: Entering directory ‘/root/nagios/nagios-4.0.8/base’ make install-basic make[2]: Entering directory ‘/root/nagios/nagios-4.0.8/base’ /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install: invalid user ‘nagios’ make[2]: *** [Makefile:183: install-basic] Error 1 make[2]: Leaving directory ‘/root/nagios/nagios-4.0.8/base’ make[1]: *** [Makefile:176: install] Error 2 make[1]: Leaving directory ‘/root/nagios/nagios-4.0.8/base’ make: *** [Makefile:234: install] Error " open to solutions
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi, It looks like an issue related to user nagios. What is a result of executing command
id nagios
?
BTW. Unless you need to have version 4.0.8, you can install nagios (version 4.4.5) from epel repository using standard method (dnf) in CentOS 8.
Hi @bhagi422,
It’s possible you don’t have the proper packages installed and thus it fails. You need to install the following packages in order to be able to install Nagios
dnf install gcc glibc glibc-common wget gd gd-devel perl
Additionally, make sure you use the proper configure command like so
# ./configure --with-command-group=nagcmd
# make all
# make install
# make install-init
# make install-daemoninit
# make install-config
# make install-commandmode
# make install-exfoliation
Regards, KFSys
Hello there,
In addition to what has already been mentioned, I wanted to point out that CentOS Linux 8 has reached End Of Life (EOL) on December 31st, 2021.
I would strongly recommend planning either migration to another OS like Debian or Ubuntu, or upgrading to CentOS Stream.
I personally believe that the safest way to do this is to follow these steps here:
rsync for example copy over your files and migrate your databasesRegards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.