Page 1 of 1

The update did not complete successfully. Please try updatin

Posted: Wed Aug 09, 2017 2:36 pm
by ponnpr7

Code: Select all

---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Running configuration check...

Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
Error: Could not find any hostgroup matching 'Services Aggregation Point' (config file '/usr/local/nagios/etc/hosts/ALPRGAGQKA0-OA1.cfg', starting on line 16)
Error: Failed to process hostgroup names for host 'ALPRGAGQKA0-OA1' (config file '/usr/local/nagios/etc/hosts/ALPRGAGQKA0-OA1.cfg', starting at line 16)
Error: Invalid max_check_attempts value for host 'AZUSCA21KA0-OA1'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/AZUSCA21KA0-OA1.cfg', starting on line 16)
   Error processing object config files!


***> One or more problems was encountered while processing the config files...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.

Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
 
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1502303724.tar.gz

---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.3.lin  
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[  OK  ]
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs... 
Please wait... 

OLD VERSION: 5408
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.compevo.com
 * epel: kdeforge2.unl.edu
 * extras: mirror.metrocast.net
 * updates: mirror.team-cymru.org
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package php-mbstring-5.3.3-49.el6.x86_64 already installed and latest version
Package 2:nmap-6.47-1.x86_64 already installed and latest version
Package subversion-1.6.11-15.el6_7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.compevo.com
 * epel: kdeforge2.unl.edu
 * extras: centos.unixheads.org
 * updates: mirror.oss.ou.edu
Package perl-Test-Simple-0.92-144.el6.x86_64 already installed and latest version
Package perl-Class-Accessor-0.31-6.1.el6.noarch already installed and latest version
Package perl-Params-Validate-0.92-3.el6.x86_64 already installed and latest version
Package perl-Config-Tiny-2.12-7.1.el6.noarch already installed and latest version
Package perl-Math-Calc-Units-1.07-6.el6.noarch already installed and latest version
Package perl-Number-Format-1.73-3.el6.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.compevo.com
 * epel: kdeforge2.unl.edu
 * extras: centos.unixheads.org
 * updates: mirror.team-cymru.org
Package php-pecl-ssh2-0.11.0-7.el6.x86_64 already installed and latest version
Nothing to do
no crontab for nagios
no crontab for root
Copying over new XI directory...
Updating NagiosQL...
NAGIOSQL-POST
No entry for terminal type "unknown";
using dumb terminal settings.
Patching NDOUtils...
NDOUtils already patched at level 103
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
No entry for terminal type "unknown";
using dumb terminal settings.
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=Gopro11!!!!' -O nagiosql.login--2017-08-09 13:36:36--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

     0K .......... .......... .......... ......                1.98M=0.02s

2017-08-09 13:36:36 (1.98 MB/s) - “nagiosql.login” saved [37000]

LOGIN SUCCESSFUL!
No entry for terminal type "unknown";
using dumb terminal settings.
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
    [0] => xi_timeperiod_24x7.cfg
)
IMPORTING /usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'backend=1&cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&subForm=Import&selImportFile[]=/usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg' -O nagiosql.import.monitoring
--2017-08-09 13:36:36--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.import.monitoring”

     0K .......... .......... .......... ......                2.01M=0.02s

2017-08-09 13:36:37 (2.01 MB/s) - “nagiosql.import.monitoring” saved [37809]

RESETTING PERMS
No entry for terminal type "unknown";
using dumb terminal settings.
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=Gopro11!!!!' -O nagiosql.login--2017-08-09 13:36:37--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

     0K .......... .......... .......... ......                2.01M=0.02s

2017-08-09 13:36:37 (2.01 MB/s) - “nagiosql.login” saved [37000]

LOGIN SUCCESSFUL!
No entry for terminal type "unknown";
using dumb terminal settings.
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'backend=1&cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2017-08-09 13:36:37--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.export.monitoring”

     0K .......... .......... .                                1.79M=0.01s

2017-08-09 13:36:37 (1.79 MB/s) - “nagiosql.export.monitoring” saved [22267]

WRITE CONFIGS SUCCESSFUL!
OUTPUT: 
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
Error: Invalid max_check_attempts value for host 'AZUSCA21KA0-OA1'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/AZUSCA21KA0-OA1.cfg', starting on line 16)
   Error processing object config files!


***> One or more problems was encountered while processing the config files...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.
RET: 1
No entry for terminal type "unknown";
using dumb terminal settings.
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors /usr/local/nagiosxi/scripts
tar: Removing leading `/' from member names
/usr/local/nagiosxi/scripts
LATEST NOM SNAPSHOT: /usr/local/nagiosxi/nom/checkpoints/nagioscore/1500493322.tar.gz
/ /usr/local/nagiosxi/scripts
RESTORING NOM SNAPSHOT : /usr/local/nagiosxi/nom/checkpoints/nagioscore/1500493322.tar.gz
/usr/local/nagiosxi/scripts
RESETTING PERMS

Re: The update did not complete successfully. Please try upd

Posted: Wed Aug 09, 2017 2:44 pm
by bolson
Hello ponnpr7, Please post the output of the following command. There may be some configuration issues that will need to be resolved prior to the update:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Re: The update did not complete successfully. Please try upd

Posted: Thu Aug 10, 2017 8:35 am
by ponnpr7
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not find any hostgroup matching 'Services Aggregation Point' (config file '/usr/local/nagios/etc/hosts/ALPRGAGQKA0-OA1.cfg', starting on line 16)
Error: Failed to process hostgroup names for host 'ALPRGAGQKA0-OA1' (config file '/usr/local/nagios/etc/hosts/ALPRGAGQKA0-OA1.cfg', starting at line 16)
Error: Invalid max_check_attempts value for host 'AZUSCA21KA0-OA1'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/AZUSCA21KA0-OA1.cfg', starting on line 16)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Re: The update did not complete successfully. Please try upd

Posted: Thu Aug 10, 2017 10:11 am
by bolson
You either need to correct the errors in /usr/local/nagios/etc/hosts/ALPRGAGQKA0-OA1.cfg,

Or remove the file and re-create the host definition after the update.

Re: The update did not complete successfully. Please try upd

Posted: Thu Aug 10, 2017 10:44 am
by ponnpr7
I got it for now thanks for the help and support.