Installation of postgres is not possible (cannot read config)

Not applicable

Hi all,

while update from 4.16.05 to 4.16.09 the installation of 2nd slave postgres does not work. As discribe in

http://docs.apigee.com/private-cloud/latest/update-apigee-edge-41609 the installation on a new server fails with error:

Checking for optional variables
Found optional variable PG_MASTER...OK
Found optional variable PG_STANDBY...OK
apigee-service: apigee-postgresql: Not running (NO_PIDFILE)
Initializing database: Creating directory /opt/apigee/data/apigee-postgresql/pgdata
This node is configured as Standby
apigee-service: apigee-postgresql: Not running (NO_PIDFILE)
Error: cannot read config
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

The directory /opt/apigee/data/apigee-postgresql/pgdata is empty. Does anyone has a solution for this?

Thank You!

0 3 763
3 REPLIES 3

did you check the permission for the config.txt file ?

The permissions are correct. The solution is to call the setup script with "-f /opt/apigee/configfile" and not only "-f configfile.

Not applicable

For the problem above, make sure your data on 16.05 is on /opt/apigee/data/apigee-postgresql/pgdata and not in a different directory. If you used a symbolic link to move the data directory, it could be a problem with the symbolic link or symbolic link permission.