Here , I Exaplined about backup failed with Common Crypto Error and the error message is "crypto provider 'commoncrypto' not available"
Error Code Detail:
cmd output: [Sat Jun 20 19:00:19 2015] ERROR: [vadbabc:9090 (4.1.1.1)] Command [su - abcadm -c "/usr/sap/ABC/home/backup.pl"] failed with return code [2] and stderr [* 447: backup could not be completed: [300001] Invalid SSL configuration: crypto provider 'commoncrypto' not available SQLSTATE: HY000] and stdout []
Reason and Prerequisites:
HANA Revision 90 or above the SAP Cryptographic Library (CommonCryptoLib) is delivered with the HANA binaries. One of its functions inside HANA is to calculate cryptographic checksums, which is also done for ensuring a consistent backup.
The usage of the CommonCryptoLib requires a correct environment for all HANA processes.
In particular, the two environment variables DIR_EXECUTABLE and SECUDIR have to be set as a precondition for the correct function of the CommonCryptoLib. These two environment variables are set automatically during the installation of HANA.
Whenever we face backup issue due to commoncrypto not available , follow below step:
1. Just type ‘env’ once we connect
2. Use the following command echo $DIR_EXECUTABLE and echo $SECUDIR to check whether environment variables are set.
3. If variables are not set then go to home directory and perform necessary changes:
4. We have done necessary changes now in .sapenv.csh script for system ABC and we can perform database restart to reflect the same and trigger backup.
No comments:
Post a Comment