Symptom
You are getting the following errors when installing a new or updating an existing HANA Cockpit:
Installing content of SAP HANA XS Advanced Runtime...
Installing SAP HANA XS RUNTIME to /hana/shared/<SID>/xs...
Updating content of XS Advanced Runtime
Starting UPDATE of XS advanced content from v0.0.0.0 to v1.1.7.231213172848
Assigning Additional Roles to the Local Host...
Adding role 'xs_worker' on local host 'cockpit'...
Adding role 'xs_worker' failed
Installation of SAP HANA Cockpit System failed.
Assigning Additional Roles to the Local Host failed
After further analysis, you find the following errors.
in hdblcm.log
INFO: Output line 25: Adding role 'xs_worker' on local host 'cockpit'...
INFO: Output line 26: Reconfiguring SAP HANA system failed!
INFO: Output line 27: Add local host roles:
INFO: Output line 28: Adding role 'xs_worker' failed
INFO: Output line 29: Modification of file '/etc/sudoers' failed
INFO: Output line 30: Cannot enable write permissions of file '/etc/sudoers': No such file or directory
INFO: Output line 31:
INFO: Output line 32: Log file written to '/var/tmp/hdb_<SID>_hdblcm_install_2024-07-12_16.17.49/hdbmodify_addlocalroles.log' on host '<hostname>'.
in hdbmodify_addlocalroles.log
INFO: Adding entry in '/etc/sudoers' that disables 'requiretty' for '<sid>adm'...
ERR : Cannot open file '/etc/sudoers': No such file or directory
INFO: Adapting '/etc/sudoers'
ERR : Cannot enable write permissions of file '/etc/sudoers': No such file or directory
ERR : Modification of file '/etc/sudoers' failed
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
HANA Cockpit 2.0
Product
Keywords
--skip_modify_sudoers, /etc/sudoers, sudoers , KBA , HAN-CPT-CPT2 , SAP HANA Cockpit version 2 - based on XSA , BC-XS-RT , XS Advanced Runtime / XS Controller , 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.