Hello Guys,
I tried to install "Nagios XI", However, after running ./fullinstall command I am getting error as "The script that failed was: './1-prereqs'"
I am new to "Nagios XI", So, Can anyone please let me know, How to solve this issue?
Following is the complete error log,
--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-imap
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-pgsql
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-mssql
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-pdo
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-mysql
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-pecl-ssh2
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-snmp
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-gd
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: mod_ssl
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-xml
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: httpd
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-ldap
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-devel
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-mbstring
Error: Package: nagiosxi-deps-el7-5.6.8-1.noarch (/nagiosxi-deps-el7-5.6.8-1.noarch)
Requires: php-pear
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
How to solve "./1-prereqs" issue.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to solve "./1-prereqs" issue.
Hi @Rohitp,
Thanks for posting the log. There are some missing dependencies and the installer failed. What type of server are you installing on? Does it have access to the internet?
We recommend installing on a fresh, minimal system with nothing else configured to avoid package conflicts with other applications.
Run the following and try again:
If that fails, then post the output of the following command. Thanks
Thanks for posting the log. There are some missing dependencies and the installer failed. What type of server are you installing on? Does it have access to the internet?
We recommend installing on a fresh, minimal system with nothing else configured to avoid package conflicts with other applications.
Run the following and try again:
Code: Select all
yum clean all
yum update
Code: Select all
yum repolist -v
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!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to solve "./1-prereqs" issue.
Hi @rohitp,
One more important thing. I see this is your first post and I'd like to thank you for giving Nagios XI a try. Besides the support forum, please check out our knowledgebase for useful tech tips and HowTos. And to extend product functionality, you'll find thousands of plugins and addons on the Nagios Exchange. Welcome aboard!
One more important thing. I see this is your first post and I'd like to thank you for giving Nagios XI a try. Besides the support forum, please check out our knowledgebase for useful tech tips and HowTos. And to extend product functionality, you'll find thousands of plugins and addons on the Nagios Exchange. Welcome aboard!
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!