Nagios XI installtion error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Nagios XI installtion error

Post by RIDS_I2MP »

Hi Team,

We have built a fresh Linux server, below is the details:
Linux version 4.18.0-193.6.3.el8_2.x86_64 ([email protected]) (gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)) #1 SMP Wed Jun 10 11:09:32 UTC 2020

We were installing Nagios XI latest version on it today and the installation failed with the error message attached here.

Installing Nagios XI base files...
Creating product directory...
./B-installxi: line 104: /etc/php-fpm.d/www.conf: No such file or directory


Also, I am attaching install.log file here for your reference.

Please help us to resolve this issue on priority.

Thanks in advance!!
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI installtion error

Post by benjaminsmith »

Hi @RIDS_I2MP,

What operating system are you installing Nagios XI on?

If this is a Cent OS 8 system, there are few steps in the installation script to enable php-fpm and modify the configs.

Are you able to re-start the php-fpm service? If so, try running the upgrade once more.

Code: Select all

systemctl restart php-fpm
systemctl status php-fpm
Is the configuration file present on the server?

Code: Select all

ls -l /etc/php-fpm.d/www.conf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Nagios XI installtion error

Post by RIDS_I2MP »

Hello,

Yes, we are using Centos 8.

[root@vmaz-nagiosxi ~]# ls -l /etc/php-fpm.d/www.conf
ls: cannot access '/etc/php-fpm.d/www.conf': No such file or directory
[root@vmaz-nagiosxi ~]#

No, that config file is not present here.

[root@vmaz-nagiosxi ~]# systemctl restart php-fpm
Failed to restart php-fpm.service: Unit php-fpm.service not found.
[root@vmaz-nagiosxi ~]#

[root@vmaz-nagiosxi ~]# systemctl status php-fpm
Unit php-fpm.service could not be found.
[root@vmaz-nagiosxi ~]#


Above is the output for the commands that you have asked.

Just few days back, I have installed the same setup on another server which is also Centos 8, but I did not do any additional changes in that and the setup was installed successfully.

Why it is creating issue on another system with same configuration?

I request you to provide me what all config changes are required? Also, let me know, do I need to reinstall the setup?
Or the changes will make it complete?

If reinstallation is required, how to uninstall the half installed setup.

Please refer to the install.log file that I had provided.

Thank you!
Thanks & Regards,
I2MP Team.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI installtion error

Post by lmiltchev »

This is strange - the php-fpm package should've been installed on your system, but it's not. Try installing it by running:

Code: Select all

dnf install php-fp
then run:

Code: Select all

systemctl enable php-fpm
systemctl start php-fpm
If this succeeds, try installing Nagios XI again. Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Nagios XI installtion error

Post by RIDS_I2MP »

Hello,

Yes, it was giving error because of package.
I installed the package and followed the steps provided by you. The installation is complete now.

Thanks for your help!!
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI installtion error

Post by scottwilkerson »

RIDS_I2MP wrote:Hello,

Yes, it was giving error because of package.
I installed the package and followed the steps provided by you. The installation is complete now.

Thanks for your help!!
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked