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!!
Nagios XI installtion error
Nagios XI installtion error
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios XI installtion error
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.
Is the configuration file present on the server?
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI installtion error
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!
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.
I2MP Team.
Re: Nagios XI installtion error
This is strange - the php-fpm package should've been installed on your system, but it's not. Try installing it by running:
then run:
If this succeeds, try installing Nagios XI again. Let us know if this helped.
Code: Select all
dnf install php-fpCode: Select all
systemctl enable php-fpm
systemctl start php-fpmBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI installtion error
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!!
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.
I2MP Team.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI installtion error
Great!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!!
Locking thread