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.
Installation error on CentOS 6.2
Re: Installation error on CentOS 6.2
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
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error on CentOS 6.2
You appear to have a somewhat different than standard kernel.
If you edit the file 0-yum and change the following line (3):
Additionally, on a clean 6.2 you should run the following
then try to run ./fullinstall again
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"Code: Select all
yum install curl wget -yRe: Installation error on CentOS 6.2
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error on CentOS 6.2
Do my recommendation above but it is el6 NOT e16
That is el like elephant.
That is el like elephant.
Re: Installation error on CentOS 6.2
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error on CentOS 6.2
not sure why it isn't installing RPMforge...Try this
Then a fullinstall again...
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
Re: Installation error on CentOS 6.2
Many thanks! It worked, installation was finished and i am already logged-in the Nagios XI system.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation error on CentOS 6.2
Awesome. glad I could help.