Creating repository with dbed_update fails

book

Article ID: 100074029

calendar_today

Updated On:

Description

Error Message

/opt/VRTS/bin/dbed_update -S orcl -H /u01/app/oracle/product/19.3
No repository found for database cdb1, creating new one.

SFDB vxsfadm ERROR V-81-0669 The repository location file could not be updated on host localhost.

Action: SFDB vxsfadm ERROR V-81-0670 Verify that the host is reachable and has sufficient disk space.

 

The /var/vx/vxdba/logs/vxsfaed.log shows a return code of 256 updating the rep_loc file.

 

​2025-01-22 14:30:03 - INFO - running opcode update_reploc
2025-01-22 14:30:03 - DEBUG - running /opt/VRTSdbed/bin/internal/sfae_remote_op
2025-01-22 14:30:03 - DEBUG - arg: /opt/VRTSdbed/bin/internal/sfae_remote_op
2025-01-22 14:30:03 - DEBUG - arg: --opcode
2025-01-22 14:30:03 - DEBUG - arg: update_reploc
2025-01-22 14:30:03 - DEBUG - arg: --user
2025-01-22 14:30:03 - DEBUG - arg: root
2025-01-22 14:30:03 - DEBUG - arg: --is_local
2025-01-22 14:30:03 - DEBUG - wait returned 2883535
2025-01-22 14:30:03 - DEBUG - got returncode 256 
<======
2025-01-22 14:30:03 - INFO - opcode returned 256
2025-01-22 14:30:03 - DEBUG - sending num_fields
2025-01-22 14:30:03 - DEBUG - sending 1
2025-01-22 14:30:03 - DEBUG - sending stdout
2025-01-22 14:30:03 - DEBUG - sending stderr
2025-01-22 14:30:03 - INFO - client disconnected

Cause

The /var/vx/vxdba/rep_loc file is empty. If the file does not exist, or is populated, the create will succeed.

 

Resolution

Delete the file /var/vx/vxdba/rep_loc

rm /var/vx/vxdba/rep_loc

 

Issue/Introduction

Attempting to create a repository with dbed_update fails.