Thread: Error while starting EFM
Dear Experts,
I am unable to start EFM due to the below error.
edb-efm-4.9.service: Control process exited, code=exited, status=1/FAILURE
edb-efm-4.9.service: Failed with result 'exit-code'.
Failed to start EnterpriseDB Failover Manager 4.9.
Below is the startup log.
Could not validate pg_wal directory:
sudo -u enterprisedb /usr/edb/efm-4.9/bin/efm_db_functions validatepgwaldir /etc/edb/efm-4.9/efm.properties
id: 3
exit status: 1
output:
ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.properties
error:
grep: /etc/edb/efm-4.9/efm.properties: Permission denied
Using ssl mode: disable
sudo -u enterprisedb /usr/edb/efm-4.9/bin/efm_db_functions validatepgwaldir /etc/edb/efm-4.9/efm.properties
id: 3
exit status: 1
output:
ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.properties
error:
grep: /etc/edb/efm-4.9/efm.properties: Permission denied
Using ssl mode: disable
It looks like much of the documentation for EFM errors are not available on google.
Regards,
Mahendra Singh
On 8/27/24 11:55, Mahendra Singh wrote: > Dear Experts, > > I am unable to start EFM due to the below error. > > *edb-efm-4.9.service: Control process exited, code=exited, status=1/FAILURE > * > *edb-efm-4.9.service: Failed with result 'exit-code'. > * > *Failed to start EnterpriseDB Failover Manager 4.9.* > > Below is the startup log. > *Could not validate pg_wal directory: > sudo -u enterprisedb /usr/edb/efm-4.9/bin/efm_db_functions > validatepgwaldir /etc/edb/efm-4.9/efm.properties > id: 3 > exit status: 1 > output: > ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/ > efm.properties > error: > grep: /etc/edb/efm-4.9/efm.properties: Permission denied > Using ssl mode: disable* > > It looks like much of the documentation for EFM errors are not > available on google. > > Regards, > Mahendra Singh Please contact EDB support. This is not the appropriate place for help on that. -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
There seems permission issue with efm.properties and efm.nodes files, these files need to have access from enterprisedb userif using EDB Postgres. Thanks and Regards, Manish Yadav On Tuesday, 27 August 2024, 09:23:15 PM IST, Mahendra Singh <msmahendrasingh18@gmail.com> wrote: Dear Experts, I am unable to start EFM due to the below error. edb-efm-4.9.service: Control process exited, code=exited, status=1/FAILURE edb-efm-4.9.service: Failed with result 'exit-code'. Failed to start EnterpriseDB Failover Manager 4.9. Below is the startup log. Could not validate pg_wal directory: sudo -u enterprisedb /usr/edb/efm-4.9/bin/efm_db_functions validatepgwaldir /etc/edb/efm-4.9/efm.properties id: 3 exit status: 1 output: ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.properties error: grep: /etc/edb/efm-4.9/efm.properties: Permission denied Using ssl mode: disable It looks like much of the documentation for EFM errors are not available on google. Regards, Mahendra Singh
Also verify if the data directory mentioned in efm properties file is correct or not and check the permissions of that file.
ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.properties
On Tue, 27 Aug 2024, 9:23 pm Mahendra Singh, <msmahendrasingh18@gmail.com> wrote:
Dear Experts,I am unable to start EFM due to the below error.edb-efm-4.9.service: Control process exited, code=exited, status=1/FAILUREedb-efm-4.9.service: Failed with result 'exit-code'.Failed to start EnterpriseDB Failover Manager 4.9.Below is the startup log.Could not validate pg_wal directory:
sudo -u enterprisedb /usr/edb/efm-4.9/bin/efm_db_functions validatepgwaldir /etc/edb/efm-4.9/efm.properties
id: 3
exit status: 1
output:
ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.properties
error:
grep: /etc/edb/efm-4.9/efm.properties: Permission denied
Using ssl mode: disableIt looks like much of the documentation for EFM errors are not available on google.Regards,Mahendra Singh
Permissions are there and everything is correct
Still the same error
Works fine on standby node and witness node
On Wed, 28 Aug 2024 at 3:24 PM postbox giridhar <giridharpostbox@gmail.com> wrote:
Also verify if the data directory mentioned in efm properties file is correct or not and check the permissions of that file.ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.propertiesOn Tue, 27 Aug 2024, 9:23 pm Mahendra Singh, <msmahendrasingh18@gmail.com> wrote:Dear Experts,I am unable to start EFM due to the below error.edb-efm-4.9.service: Control process exited, code=exited, status=1/FAILUREedb-efm-4.9.service: Failed with result 'exit-code'.Failed to start EnterpriseDB Failover Manager 4.9.Below is the startup log.Could not validate pg_wal directory:
sudo -u enterprisedb /usr/edb/efm-4.9/bin/efm_db_functions validatepgwaldir /etc/edb/efm-4.9/efm.properties
id: 3
exit status: 1
output:
ERROR: Could not read value of db.data.dir from /etc/edb/efm-4.9/efm.properties
error:
grep: /etc/edb/efm-4.9/efm.properties: Permission denied
Using ssl mode: disableIt looks like much of the documentation for EFM errors are not available on google.Regards,Mahendra Singh