[Solved] postgresql failed to start

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JGCG
Posts: 45
Joined: Fri Sep 29, 2017 6:31 am

[Solved] postgresql failed to start

Post by JGCG »

Hi,

We've just rebooted our Nagios XI box after adding extra CPU to the VM.
I found the following guide (is it still up to date?) on how to correctly stop the services prior to reboot.

They all started back up fine, apart from the postgresql service.
Attempting to start it fails with:
/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.

Is this an issue? I'm not sure how XI relies up postgresql and whether it is an issue with the service not running?

Thanks.
Last edited by JGCG on Thu Feb 14, 2019 8:13 am, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: postgresql failed to start

Post by scottwilkerson »

Your system may not be using postgresql as this is only used in older systems that have been upgraded.

so the stopping and starting of postgresql is likely not necessary.

If you can login to your system, Nagios XI is not using it.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked