public inbox for [email protected]  
help / color / mirror / Atom feed
Error while starting EFM
5+ messages / 4 participants
[nested] [flat]

* Error while starting EFM
@ 2024-08-27 15:55  Mahendra Singh <[email protected]>
  0 siblings, 3 replies; 5+ messages in thread

From: Mahendra Singh @ 2024-08-27 15:55 UTC (permalink / raw)
  To: pgsql-admin <[email protected]>

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.propertiesid: 3exit status: 1output:ERROR: Could not
read value of db.data.dir from /etc/edb/efm-4.9/efm.propertieserror:grep:
/etc/edb/efm-4.9/efm.properties: Permission deniedUsing ssl mode: disable*

It looks like much of the documentation for EFM errors are not available on
google.

Regards,
Mahendra Singh


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Error while starting EFM
@ 2024-08-27 15:58  Joe Conway <[email protected]>
  parent: Mahendra Singh <[email protected]>
  2 siblings, 0 replies; 5+ messages in thread

From: Joe Conway @ 2024-08-27 15:58 UTC (permalink / raw)
  To: Mahendra Singh <[email protected]>; pgsql-admin <[email protected]>

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Error while starting EFM
@ 2024-08-27 16:30  manish yadav <[email protected]>
  parent: Mahendra Singh <[email protected]>
  2 siblings, 0 replies; 5+ messages in thread

From: manish yadav @ 2024-08-27 16:30 UTC (permalink / raw)
  To: pgsql-admin <[email protected]>; Mahendra Singh <[email protected]>

There seems permission issue with efm.properties and efm.nodes files, these files need to have access from enterprisedb user if using EDB Postgres.



Thanks and Regards,

Manish Yadav








On Tuesday, 27 August 2024, 09:23:15 PM IST, Mahendra Singh <[email protected]> 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






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Error while starting EFM
@ 2024-08-28 11:24  postbox giridhar <[email protected]>
  parent: Mahendra Singh <[email protected]>
  2 siblings, 1 reply; 5+ messages in thread

From: postbox giridhar @ 2024-08-28 11:24 UTC (permalink / raw)
  To: Mahendra Singh <[email protected]>; +Cc: pgsql-admin <[email protected]>

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, <[email protected]>
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.propertiesid: 3exit status: 1output:ERROR: Could not
> read value of db.data.dir from /etc/edb/efm-4.9/efm.propertieserror:grep:
> /etc/edb/efm-4.9/efm.properties: Permission deniedUsing ssl mode: disable*
>
> It looks like much of the documentation for EFM errors are not
> available on google.
>
> Regards,
> Mahendra Singh
>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Error while starting EFM
@ 2024-08-28 11:28  Mahendra Singh <[email protected]>
  parent: postbox giridhar <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Mahendra Singh @ 2024-08-28 11:28 UTC (permalink / raw)
  To: postbox giridhar <[email protected]>; +Cc: pgsql-admin <[email protected]>

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 <[email protected]>
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.properties*
>
>
> On Tue, 27 Aug 2024, 9:23 pm Mahendra Singh, <[email protected]>
> 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.propertiesid: 3exit status: 1output:ERROR: Could not
>> read value of db.data.dir from /etc/edb/efm-4.9/efm.propertieserror:grep:
>> /etc/edb/efm-4.9/efm.properties: Permission deniedUsing ssl mode: disable*
>>
>> It looks like much of the documentation for EFM errors are not
>> available on google.
>>
>> Regards,
>> Mahendra Singh
>>
>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2024-08-28 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-27 15:55 Error while starting EFM Mahendra Singh <[email protected]>
2024-08-27 15:58 ` Joe Conway <[email protected]>
2024-08-27 16:30 ` manish yadav <[email protected]>
2024-08-28 11:24 ` postbox giridhar <[email protected]>
2024-08-28 11:28   ` Mahendra Singh <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox