on 09-05-2023 1:47 PM
Hello,
We have an issue with a "SAP S/4HANA 2021 Fully-Activated Appliance" environment where we can't run the XSA command line client. For context, our self-signed certificate on the instance has expired. According to this https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/2ed1be1dddf54b949bea03a... article, after the certificate has expired it can't be set using other tools, XSA command reset-certificate has to be used.
When we try to run "XSA reset-certificate" (from the location /hana/shared/HDB/xs), we first got "ERROR: Incomplete HANA environment. The following variables are missing: [SAP_RETRIEVAL_PATH, DIR_EXECUTABLE, DIR_INSTANCE, SAPSYSTEMNAME]". We set the variables manually to the following values (instance number 90):
- SAPSYSTEMNAME=HDB
- DIR_INSTANCE=/usr/sap/HDB/HDB90
- DIR_EXECUTABLE=/usr/sap/HDB/HDB90/exe
- SAP_RETRIEVAL_PATH=/usr/sap/HDB/HDB90/vhcalhdbdb
With those variables set we still get an error when running XSA commands: "ERROR: The system PKI could not be loaded: no sapsyspki in java.library.path:[/usr/java/packages/lib/amd64, /usr/lib64, /lib64, /lib, /usr/lib] and in system paths:[/hana/shared/HDB/xs/sapjvm_8/jre/lib/amd64]".
The instance was running before the certificate has expired, the xsa-cockpit app is running (confirmed with xs apps), and we can access SAP HANA XS Advanced Cockpit via browser. Running "xs apps" returns that all services are STARTED with just the hrtt-service being DOWN (error in the logs is "Failure reason: FAILED to materialize droplet: java.io.IOException: FAILED to extract tar stream (tar exit code: 2): tar: app/vendor/node14.19/bin/node_main/node: Wrote only 2560 of 10240 bytes" and "Cannot mkdir: No space left on device").
What is the likely reason for the issue and how can we resolve it?
Thank you in advance!
Goran
it says No space left on device
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the response! This is referring to the hrtt-service logs, other services are up and the XSA command line utility is returning the system PKI error. I checked the instance disk space with df command and it has space free. I can't run the XSA du command because of the system PKI could not be loaded error.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.