Error installing Nagios XI on Linux (HTTPD) Lib not found
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Error installing Nagios XI on Linux (HTTPD) Lib not found
Getting the following error when attempting to install Nagios XI on Redhat
uname -r
2.6.32-358.el6.x86_64
Adding Sourceguardian extension to php.ini
Stopping httpd: [FAILED]
Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No su
[FAILED]
RESULT=1
uname -r
2.6.32-358.el6.x86_64
Adding Sourceguardian extension to php.ini
Stopping httpd: [FAILED]
Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No su
[FAILED]
RESULT=1
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
Try:
This should be a standard package housed in updates or base. Are you using a yum proxy or satellite server?
Code: Select all
yum install aprNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
using yum. so try the above? (I should disclaim that this is my first real Unix rodeo so i'll be learning as I go)sreinhardt wrote:Try:
This should be a standard package housed in updates or base. Are you using a yum proxy or satellite server?Code: Select all
yum install apr
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
So now I got further but error'd out here:
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
NOTE: If prompted, enter the MySQL root password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
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: './A-subcomponents'
looking at the log now
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
NOTE: If prompted, enter the MySQL root password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR: Subcomponent 'ndoutils' installation failed - exiting.
Subcomponents installation failed - exiting
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: './A-subcomponents'
looking at the log now
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
Error I'm finding in messages: (Deleted our directory info because I'm paranoid with all the hacking lately)
Sep 26 08:13:22 esu****** vasd[2314]: _create_rule_from_local_file: Cannot locate <***deleted***.***\******_*deleted*>(****_********) from file </etc/ opt/quest/vas/users.allow>, error: <2>. Resolution will be attempted again in 30 seconds.
Sep 26 08:13:22 esu****** vasd[2314]: _create_rule_from_local_file: Cannot locate <***deleted***.***\******_*deleted*>(****_********) from file </etc/ opt/quest/vas/users.allow>, error: <2>. Resolution will be attempted again in 30 seconds.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
Not sure what vasd is, but I know it would not be enabled\installed by default with XI. Looks like mysql was not started last time, how about:
if it is not started:
Code: Select all
service mysqld statusCode: Select all
service mysqld start
./fullinstallNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
First off, thank you so much for your assistance.
She was gonna complete this time but error'd out here:
**************************************************************************
Installing Nagios XI base files...
Creating product directory...
Adding password for user nagiosadmin
Reloading httpd:
Building latest perms binary...
Checking PostgresQL status...
ERROR: PostgresQL not running - exiting.
ERROR: Nagios XI database was not setup properly - exiting.
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: './B-installxi'
********************************************************************************************
So guessing I need to get PostgresQL running, I've also reached out to my unix team for assistance. As I'm not sure how to do that, not seeing it in the directories I'm googling.
Thoughts?
She was gonna complete this time but error'd out here:
**************************************************************************
Installing Nagios XI base files...
Creating product directory...
Adding password for user nagiosadmin
Reloading httpd:
Building latest perms binary...
Checking PostgresQL status...
ERROR: PostgresQL not running - exiting.
ERROR: Nagios XI database was not setup properly - exiting.
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: './B-installxi'
********************************************************************************************
So guessing I need to get PostgresQL running, I've also reached out to my unix team for assistance. As I'm not sure how to do that, not seeing it in the directories I'm googling.
Thoughts?
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
You can try starting postgres by running in the CLI:
then running the "fullinstall" script again.
BTW, are you installing Nagios XI on a "clean" system? Can you upload the "install.log"?
Code: Select all
service postgresql startBTW, are you installing Nagios XI on a "clean" system? Can you upload the "install.log"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
Well boy to I feel like a horses pa-toot. I tried starting the service but used caps like the error used....lmiltchev wrote:You can try starting postgres by running in the CLI:
then running the "fullinstall" script again.Code: Select all
service postgresql start
BTW, are you installing Nagios XI on a "clean" system? Can you upload the "install.log"?
Running the fullinstall again now. It is a clean system, server was just built days ago. I'll look for the install log to upload.
-
JakeHatMacys
- Posts: 281
- Joined: Thu Sep 25, 2014 3:21 pm
Re: Error installing Nagios XI on Linux (HTTPD) Lib not foun
Just wanted to report the install finished and currently configuring the UI.
Thanks again for all your help. I'm still a fish out of water with the Unix environment but i'll learn in time.
Thanks again for all your help. I'm still a fish out of water with the Unix environment but i'll learn in time.