Hi,
We are upgrading our test environment from 1.1.5 to 1.2, it has been sitting for over 20 minutes on the following
--- reset_config_perms.sh ------------
> Setting script permissions
> Setting CCM script permissions
> Setting special script permissions
> Setting special component script permissions
> Setting migrate permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting libexec directory permissions
> Setting Nagios XI config permissions
> Setting NOM checkpoint user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
I have seen that there are a number of issues with this upgrade but none look like they are for this situation? Anyone have any ideas on what to do to move it on or find out why it is hanging? I cannot see any active processes which are taking any CPU etc that would indicate anything is running?
Chris...
Upgrade to 1.2 hangs
-
chris_hird
- Posts: 22
- Joined: Mon Jan 18, 2021 8:47 am
Re: Upgrade to 1.2 hangs
OK I have looked at the script and it should have completed when the last request was issued, so maybe the update script is hung at the next option?
Chris..
Chris..
-
chris_hird
- Posts: 22
- Joined: Mon Jan 18, 2021 8:47 am
Re: Upgrade to 1.2 hangs
Manual upgrade (previous was via the web interface) seems to have fixed the issue as it now shows at the latest update but we did have one error reported in the manual update.
Error: Template '' specified in service definition could not be not found (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting on line 640)
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 definitions. 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.
> Return Code: 1
Checked the file and its seems OK?
Chris...
Error: Template '' specified in service definition could not be not found (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting on line 640)
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 definitions. 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.
> Return Code: 1
Checked the file and its seems OK?
Chris...
-
chris_hird
- Posts: 22
- Joined: Mon Jan 18, 2021 8:47 am
Re: Upgrade to 1.2 hangs
The config will no longer apply? When will the new update be released? At the moment this is dead in the water.
Re: Upgrade to 1.2 hangs
So after a manual upgrade the config will no longer apply? As for the service template thing you may need to check your templates.cfg file and see if the template definition is declared correctly. Also can you check your apache logs in either /var/log/php-fpm or /var/log/apache and see if there are any errors that may correlate.chris_hird wrote: ↑Mon Aug 26, 2024 2:57 pm The config will no longer apply? When will the new update be released? At the moment this is dead in the water.