nagiosxi-5.8.5-1.el7 / ndo install fail
Posted: Fri Aug 13, 2021 4:20 am
Hi all,
there is an issue with the subcomponents/ndo/post-install script called from rpminstall.
it needs to run db-mgmt.sh from the archive that has never been uncompressed.
possible patch:
there is an issue with the subcomponents/ndo/post-install script called from rpminstall.
it needs to run db-mgmt.sh from the archive that has never been uncompressed.
possible patch:
Code: Select all
--- post-install.org 2021-08-13 11:00:13.183464903 +0200
+++ post-install 2021-08-13 11:04:50.286461804 +0200
@@ -28,6 +28,7 @@
# Install the database
# -- Apply some changes for newer MySQL restrictions if the ndo version isn't updated
(
+ tar -zxf "${pkgname}.tar.gz"
cd ./"$pkgname"/db
./db-mgmt.sh -u "$ndouser" -p "$ndopass" -h "$ndohost" -d nagios
)