Cannot determine port due to unknown HANA version

Take a look at the file /usr/sap/sapservices there maybe several lines of you running sap instances on this host.
There is the path to the sap profile file similar to pf=/usr/sap/<DBINST>/SYS/profile/<DBINST>_HDB<XX>_<hostname>. The <XX> is the instance number you are looking for. Another way is to change to the DB-User and take a look at the env. There are several variables which have the instance number included (like $DIR_INSTANCE, don’t use $SAPSYTEMNAME, this number can sometimes differ from the instance number you need).

1 Like