EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485759: “pg_ctl: could not start server” error occurs when try to start PostgreSQL Repository using “mstr_pg_ctl start” post upgrade to MicroStrategy 2021 Update 7


Danfeng Zhan

Principal Product Specialist • Strategy


This article narrates “pg_ctl: could not start server” error occurs when try to start PostgreSQL database post upgrade to MicroStrategy 2021 Update 7. A solution for this issue is available in current releases.

Symptom


“pg_ctl: could not start server” error occurs when try to start PostgreSQL repository using “./mstr_pg_ctl start” post upgrade to Strategy 2021 Update 7 from Strategy 2020 as shown below:  

ka04W000001IxWKQA0_0EM4W000005o9ml.jpeg

The Strategy Repository is a PostgreSQL database server that contains the Platform Analytics Warehouse. While in this scenario, metadata is also residing on PostgreSQL database, the Intelligence Server is also down as the PostgreSQL repository goes down. 
Refer to Knowledge Base article below on how to start the Strategy Repository
KB483931: How to Stop and Start the MicroStrategy Repository in Windows and Linux in MicroStrategy 2020
In the Postgresql-XXX.log located in /opt/Strategy/Repository/pgdata/log shows below entry: 
Log: invalid authentication method “127.0.0.1/32”
CONTEXT:  Line 116 of configuration file “/opt/Strategy/Repository/pgdata/pg_hba.conf”
FATAL:  could not load pg_hba.conf 
Log: database system is shut down 
 

Cause


In pg_hba.conf, it shows address after ‘All’ for Line 116. 

ka04W000001IxWKQA0_0EM4W000005o9mq.jpeg

While the default setting is doesn’t have address associated. It is unclear how additional entries is appended. 

ka04W000001IxWKQA0_0EM4W000005o9mv.jpeg

 

Action


Remove the address in Line 116 or comment out the whole line by adding ‘#’ in front of the row.  
 


Comment

0 comments

Details

Knowledge Article

Published:

October 27, 2022

Last Updated:

October 27, 2022