Page 1 of 1
Installation error on CentOS 6.2
Posted: Mon Jan 30, 2012 4:04 pm
by klaus
I get the following error message in the install.log when installing Nagios XI on CentOS 6.2. Can you please check! Many thanks in advance.
Nagios XI Installation Log
==========================
DATE: Mo 30. Jan 16:46:24 CET 2012
DISTRO INFO:
CentOS
6.2
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2011R1.9
major=2011
minor=R1.9
releasedate=2011-12-13
release=209
Configuring Yum...
2.6.18-028stab091.2 is not currently supported. Please use CentOS or RHEL
versions 5 or 6 instead.
Re: Installation error on CentOS 6.2
Posted: Mon Jan 30, 2012 4:22 pm
by yancy
Klaus,
Is this a fresh install of CentOS 6.2? i386 or 64bit?
It seems like the yum install doesn't like the current kernel version your running.
can you post your kernel version
uname -r
Re: Installation error on CentOS 6.2
Posted: Mon Jan 30, 2012 4:25 pm
by scottwilkerson
You appear to have a somewhat different than standard kernel.
If you edit the file 0-yum and change the following line (3):
Code: Select all
dist=$(uname -r | sed 's/.*\.\(el[0-9]\+\).*/\1/')
to
dist=$"el6"
Additionally, on a clean 6.2 you should run the following
then try to run ./fullinstall again
Re: Installation error on CentOS 6.2
Posted: Tue Jan 31, 2012 3:41 am
by klaus
Dear Yancy & Scott!
uname -r returns the following:
[root@h1997468 ~]# uname -r
2.6.18-028stab091.2
Then I tried the ideas from scott:
The "yum install curl wget -y" completed successfully.
But with the replacement of "e16" which still leads to the error message that this OS relase is not supported.
I therefore commented the following lines in the script 0-yum out:
#case "$dist" in
# el5 | el6)
# :
# ;;
# *)
# echo "$dist is not currently supported. Please use CentOS or RHEL versions 5 or 6 instead." >&2
# exit 1
#esac
This leads to the following output in the install.log. Any ideas whats wrong?
Nagios XI Installation Log
==========================
DATE: Di 31. Jan 09:33:05 CET 2012
DISTRO INFO:
CentOS
6.2
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2011R1.9
major=2011
minor=R1.9
releasedate=2011-12-13
release=209
Configuring Yum...
Enabling RPMForge repo...
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
Fehler: Datei von "glob" nicht gefunden:
rm: Entfernen von „“ nicht möglich: Datei oder Verzeichnis nicht gefunden
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
glibc.i686 2.12-1.47.el6_2.5 updates
glibc-common.i686 2.12-1.47.el6_2.5 updates
openssh.i686 5.3p1-70.el6_2.2 updates
openssh-clients.i686 5.3p1-70.el6_2.2 updates
openssh-server.i686 5.3p1-70.el6_2.2 updates
openssl.i686 1.0.0-20.el6_2.1 updates
ERROR: rpmforge-release RPM was not installed - exiting.
Re: Installation error on CentOS 6.2
Posted: Tue Jan 31, 2012 8:30 am
by scottwilkerson
Do my recommendation above but it is el6 NOT e16
That is el like elephant.
Re: Installation error on CentOS 6.2
Posted: Tue Jan 31, 2012 9:03 am
by klaus
Many thanks for the clarification, copy/paste should have been the better solution for me in this case!
The installation continues but stops many steps later. Here is the install.log. Can you please check again, many tx in advance!
Nagios XI Installation Log
==========================
DATE: Di 31. Jan 14:57:15 CET 2012
DISTRO INFO:
CentOS
6.2
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2011R1.9
major=2011
minor=R1.9
releasedate=2011-12-13
release=209
Configuring Yum...
centos-release-6-2.el6.centos.7.i686
Enabling RPMForge repo...
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
Fehler: Datei von "glob" nicht gefunden:
rm: Entfernen von „“ nicht möglich: Datei oder Verzeichnis nicht gefunden
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
glibc.i686 2.12-1.47.el6_2.5 updates
glibc-common.i686 2.12-1.47.el6_2.5 updates
openssh.i686 5.3p1-70.el6_2.2 updates
openssh-clients.i686 5.3p1-70.el6_2.2 updates
openssh-server.i686 5.3p1-70.el6_2.2 updates
openssl.i686 1.0.0-20.el6_2.1 updates
ERROR: rpmforge-release RPM was not installed - exiting.
Re: Installation error on CentOS 6.2
Posted: Tue Jan 31, 2012 12:13 pm
by scottwilkerson
not sure why it isn't installing RPMforge...Try this
Code: Select all
cd /tmp
curl -L -O http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rm rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Then a fullinstall again...
Re: Installation error on CentOS 6.2
Posted: Tue Jan 31, 2012 1:33 pm
by klaus
Many thanks! It worked, installation was finished and i am already logged-in the Nagios XI system.
Re: Installation error on CentOS 6.2
Posted: Tue Jan 31, 2012 1:52 pm
by scottwilkerson
Awesome. glad I could help.