Missing PG_STANDBY, can't proceed with the setup...exiting Error

Installing a private cloud installation with 1 data center. The other is being worked on by the infra team. When running the silent config file for the PG Master installation, we encounter the error reported above.

Detailed message below:

[root@XXX tmp]# /opt/apigee/apigee-setup/bin/setup.sh -p ps -f /tmp/xxx.txt
INFO: running setup as root
INFO: changing log location to /tmp/setup-root.log
Using defaults from /tmp/xxx.txt
setup.sh: Info: Check for system requirements is not enabled.
setup.sh: Info: Enable system requirements check by setting ENABLE_SYSTEM_CHECK=y
setup.sh: Info: To run system requirements check without installing the profile use -t option
setup.sh: Proceeding with HOSTIP XX.XX.XX.XX

Service setup apigee-postgresql

No packages marked for update
Validating setup variables
Checking for required variables
Checking required variable HOSTIP...OK
Checking required variable RUN_USER...OK
Checking required variable RUN_GROUP...OK

Checking for optional variables
Found optional variable PG_MASTER...OK
This node is configured as Master, hence adding master telegraf templates
/opt/apigee/apigee-postgresql-9.6.1-0.0.1136/lib/actions/setup: line 18: /opt/apigee/apigee-postgresql-9.6.1-0.0.1136/metrics/telegraf_master_template.toml: No such file or directory
/opt/apigee/apigee-postgresql-9.6.1-0.0.1136/lib/actions/setup: line 18: /opt/apigee/apigee-postgresql-9.6.1-0.0.1136/metrics/telegraf.toml: No such file or directory
apigee-service: apigee-postgresql: Not running (NO_PIDFILE)
Missing PG_STANDBY, can't proceed with the setup...exiting
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

Any help, appreciated.

Thanks,

Girish

Solved Solved
0 1 474
1 ACCEPTED SOLUTION

Not to answer my own question, but I found a solution.

Commenting out the PG_MASTER seemed to do the trick.

Reference:

https://docs.apigee.com/private-cloud/v4.17.05/install-edge-components-node?hl=zh-CN

View solution in original post

1 REPLY 1

Not to answer my own question, but I found a solution.

Commenting out the PG_MASTER seemed to do the trick.

Reference:

https://docs.apigee.com/private-cloud/v4.17.05/install-edge-components-node?hl=zh-CN