Symptom
- An error occurs while retrieving the system replication status of the primary and HA nodes using python script `systemReplicationStatus.py`
- The systemReplicationStatus.py script fails with error message:
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
ModuleNotFoundError: No module named 'io'Current thread 0x00007f1ae469ff40 (most recent call first):
<no Python frame>
- Duplicate library files are identified under the directory: /usr/sap/<SID>/SYS/exe/hdb.
- The connection to database is possible using HANA studio and all the services are working and active.
- Other Python related tasks are affected.
Read more...
Environment
SAP HANA Database, Python libraries on host system
Product
Keywords
system replication status, python error, missing module, ModuleNotFoundError, init_sys_streams, duplicate library files, /usr/sap/FPH/<SID>/exe/hdb, primary node, HA node, DR node, Python installation, corrupted Python installation , KBA , HAN-DB , SAP HANA Database , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview