Page 1 of 1

while upgrading error coming

Posted: Tue Sep 25, 2018 10:09 am
by Mani.Murugesan
Hello Team,

today I have tried to upgrade 5.5.3 but I am getting below error suddenly


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.


Error: Could not find a service matching host name '<host>' and description 'Uptime' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 29)
Error: Could not expand members specified in servicegroup 'Windows Server Uptime' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 29)
Error processing object config files!



Previously I am not able to start nagios service but now I can start but now status showing "nagios not running"
Could you please help me to resolve this issue

Re: while upgrading error coming

Posted: Tue Sep 25, 2018 11:29 am
by jforcier
Can you post your nagios.cfg file.

You can also run the following command to troubleshoot configuration problems:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
If it shows any errors, please post the whole output here.

Re: while upgrading error coming

Posted: Tue Sep 25, 2018 12:02 pm
by scottwilkerson
Please also verify you can Apply Configuration from the GUI BEFORE attempting an upgrade, if there is a configuration error, this will halt the upgrade process

Re: while upgrading error coming

Posted: Wed Sep 26, 2018 6:21 am
by Mani.Murugesan
Issue Reolved :lol:

Re: while upgrading error coming

Posted: Wed Sep 26, 2018 7:45 am
by scottwilkerson
Mani.Murugesan wrote:Issue Reolved :lol:
Great!

Locking thread