部署HANA时候,输入密码时估计输入错的密码,后面SYSTEM登录不上去,后重置密码成功,分享下!...

部署HANA时候,输入密码时估计输入错的密码,后面SYSTEM登录不上去,后重置密码成功,分享下!信息来源于SAP官网具体网址如下:

https://help.sap.com/viewer/6b94445c94ae495c83a19646e7c3fd56/2.0.03/en-US/6b13cdd1982f4aa6b90b443663d17d7e.html

Reset the SYSTEM User Password of the System Database
If the password of the SYSTEM user of the system database is lost, you can reset it as the operating system administrator by starting the name server in emergency mode.
Prerequisites
You cannot log on to the database as the SYSTEM because the password has been irretrievably lost.NoteIf you can log on as SYSTEM and you want to change the password, do not use the procedure described here. Use the SAP HANA studio or execute the ALTER USER SQL statement directly: ALTER USER SYSTEM PASSWORD<new_password>.
You have the credentials of the operating system administrator (<sid>adm).
Procedure
.Log on to the server on which the name server of the system database is running as the operating system user (that is, <sid>adm user).
.Open a command line interface.
.Shut down the instance by executing the following command:
/usr/sap/<SID>/HDB<instance>/exe/sapcontrol -nr <instance> -function StopSystem HDB
.
.In a new session, start the name server of the system database by executing the following commands:
o/usr/sap/<SID>/HDB<instance>/hdbenv.sh
o/usr/sap/<SID>/HDB<instance>/exe/hdbnameserver -resetUserSystem
After some start-up notifications, the prompt resetting of user SYSTEM - new password appears, followed by additional notifications:部署HANA时候,输入密码时估计输入错的密码,后面SYSTEM登录不上去,后重置密码成功,分享下!

Reset SYSTEM User Password (System Database)
.After the appearance of the last notification, enter a new password for the SYSTEM user.
You must enter a password that complies with the password policy configured for the system.
.
The password for the SYSTEM user of the system database is reset and the name server stops.
.
.In a new session, start the instance by executing the following command:
/usr/sap/<SID>/HDB<instance>/exe/sapcontrol -nr <instance> -function StartSystem HDB
.
Results
The password of the SYSTEM user of the system database is reset. You have to change the new password the next time you log on with this user.
If you previously deactivated the SYSTEM user, it is now also reactivated. This means you will need to deactivate it again.

转载于:https://blog.51cto.com/12776804/2373399

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值