while upgrading error coming

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Mani.Murugesan
Posts: 67
Joined: Fri May 12, 2017 1:37 am

while upgrading error coming

Post 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
jforcier

Re: while upgrading error coming

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: while upgrading error coming

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Mani.Murugesan
Posts: 67
Joined: Fri May 12, 2017 1:37 am

Re: while upgrading error coming

Post by Mani.Murugesan »

Issue Reolved :lol:
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: while upgrading error coming

Post by scottwilkerson »

Mani.Murugesan wrote:Issue Reolved :lol:
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked