Page 2 of 2

Re: Installation failed

Posted: Tue Mar 05, 2013 10:47 am
by quental
hi,
any suggestions to make?


thanks.

Re: Installation failed

Posted: Tue Mar 05, 2013 11:18 am
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

Re: Installation failed

Posted: Tue Mar 05, 2013 11:32 am
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.

Re: Installation failed

Posted: Tue Mar 05, 2013 11:57 am
by quental
Hi scott,

is there any script to clean the system?

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


thanks.

Re: Installation failed

Posted: Tue Mar 05, 2013 12:09 pm
by abrist
Was this RHEL install new and clean? Was it a minimal install?

Re: Installation failed

Posted: Wed Mar 06, 2013 4:17 am
by quental
Hi ,

Yes. there was a new install....

Re: Installation failed

Posted: Wed Mar 06, 2013 10:07 am
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.

Re: Installation failed

Posted: Thu Mar 21, 2013 1:52 pm
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

Re: Installation failed

Posted: Thu Mar 21, 2013 2:13 pm
by sreinhardt
Thanks for the update!