Installation failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
quental
Posts: 74
Joined: Tue Apr 17, 2012 5:12 am

Re: Installation failed

Post by quental »

hi,
any suggestions to make?


thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installation failed

Post by scottwilkerson »

Several things....

First:
Looking over your log file this certainly wasn't a clean minimal install system like the installer expects.

Second:
I have no idea why the output of the previous command has * after each.

Third, there should be other items writing to this directory that are not showing up.

From here lets run

Code: Select all

sestatus
ls -la /usr/local/nagiosxi
ls -la /usr/local/nagiosxi/scripts
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
quental
Posts: 74
Joined: Tue Apr 17, 2012 5:12 am

Re: Installation failed

Post by quental »

Hi,
I put the result of the commands:

Code: Select all

sestatus
SELinux status:                 disabled

Code: Select all

ls -la /usr/local/nagiosxi
total 44
drwxr-xr-x 10 nagios nagios 4096 mar  4 16:52 .
drwxr-xr-x 17 root   root   4096 mar  4 17:09 ..
drwxr-xr-x  2 nagios nagios 4096 mar  4 16:52 cron
drwxr-xr-x  3 nagios nagios 4096 mar  5 16:48 etc
drwxr-xr-x 18 nagios nagios 4096 mar  4 16:52 html
drwxr-xr-x  3 nagios nagios 4096 mar  4 16:52 nom
drwxr-xr-x  2 nagios nagios 4096 mar  5 17:16 scripts
drwsrwsr-x  2 apache nagios 4096 mar  4 17:11 tmp
drwxr-xr-x  2 nagios nagios 4096 mar  4 16:52 tools
drwxr-xr-x  4 nagios nagios 4096 mar  5 17:25 var

Code: Select all

ls -la /usr/local/nagiosxi/scripts
total 440
drwxr-xr-x  2 nagios nagios   4096 mar  5 17:16 .
drwxr-xr-x 10 nagios nagios   4096 mar  4 16:52 ..
-rwxr-xr-x  1 nagios nagios   2764 mar  4 16:52 backup_xi.sh
-rwxr-xr-x  1 nagios nagios    649 mar  4 16:52 export_nagiosql.sh
-rwxr-xr-x  1 nagios nagios    821 mar  4 16:52 handle_nagioscore_event.php
-rwxr-xr-x  1 nagios nagios    829 mar  4 16:52 handle_nagioscore_notification.php
-rwxr-xr-x  1 nagios nagios    429 mar  4 16:52 import_nagiosql.sh
-rwxr-xr-x  1 nagios nagios    149 mar  4 16:52 kill_rrdtool.sh
-rw-r--r--  1 root   root       90 mar  5 12:01 nagiosql.cookies
-rw-r--r--  1 nagios nagios 272372 mar  4 16:52 nagiosql_defaults.sql
-rwxr-xr-x  1 nagios nagios    970 mar  4 16:52 nagiosql_delete_contact.php
-rwxr-xr-x  1 nagios nagios   2010 mar  4 16:52 nagiosql_delete_host.php
-rwxr-xr-x  1 nagios nagios    505 mar  4 16:52 nagiosql_delete_object.sh
-rwxr-xr-x  1 nagios nagios   3118 mar  4 16:52 nagiosql_delete_service.php
-rwxr-xr-x  1 nagios nagios    993 mar  4 16:52 nagiosql_delete_timeperiod.php
-rwxr-xr-x  1 nagios nagios   1637 mar  4 16:52 nagiosql_exportall.php
-rwxr-xr-x  1 nagios nagios   1323 mar  4 16:52 nagiosql_importall.php
-rw-r--r--  1 root   root        0 mar  5 12:01 nagiosql.login
-rwxr-xr-x  1 nagios nagios   1848 mar  5 17:16 nagiosql_login.php
-rwxr-xr-x  1 nagios nagios   2108 mar  4 16:52 nagiosql_snapshot.sh
-rwxr-xr-x  1 nagios nagios    258 mar  4 16:52 nagiosql_trim_backups.sh
-rwxr-xr-x  1 nagios nagios    515 mar  4 16:52 nom_create_nagioscore_checkpoint_cond.sh
-rwxr-xr-x  1 nagios nagios    826 mar  4 16:52 nom_create_nagioscore_checkpoint.sh
-rwxr-xr-x  1 nagios nagios    632 mar  4 16:52 nom_create_nagioscore_errorpoint.sh
-rwxr-xr-x  1 nagios nagios    784 mar  4 16:52 nom_restore_nagioscore_checkpoint.sh
-rwxr-xr-x  1 nagios nagios    819 mar  4 16:52 nom_restore_nagioscore_checkpoint_specific.sh
-rwxr-xr-x  1 nagios nagios   2972 mar  4 16:52 nom_trim_nagioscore_checkpoints.sh
-rwxr-xr-x  1 nagios nagios   4592 mar  4 16:52 parse_core_eventlog.php
-rwxr-xr-x  1 nagios nagios   6074 mar  4 16:52 patch_ndoutils.php
-rwxr-xr-x  1 nagios nagios    597 mar  4 16:52 reconfigure_nagios.sh
-rwxr-xr-x  1 nagios nagios   1037 mar  4 16:52 repairmysql.sh
-rwsr-xr-x  1 root   root     7092 mar  4 16:52 reset_config_perms
-rw-r--r--  1 nagios nagios    280 mar  4 16:52 reset_config_perms.c
-rwsr-xr-x  1 root   root     1187 mar  4 16:52 reset_config_perms.sh
-rwxr-xr-x  1 nagios nagios   1155 mar  4 16:52 reset_nagiosadmin_password.php
-rwxr-xr-x  1 nagios nagios    964 mar  4 16:52 restart_nagios_with_export.sh
-rwxr-xr-x  1 nagios nagios    765 mar  4 16:52 restore_defaults.sh
-rwxr-xr-x  1 nagios nagios   5095 mar  4 16:52 restore_xi.sh
-rwxr-xr-x  1 nagios nagios   1847 mar  4 16:52 send_to_auditlog.php
-rw-r--r--  1 nagios nagios   2379 mar  4 16:52 uninstall_xi.sh
thanks.
quental
Posts: 74
Joined: Tue Apr 17, 2012 5:12 am

Re: Installation failed

Post by quental »

Hi scott,

is there any script to clean the system?

try to launch the installation again (./fullinstall) with clean system?


thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Installation failed

Post by abrist »

Was this RHEL install new and clean? Was it a minimal install?
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.
quental
Posts: 74
Joined: Tue Apr 17, 2012 5:12 am

Re: Installation failed

Post by quental »

Hi ,

Yes. there was a new install....
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installation failed

Post by sreinhardt »

As abrist mentioned, was this a minimal install? When choosing groups of packages, what did you select upon install? For just a Nagios server, we highly prefer no additional packages other than base, be installed.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
quental
Posts: 74
Joined: Tue Apr 17, 2012 5:12 am

Re: Installation failed

Post by quental »

Hi,
Sorry for the delay.

Case solved!!!

I clean the system(deleted all, uninstall packages, etc...), and launch a new install, and OK.

You can close the case.

regards.
:D :D :D
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installation failed

Post by sreinhardt »

Thanks for the update!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked