ITPub博客

首页 > 数字化转型 > ERP > SAP HANA system用户重置口令

SAP HANA system用户重置口令

原创 ERP 作者:xcdream6 时间:2018-05-14 18:00:18 0 删除 编辑


1.登录<sid>adm  用户

 

 inspur8480:~ # su - anaadm

       

2.通过执行以下命令关闭实例

/usr/sap/<SID>/HDB<instance>/exe/sapcontrol -nr <instance> -function StopSystem HDB

 

inspur8480:~> /usr/sap/ANA/HDB00/exe/sapcontrol -nr 00 -function StopSystem HDB

 

 

3.通过执行以下命令启动name server

/usr/sap/<SID>/HDB<instance>/hdbenv.sh

/usr/sap/<SID>/HDB<instance>/exe/hdbnameserver

 

inspur8480:~> /usr/sap/ANA/HDB00/hdbenv.sh

inspur8480:~> /usr/sap/ANA/HDB00/exe/hdbnameserver

计算机生成了可选文字:
inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/hdbenv.sh 
Inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/exe/hdbnameserver 
S e 、 工 C e 
accepting requests a t 121 . 0 . 0 . 1 : 30001 冫 121 . 0 . 0 . 2 : 30001 
searching 上 0 ma s t e name s e rve 工 nspu B480 : 30001 
aSSICBI a S ma S t e S e . aSSIgn t 0 、 1 
checklng 上 0 recovery request 
load 工 n t0p010 y 
0pe11 工 11 
t111 a S t anS a C t 工 011 ma S t e 
load 工 n t0p010 y 
load 工 n licensing 
setStart1ng (nameserver@1nspurB4 B 0 : 30001 ) 
s e tAc t 1ve (nameserver@1nspurB4BO : 30001 ) 
S e 、 工 C e a S ma S t e 
S e 、 工 C e a S S e 
s e t Ina c t 1ve (diserver@1nspurB4BO : 30025 ) 
s e t Ina c t 1ve (xsexecagent@lnspur B 4 B 0 : 0 ) 
s e t Ina c t 1ve (xsenglne@lnspur B 4 B 0 : 30001 ) 
s e t Ina c t 1ve (xsuaaserver@znspurB4 B 0 : 30031 ) 
s e t Ina c t 1ve (preprocessor@1nspurB4 B 0 : 30002 ) 
s e t Ina c t 1ve (xscontr011er@1nspurB4 B 0 : 3002 9 ) 
s e t Ina c t 1ve (webd1spatcher@1nspurB4 B 0 : 30006 ) 
s e t Ina c t 1ve .com/ileserver@1nspurB4 B 0 : 30010 ) 
s e t Ina c t 1ve ( Indexserver@lnspur B 4 B 0 : 30003 )

 

 

4.打开新的命令窗口,执行以下命令启动compile sever

/usr/sap/<SID>/HDB<instance>/hdbenv.sh

/usr/sap/<SID>/HDB<instance>/exe/hdbcompileserver

 

inspur8480:~> /usr/sap/ANA/HDB00/hdbenv.sh

inspur8480:~> /usr/sap/ANA/HDB00/exe/hdbcompileserver

计算机生成了可选文字:
inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/hdbenv. sh 
Inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/exe/hdbcompi1eserver 
accepting requests a t 121 . 0 . 0 . 1 : 30010 冫 121 . 0 . 0 . 2 : 30010

 

 

5.打开新的命令窗口,执行以下命令启动index server

 

/usr/sap/<SID>/HDB<instance>/hdbenv.sh

/usr/sap/<SID>/HDB<instance>/exe/hdbindexserver -resetUserSystem

注意:在横向扩展的系统中,只需要在master index server执行即可。

 

inspur8480:~> /usr/sap/ANA/HDB00/hdbenv.sh

inspur8480:~> /usr/sap/ANA/HDB00/exe/hdbindexserver -resetUserSystem

 

计算机生成了可选文字:
inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/hdbenv.sh 
Inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/exe/hdbindexserver 
startIng Int e a C t Ive mode 上 0 resettIng I-IS e SYSTEM . 
unclean shutdown 0 上 s e v 工 c e Instance with Pid 6253 . 
S e 、 工 C e 
—resetUserSystem 
accepting requests a t 121 . 0 . 0 . 1 : 30003 冫 121 . 0 . 0 . 2 : 30003 
assigning t 0 volume 3 
t111 a S t anS a C t 工 011 ma S t e

计算机生成了可选文字:
0 f us e 二 S YS 工 EM 
nspur123 一 输 入 新 囗 令 
new PW accepted. 
( e ) actIvatIng I-IS e SYSTEM . 
d011e 
prepare 上 0 shuttIng S e V 工 C e down. 
preparing t 0 shutdown. 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
stopping 
dynamIC range partItIonlng 
federatlon S t a t 工 S t 工 c S collectIon 
extended storage heartbeat thread 
LOBGarbageCollectorThread 
E PM 
Embedded Catalyst S e v 工 c e s 
PlannIngEngIne 
SQ 上 S e S S 工 011 S e 、 工 C e . 
SQ 上 Plan cache. 
planvlz. 
TRexApISystem. 
DebuggzngBackend shutdown. 
CalculatIonEngIneManager shutdown. 
TaskManager shutdown. 
TaskStatIstICSManager shutdown. 
CacheMgr shutdown. 
Sampllng S e S S 工 on MOTLI t 0 shutdown. 
GraphEng1neMgr shutdown. 
Invalldator shutdown. 
RC11ent shutdown. 
SAMLFactory shutdown. 
VSI shutdown. 
unassign a11 .

计算机生成了可选文字:
ud 工 、 rm shutdown. 
close t a c e 上 工 les . 
PerSIStenceLayer shutdown. 
] Olnenglne shutdown. 
prepared t 0 shutdown. 
Disabling signal handler . 
Stopping self watchdog. 
Stopping request dispatcher. 
Stopping responder. 
Stopping channel wa 工 t e . 
ShuttIng S e V 工 C e down. 
11bxm1 shutdown. 
QueryMed1ator cleanup. 
Stopping 
Stopping 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
Removlng 
shutdown 
threads . 
C OR 诹 1t111 工 C 工 011 . 
self watchdog. 
request dispatcher. 
S e 、 工 C e . 
threads . 
p001s . 
c011 上 工 011 . 
p 工 d 上 工 le . 
工 s completed. 
Inspur B 4 B 0 : 、 >

 

 

6.在name server和compile server启动窗口执行ctrl+c来关闭name server 和compile server启动

计算机生成了可选文字:
Inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/exe/hdbcompi1eserver 
accepting requests a t 121 . 0 . 0 . 1 : 30010 冫 121 . 0 . 0 . 2 : 30010 
ACprepare 上 0 shuttIng S e V 工 C e down. 
name s e Eve 工 nspu B4BO : 30001 not Initialized. retry In 5 
工 S m 工 工 11 一 > t 工 11 S e e t 工 e S 
S C . 
S C . 
Disabling signal handler . 
Stopping self watchdog. 
Stopping request dispatcher. 
Stopping responder. 
Stopping channel wa 工 t e . 
ShuttIng S e V 工 C e down. 
name s e Eve 工 nspu B480 : 30001 not 
1nltlallzed. 
retry In 5 
Stopping 
Stopping 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
Removlng 
shutdown 
threads . 
C OR 诹 1t111 工 C 工 011 . 
self watchdog. 
request dispatcher. 
S e 、 工 C e . 
threads . 
p001s . 
c011 上 工 011 . 
p 工 d 上 工 le . 
工 s completed. 
Inspur B 4 B 0 : 、 >

 

计算机生成了可选文字:
彐 二 t 二 ng 上 0 StatIStICSController thread. 
a 工 t 工 n 上 0 LocalWatchdog thread. 
waiting 上 0 MasterTokenLockWriter /usr/sap/ANA/SYS/g10ba1//hdb/nameserv 
er.lck thread. 
waiting 上 0 MasterTokenLockWriter /hana/data/ANA//mnt00001/nameserver. 
= 4 
= 4 
Ck thread. 
a 工 t 工 n 上 0 FalloverManager thread. 
a 工 t 工 n 上 0 Cloc 糞 Mon 工 to thread. 
上 工 1a11a e 
a 工 t 工 n 上 0 10p010 y Merge thread. 
re3ected: setstOPPIng h 工 le startIng 
re3ected: S e t Ina C t Ive h 工 le startIng 
、 工 t 工 11 上 0 
Disabling signal handler . 
Stopping self watchdog. 
Stopping request dispatcher. 
Stopping responder. 
Stopping channel wa 工 t e . 
ShuttIng S e V 工 C e down. 
11bxm1 shutdown. 
(actlve 
(actlve 
starting—I)) 
starting—I)) 
Stopping 
Stopping 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
DeletIng 
Removlng 
shutdown 
threads . 
C OR 诹 1t111 工 C 工 011 . 
self watchdog. 
request dispatcher. 
S e 、 工 C e . 
threads . 
p001s . 
c011 上 工 011 . 
p 工 d 上 工 le . 
工 s completed. 
Inspur B 4 B 0 : 、 >

 

7.通过执行以下命令启动实例

/usr/sap/<SID>/HDB<instance>/exe/sapcontrol -nr <instance> -function StartSystem HDB

 

inspur8480:~> /usr/sap/ANA/HDB00/exe/sapcontrol -nr 00 -function StartSystem HDB

计算机生成了可选文字:
Inspur B 4 B 0 : 、 > /usr/sap/ANA/HDBOO/exe/sapcontr01 
ystem HDB 
3 0 . 0 3 . 2 016 11 : 55 : 3 B 
StartSystem 
Inspur B 4 B 0 : 、 > 
—nr 00 
—functlon S t a t S

 


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27146953/viewspace-2154471/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2012-07-10

  • 博文量
    8
  • 访问量
    22610