Hi @all,
I tried to install nrpe agent on a Linux SLES11 SP3 OS. Never had any problems with other installations but somethings works wrong here.
Please find attached install.log file.
I don't see any issues there.
Thank you for your support.
Cheers, Christoph
nrpe agent installation fails on SLES11 SP3
nrpe agent installation fails on SLES11 SP3
You do not have the required permissions to view the files attached to this post.
Re: nrpe agent installation fails on SLES11 SP3
Is that your full install.log or did it get truncated? The last part I'm seeing is -
What issues are you encountering?
Code: Select all
Installing SUSE SDK ...
Preparing... ##################################################
package sle-sdk-release-SDK-11.3-1.69.x86_64 is already installed
package sle-sdk-release-11.3-1.69.x86_64 is already installed
Former Nagios Employee
Re: nrpe agent installation fails on SLES11 SP3
Yes, that's full install log, nothing else to see
Re: nrpe agent installation fails on SLES11 SP3
Are you just trying to run ./fullinstall as root?
Former Nagios Employee.
me.
me.
Re: nrpe agent installation fails on SLES11 SP3
yes, always logged in with root user and I tried "sudo ./fullinstall". I just tried it again, following error at the end (after "package ... is already installed" as you wrote above):
RESULT=4
===================
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: './0-repos'
RESULT=4
===================
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: './0-repos'
Re: nrpe agent installation fails on SLES11 SP3
Can you try to run the fullinstall script with bash -x fullinstall? Post the full output here.
Former Nagios Employee.
me.
me.
Re: nrpe agent installation fails on SLES11 SP3
Here's the output:
+ ./init.sh
+ . ./xi-sys.cfg
++ apachegroup=apache
++ apacheuser=apache
++ chownbin=/bin/chown
++ groupaddbin=/usr/sbin/groupadd
++ groupdelbin=/usr/sbin/groupdel
++ htpasswdbin=/usr/bin/htpasswd
++ httpdconfdir=/etc/httpd/conf.d
++ httpd=httpd
++ mkdirbin=/bin/mkdir
++ mrtgcfg=/etc/mrtg/mrtg.cfg
++ mysqld=mysqld
++ mysqlpass=nagiosxi
++ pgsqlrootpass=postgres
++ pgsqlpass=nagiosxi
++ nagioscmdgroup=nagcmd
++ nagiosgroup=nagios
++ nagiosuser=nagios
++ nagioswebpwd=nagiosadmin
++ nagioswebuser=nagiosadmin
++ phpconfd=/etc/php.d
++ php_extension_dir=/usr/lib/php/modules
++ phpini=/etc/php.ini
++ proddir=/usr/local/nagiosxi
++ useraddbin=/usr/sbin/useradd
++ usermodbin=/usr/sbin/usermod
++ userdelbin=/usr/sbin/userdel
++ xiver=2011r2.3
++ distro='SUSE LINUX'
++ version=11.3
++ ver=11
++ architecture=x86_64
++ dist=suse
++ arch=x86_64
+ log=install.log
+ export INTERACTIVE=True
+ INTERACTIVE=True
++ id -u
+ '[' 0 -ne 0 ']'
+ caninstall=no
+ '[' 'SUSE LINUX' == CentOS ']'
+ '[' 'SUSE LINUX' == RedHatEnterpriseServer ']'
+ '[' 'SUSE LINUX' == openSUSE ']'
+ '[' 'SUSE LINUX' == 'SUSE LINUX' ']'
+ caninstall=yes
+ case "$dist" in
+ '[' yes == no ']'
+ path_is_ok
+ awk 'BEGIN{RS=":"} {p[$0]++} END{if (p["/sbin"] && p["/usr/sbin"]) exit(0); exit(1)}'
+ echo /opt/oracle/product/11.2/db_1/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
+ '[' -n '' ']'
+ '[' True = True ']'
+ cat
============================
Nagios Linux Agent Installer
============================
This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.
IMPORTANT: This script should only be used on a clean installed system:
RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian
Do NOT use this on a system running any other distro or that
does not allow additional package installation.
+ read -p 'Do you want to continue? [Y/n] ' res
Do you want to continue? [Y/n] Y
+ case "$res" in
+ echo 'Proceeding with installation...'
Proceeding with installation...
+ cat
++ date
+ run_sub ./0-repos noupdate
+ echo 'Running '\''./0-repos'\''...'
Running './0-repos'...
+ FAILFILE=.fail-12519
+ rm -f .fail-12519
+ eval ./0-repos noupdate
+ tee -a install.log
++ ./0-repos noupdate
Configuring Repos...
Downloading SUSE SDK ...
--2016-06-13 22:13:54-- https://nu.novell.com/repo/$RCE/SLE11-S ... x86_64.rpm
Auflösen des Hostnamen »nu.novell.com«.... 68.232.34.212
Verbindungsaufbau zu nu.novell.com|68.232.34.212|:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 3447 (3,4K) [application/octet-stream]
In »sle-sdk-release-11.3-1.69.x86_64.rpm.2« speichern.
0K ... 100% 5,04M=0,001s
2016-06-13 22:13:54 (5,04 MB/s) - »sle-sdk-release-11.3-1.69.x86_64.rpm.2« gespeichert [3447/3447]
--2016-06-13 22:13:54-- https://nu.novell.com/repo/$RCE/SLE11-S ... x86_64.rpm
Auflösen des Hostnamen »nu.novell.com«.... 68.232.34.212
Verbindungsaufbau zu nu.novell.com|68.232.34.212|:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 2814 (2,7K) [application/octet-stream]
In »sle-sdk-release-SDK-11.3-1.69.x86_64.rpm.2« speichern.
0K .. 100% 6,78M=0s
2016-06-13 22:13:55 (6,78 MB/s) - »sle-sdk-release-SDK-11.3-1.69.x86_64.rpm.2« gespeichert [2814/2814]
Installing SUSE SDK ...
Preparing... ##################################################
package sle-sdk-release-SDK-11.3-1.69.x86_64 is already installed
package sle-sdk-release-11.3-1.69.x86_64 is already installed
+ echo 6
++ cat .fail-12519
+ echo RESULT=6
RESULT=6
+ '[' -f .fail-12519 ']'
+ cat
===================
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: './0-repos'
+ exit 1
+ ./init.sh
+ . ./xi-sys.cfg
++ apachegroup=apache
++ apacheuser=apache
++ chownbin=/bin/chown
++ groupaddbin=/usr/sbin/groupadd
++ groupdelbin=/usr/sbin/groupdel
++ htpasswdbin=/usr/bin/htpasswd
++ httpdconfdir=/etc/httpd/conf.d
++ httpd=httpd
++ mkdirbin=/bin/mkdir
++ mrtgcfg=/etc/mrtg/mrtg.cfg
++ mysqld=mysqld
++ mysqlpass=nagiosxi
++ pgsqlrootpass=postgres
++ pgsqlpass=nagiosxi
++ nagioscmdgroup=nagcmd
++ nagiosgroup=nagios
++ nagiosuser=nagios
++ nagioswebpwd=nagiosadmin
++ nagioswebuser=nagiosadmin
++ phpconfd=/etc/php.d
++ php_extension_dir=/usr/lib/php/modules
++ phpini=/etc/php.ini
++ proddir=/usr/local/nagiosxi
++ useraddbin=/usr/sbin/useradd
++ usermodbin=/usr/sbin/usermod
++ userdelbin=/usr/sbin/userdel
++ xiver=2011r2.3
++ distro='SUSE LINUX'
++ version=11.3
++ ver=11
++ architecture=x86_64
++ dist=suse
++ arch=x86_64
+ log=install.log
+ export INTERACTIVE=True
+ INTERACTIVE=True
++ id -u
+ '[' 0 -ne 0 ']'
+ caninstall=no
+ '[' 'SUSE LINUX' == CentOS ']'
+ '[' 'SUSE LINUX' == RedHatEnterpriseServer ']'
+ '[' 'SUSE LINUX' == openSUSE ']'
+ '[' 'SUSE LINUX' == 'SUSE LINUX' ']'
+ caninstall=yes
+ case "$dist" in
+ '[' yes == no ']'
+ path_is_ok
+ awk 'BEGIN{RS=":"} {p[$0]++} END{if (p["/sbin"] && p["/usr/sbin"]) exit(0); exit(1)}'
+ echo /opt/oracle/product/11.2/db_1/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
+ '[' -n '' ']'
+ '[' True = True ']'
+ cat
============================
Nagios Linux Agent Installer
============================
This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.
IMPORTANT: This script should only be used on a clean installed system:
RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian
Do NOT use this on a system running any other distro or that
does not allow additional package installation.
+ read -p 'Do you want to continue? [Y/n] ' res
Do you want to continue? [Y/n] Y
+ case "$res" in
+ echo 'Proceeding with installation...'
Proceeding with installation...
+ cat
++ date
+ run_sub ./0-repos noupdate
+ echo 'Running '\''./0-repos'\''...'
Running './0-repos'...
+ FAILFILE=.fail-12519
+ rm -f .fail-12519
+ eval ./0-repos noupdate
+ tee -a install.log
++ ./0-repos noupdate
Configuring Repos...
Downloading SUSE SDK ...
--2016-06-13 22:13:54-- https://nu.novell.com/repo/$RCE/SLE11-S ... x86_64.rpm
Auflösen des Hostnamen »nu.novell.com«.... 68.232.34.212
Verbindungsaufbau zu nu.novell.com|68.232.34.212|:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 3447 (3,4K) [application/octet-stream]
In »sle-sdk-release-11.3-1.69.x86_64.rpm.2« speichern.
0K ... 100% 5,04M=0,001s
2016-06-13 22:13:54 (5,04 MB/s) - »sle-sdk-release-11.3-1.69.x86_64.rpm.2« gespeichert [3447/3447]
--2016-06-13 22:13:54-- https://nu.novell.com/repo/$RCE/SLE11-S ... x86_64.rpm
Auflösen des Hostnamen »nu.novell.com«.... 68.232.34.212
Verbindungsaufbau zu nu.novell.com|68.232.34.212|:443... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 2814 (2,7K) [application/octet-stream]
In »sle-sdk-release-SDK-11.3-1.69.x86_64.rpm.2« speichern.
0K .. 100% 6,78M=0s
2016-06-13 22:13:55 (6,78 MB/s) - »sle-sdk-release-SDK-11.3-1.69.x86_64.rpm.2« gespeichert [2814/2814]
Installing SUSE SDK ...
Preparing... ##################################################
package sle-sdk-release-SDK-11.3-1.69.x86_64 is already installed
package sle-sdk-release-11.3-1.69.x86_64 is already installed
+ echo 6
++ cat .fail-12519
+ echo RESULT=6
RESULT=6
+ '[' -f .fail-12519 ']'
+ cat
===================
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: './0-repos'
+ exit 1
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: nrpe agent installation fails on SLES11 SP3
What is the output of these commands:
Code: Select all
suse_register
zypper pdAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: nrpe agent installation fails on SLES11 SP3
zypper pd:
[09:26] [root@at466tasi1-TestInstallation ~]$ zypper pd
Daten des Repositorys laden ...
Installierte Pakete lesen ...
S | Repository | Interner Name | Name | Version | Arch | Ist Basis
--+------------+---------------+-------------------------------------------------------+------------+--------+----------
i | @System | SUSE_SLES | SUSE Linux Enterprise Server 11 SP3 | 11.3-1.138 | x86_64 | Ja
i | @System | sle-sdk | SUSE Linux Enterprise Software Development Kit 11 SP3 | 11.3-1.69 | x86_64 | Nein
suse_register:
with which options?
[09:26] [root@at466tasi1-TestInstallation ~]$ zypper pd
Daten des Repositorys laden ...
Installierte Pakete lesen ...
S | Repository | Interner Name | Name | Version | Arch | Ist Basis
--+------------+---------------+-------------------------------------------------------+------------+--------+----------
i | @System | SUSE_SLES | SUSE Linux Enterprise Server 11 SP3 | 11.3-1.138 | x86_64 | Ja
i | @System | sle-sdk | SUSE Linux Enterprise Software Development Kit 11 SP3 | 11.3-1.69 | x86_64 | Nein
suse_register:
with which options?
Re: nrpe agent installation fails on SLES11 SP3
I think he is trying to determine is your server is registered, is it?
Can you reinstall the sle-sdk-release-11.3-1.69 package and see if the NRPE installation continues on?
Can you reinstall the sle-sdk-release-11.3-1.69 package and see if the NRPE installation continues on?
Be sure to check out our Knowledgebase for helpful articles and solutions!