It was unable to resolve localhost as the entry in the hosts file was commented.
Due to this the DB connection was going into a loop.
The issue is fixed. Thanks, please close the ticket.
NagiosXI apply configuration endless state
Re: NagiosXI apply configuration endless state
Appreciate the update, locking this thread now - thanks.
Be sure to check out the Knowledgebase for helpful articles and solutions!