cancel
Showing results for 
Search instead for 
Did you mean: 

HANA REPLICATION Registration error

Former Member
0 Kudos

Dear Experts

I have successfully REPLICATE SAP HANA between two HANA databases HANA1 and HANA2.

when i fail back to original SAP HANA database and register as a secondary system i got following error.

a2:/hana/shared/HDB/HDB01/exe> ./hdbnsutil

Crash at /sapmnt/ld7272/a/HDB/jenkins_prod/workspace/FA_CO_LIN64GCC47_rel_fa~newdb100_maint_rel/sys/src/Basis/System/impl/SharedMemorySegment.cpp : 360 Reason: File /var/tmp/.SHM_SAP_IPMM_Mutex_0024_no-sid could not be opened / created. Ensure existing, writable directory /var/lib/hdb. RC:13 Permission denied

Aborted

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you read the error message?

What about this suggestion:

Ensure existing, writable directory /var/lib/hdb.

If needed, ask your Linux admin for help.

For a start, what is the output of:

ls -ld /var/lib/hdb

Former Member
0 Kudos

I have assigned rights 777 in linux . 

Former Member
0 Kudos

And what now?

Did you try afterwards?

By the way, 777 shouldn't be needed.

775 is enough, if owner is root and group is sapsys.

And I hope you did not chmod 777 on the subdirectories of /var/lib/hdb.

This would be just wrong, and might be the root cause of your problems.