Management Server Registration failed - apigee configuration

For my on-prem setup, I have this issue with registering the management server. Any pointers on the cause and how to resolve this? Is there any log on the configuration setup that I can check for more details? If yes, can you pls let me know the path to find it.

apigee-management-server is up.

Checking if we can get the management-server uuid: 56d8043a-3d2b-4582-b892-b6595045cffb

management-server is ready.

Registering Management-Server (pod=central) Getting Management-Server UUID Registration UUID: 56d8043a-3d2b-4582-b892-b6595045cffb --> curl -X POST http://10.99.24.162:8080/v1/servers [...] Continue anyhow y/(n) ==> 401 ERROR: Registration of management-server failed.

0 1 647
1 REPLY 1

Got rid off this issue by uninstalling apigee, manually deleting postgres lock files in /tmp folder, manually killed qpid. Reinstalled apigee and re-ran configuration apigee-setup.sh