================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
nagiosxi-deps noarch 2014r2.5-1 /nagiosxi-deps-2014r2.5-1.noarch 0.0
Transaction Summary
================================================================================
Upgrade 1 Package(s)
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
graphviz is needed by nagiosxi-deps-2014r2.5-1.noarch
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
nagiosxi-deps-2014r2.3-1.noarch has missing requires of graphviz
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2015-02-11-08-25Yia2lH.yumtx
RESULT=1
===================
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: './1-prereqs'
I did try the install on this box in the past on probably the previous version before we had our firewall issue sorted. Supposing we need to clean out anything that may have been put in place previously???
JakeHatMacys wrote: Supposing we need to clean out anything that may have been put in place previously???
Yep, though you may have issues if the users and dbs were already created - the script may bail out.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
It all depends where the script failed previously. The biggest issues I have seen in the past are users preexisting when the script assumes they will not be, and databases/tables created when the script assumes the should not be. I would suggest running the install and then posting why it failed here.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist wrote:It all depends where the script failed previously. The biggest issues I have seen in the past are users preexisting when the script assumes they will not be, and databases/tables created when the script assumes the should not be. I would suggest running the install and then posting why it failed here.
----------------------------------------------------------------
gcc -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-declarations -Wnested-externs -Winline -W -DHAVE_CONFIG_H -c ./src/rateup.c -o bin/rateup.o
./src/rateup.c: In function âupdateâ:
./src/rateup.c:1590: warning: comparison between signed and unsigned integer expressions
./src/rateup.c:1627: warning: comparison between signed and unsigned integer expressions
./src/rateup.c:1664: warning: comparison between signed and unsigned integer expressions
./src/rateup.c:1701: warning: comparison between signed and unsigned integer expressions
gcc bin/rateup.o -o bin/rateup -lgd -lpng -lz -lm
/usr/bin/perl -0777 -p -i~ -e "s'^#!\s*/\S*perl'#! /usr/bin/perl'" ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/bin/perl -0777 -p -i~ -e 's@GRAPHFMT="...";@GRAPHFMT="png";@' ./bin/mrtg ./bin/indexmaker
/usr/bin/perl -0777 -p -i~ -e "s'^#!\s*/\S*perl'#! /usr/bin/perl'" ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/bin/perl -0777 -p -i~ -e 's@GRAPHFMT="...";@GRAPHFMT="png";@' ./bin/mrtg ./bin/indexmaker
/bin/sh ./mkinstalldirs /usr/bin
for x in ./bin/mrtg ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg-traffic-sum; do \
/usr/bin/install -c -m 755 $x /usr/bin; done
for x in bin/rateup; do \
/usr/bin/install -c -m 755 $x /usr/bin; done
/bin/sh ./mkinstalldirs /usr/lib/mrtg2/Pod
for x in ./lib/mrtg2/*.pm; do \
/usr/bin/install -c -m 644 $x /usr/lib/mrtg2; done
for x in ./lib/mrtg2/Pod/*.pm; do \
/usr/bin/install -c -m 644 $x /usr/lib/mrtg2/Pod; done
/bin/sh ./mkinstalldirs /usr/share/mrtg2/icons
for x in ./images/*.gif ./images/*.png; do \
/usr/bin/install -c -m 644 $x /usr/share/mrtg2/icons; done
/bin/sh ./mkinstalldirs /usr/share/doc/mrtg2
(cd .; for x in COPYING COPYRIGHT README CHANGES THANKS doc/*.pod doc/*.txt doc/*.png; do \
/usr/bin/install -c -m 644 $x /usr/share/doc/mrtg2; done)
/bin/sh ./mkinstalldirs /usr/share/man/man1
for x in ./doc/*.1; do \
/usr/bin/install -c -m 644 $x /usr/share/man/man1; done
MRTG-POST
MRTG installed OK
Subcomponent 'mrtg' installed OK
Subcomponents installed OK
RESULT=0
Running './B-installxi'...
Installing Nagios XI base files...
Creating product directory...
Adding password for user nagiosadmin
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Building latest perms binary...
Checking PostgresQL status...
PostgresQL running - continuing...
Creating role and database...
ERROR: role "nagiosxi" already exists
ERROR: database "nagiosxi" already exists
ERROR: Nagios XI database was not setup properly - exiting.
RESULT=1
===================
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: './B-installxi'
The "fullinstall" scripts needs to be run on a "clean" system. The problem is that you have some elements of XI installed already:
ERROR: role "nagiosxi" already exists
ERROR: database "nagiosxi" already exists
There is a script in the "/usr/local/nagiosxi/scripts/" directory that you can run if you want to completely uninstall Nagios XI and start clean but you didn't get so far.
In any case, you can run some of the commands from the script to remove old traces of XI. I am posting the "uninstall_xi.sh" below: