Page 2 of 2
Re: NagiosXI Install Problems
Posted: Fri Jul 08, 2011 3:59 pm
by mguthrie
Can you show me the output from:
Re: NagiosXI Install Problems
Posted: Fri Jul 08, 2011 6:28 pm
by bvinisky
I think we'll be installing CentOS at this point and just be done with it. I've run the install on a clean CentOS vm and it installed without issue. I believe the problem stems from (not) being registered with RHN, as you had previously suggested. We're managing our systems with Satellite, which registers our boxes with RHN and should associate them with the right core repos. But, technically it's a proxy and it must be restricting access to a repo that's needed. For whatever dumb reason I didn't think of it as being an issue when I read the part in the FAQ about not supporting proxies. It all adds up though, when you look at all the different symptoms. Thanks though, I appreciate all the help.
Just in case this sheds any more light, here's the yum update output...
[root@groundwork-new nagiosxi]# yum update
Loaded plugins: rhnplugin, security
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package GeoIP.i386 0:1.4.7-0.1.20090931cvs.el5 set to be updated
---> Package python-ethtool.i386 0:0.6-2.el5 set to be updated
--> Processing Dependency: libnl.so.1 for package: python-ethtool
--> Running transaction check
---> Package libnl.i386 0:1.0-0.10.pre5.5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================
Installing:
GeoIP i386 1.4.7-0.1.20090931cvs.el5 epel 710 k
replacing geoip.i386 1.4.6-1.el5.rf
Updating:
python-ethtool i386 0.6-2.el5 epel 27 k
Installing for dependencies:
libnl i386 1.0-0.10.pre5.5 rhel55 95 k
Transaction Summary
============================================================================================================================================================
Install 2 Package(s)
Upgrade 1 Package(s)
Total download size: 833 k
Is this ok [y/N]:
Also, here are the repos listed after a yum clean all...
[root@groundwork-new nagiosxi]# yum list postgresql
Loaded plugins: rhnplugin, security
clone-2-map2_prereq_rhel55_32 | 1.1 kB 00:00
clone-2-map2_prereq_rhel55_32/primary | 32 kB 00:00
clone-2-map2_prereq_rhel55_32 69/69
epel | 3.7 kB 00:00
epel/primary_db | 3.1 MB 00:03
map2_pgsql90_32 | 871 B 00:00
map2_pgsql90_32/primary | 31 kB 00:00
map2_pgsql90_32 162/162
rhel55 | 871 B 00:00
rhel55/primary | 712 kB 00:00
rhel55 2306/2306
rhel55_supplementary | 871 B 00:00
rhel55_supplementary/primary | 17 kB 00:00
rhel55_supplementary 52/52
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.9 MB 00:08
rpmforge 10868/10868
Available Packages
postgresql.i386 8.1.18-2.el5_4.1 rhel55
Re: NagiosXI Install Problems
Posted: Mon Jul 11, 2011 1:26 pm
by lmiltchev
Could you, please, run in terminal (as root) these commands and post the outputs of each one:
# rhn_register
# yum repolist
# yum install mysql
# yum install yum postgresql
Re: NagiosXI Install Problems
Posted: Mon Jul 11, 2011 5:14 pm
by bvinisky
I was able to get the install to work under Red Hat after disconnecting from Satellite, registering directly with Red Hat and then adding the EPEL repo manually. All dependencies installed after those steps. I removed the following directories and then ran the full install again:
/usr/local/nagiosxi/
/usr/local/nagios/
/etc/nagios/
/etc/nagiosql/
/var/lib/mysql
/var/lib/pgsql/
/var/www/html/nagiosql/
It's now working. Thanks for the help all!
Re: NagiosXI Install Problems
Posted: Tue Jul 12, 2011 9:53 am
by lmiltchev
Glad we could help.