on 01-02-2021 2:08 PM
I installed SAP HANA Express on Ubuntu 20.04 acording to How to install SAP Hana Express Edition 2.0 on Ubuntu 18.04 (Bionic Beaver)
when I try to do xs login according to the steps of the tutorial SAP HANA XS Advanced, explore the basic tools
I run into the python error
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
See full error message here: SAP HANA on Ubuntu - xs login results in python error
So my question is:
1. where is this xs program and how does it start ( I can neither find it via which xs nor via find / -name xs)
2. In forums I saw that the issue results mostly because python-environment variables PYTONHOME and/or PYTHONPATH are set. Maybe there needs to be a change??
You have installed HANA Express using the binary installer. That does not include the XS CLI client tooling. You have to install it in a separate step. You can download it via the HXE Download Manager (it is part of the Clients package).
And I guess you have installed the Server + Applications version of HXE (in difference to the server-only version described in the referenced blog). Otherwise the XS CLI tooling would make no sense, when the XSA runtime is not installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for pointing out the direction to go.
On the server only XS was installed (even though I thought I used the default option "all") but I had to experiment because of the different libstdc++ versions.
So I started the installer again and it was installing XSA - problem solved on the sever 🙂
On the client I installed the client and am able to start xs login as well 🙂
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.