on 11-05-2017 3:06 PM
Hi,
I have some trouble reinstalling HANA XS Advanced Runtime. After some back and forth I managed to uninstall the failed installation and start from scratch.
Unfortunately I get this error when the xs_worker is about to get added.
SAP HANA Lifecycle Management - hdbmodify_addlocalroles 2.2.25
***************************************************************
Reconfiguring SAP HANA system failed!
Running in batch mode
Directory '' does not exist
Program terminated with exit code 1
I got the same error as I wanted to remove the xs_worker for the uninstall. Here I used
hdbnsutil -removeHostRole <HOST> --role=xs_worker
How can I get rid of this "Directory '' does not exist" error ?
Regards
Volker
Hi, use the following command
/usr/sap/C4H/global/hdb/install/bin/hdbmodify -b --add_roles=fulcrum:role=xs_worker --read_password_from_stdin=xml --instlog_dir=/var/tmp/hdb_C4H_hdblcm_install_2022-03-12_03.08.28 --system_user=SYSTEM --auto_initialize_services=1 --org_manager_user=COCKPIT_ADMIN --import_xs_content=on --skip_modify_sudoers=off --sapmnt=/hana/shared
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Volker,
I am also facing the same issue and trying to resolve with no luck. Can you kindly let me know what steps you did to resolve this issue.
I am trying to install XSA with no luck, Was struck with error Directory " " doest exist during Assigning Additional Roles process. I tried installation and uninstallation back and forth many times with no luck. Can someone please let me know if you have any solution for this? Please find the log for your reference. it quits with error Assigning Additional Roles to the Local Host failed - Directory " does not exist
23:35:40.608 - INFO: Output line 1:
23:35:40.609 - INFO: Output line 2:
23:35:40.609 - INFO: Output line 3: SAP HANA Lifecycle Management - hdbmodify_addlocalroles 2.3.57
23:35:40.609 - INFO: Output line 4: ***************************************************************
23:35:40.609 - INFO: Output line 5:
23:35:40.610 - INFO: Output line 6: Reconfiguring SAP HANA system failed!
23:35:40.610 - INFO: Output line 7: Running in batch mode
23:35:40.610 - INFO: Output line 8: Directory '' does not exist
23:35:40.611 - INFO: Output line 9:
23:35:40.766 - INFO: Program terminated with exit code 1
23:35:40.767 - INFO: -----------------------------------------------------------
23:35:40.767 - INFO: END: Assign Additional Roles to the Local Host failed (start: 23:35:38.421 duration: 00:00:02)
23:35:40.767 - INFO: -----------------------------------------------------------
23:35:40.768 - INFO: Assigning Additional Roles to the Local Host failed
23:35:40.781 - INFO: Execution Summary:
23:35:40.781 - INFO:
23:35:40.782 - INFO: Step Name | Runtime
23:35:40.782 - INFO: ------------------------------------------------------------------------
23:35:40.782 - INFO: Installing SAP HANA XS Advanced Runtime | 00:03:31
23:35:40.782 - INFO: Assigning Additional Roles to the Local Host | 00:00:02
23:35:40.782 - INFO: Updating SAP HANA Database Instance Integration on Local Host | n/a
23:35:40.782 - INFO: Updating Component List | n/a
23:35:40.782 - INFO: Installing XS Advanced Components | n/a
23:35:40.782 - INFO:
23:35:40.784 - ERR : Update of SAP HANA Database components failed.
23:35:40.784 - INFO: Summary of critical errors
23:35:40.784 - ERR : Update of SAP HANA Database components failed.
23:35:40.767 - ERR : Assigning Additional Roles to the Local Host failed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, I now fix my issue. It seems that HANA does not like symbolic links that much.
After I set the directories in the global ini, the installation runs to the end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tobias,
I tried this out, but now I get the error
SAP HANA Lifecycle Management - hdbmodify_addlocalroles 2.2.33
***************************************************************
Reconfiguring SAP HANA system failed!
Running in batch mode
SAP HANA System '' does not exist
and when I also add my SID with
--sid=H04
I get
SAP HANA Lifecycle Management - hdbmodify_addlocalroles 2.2.33
***************************************************************
Reconfiguring SAP HANA system failed!
Running in batch mode
SAP HANA System 'H04' does not exist
Role 'xs_worker' is invalid: required component is not installed
Very strange
Regards
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Volker,
I just ran into the same problem here...
The trick is:
add "--sapinst=/hana/shared" to the commandline.
I activated the Installer Trace with the environment Variable
export HDB_INSTALLER_TRACE_FILE=<file>
(pointing it to /tmp/hdbmodify.trc).
Then I ran the command again.
In the tracefile it told me that the variable "sapmnt" was empty. This came directly before the Error message.
When I searched for sapmnt in my install-directory, I saw, that most of the commands are called with "--sapmnt=/hana/shared". So I added it to the commandline and the error was gone.
Hope this helps.
Best regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.