How to Create Oracle Database QoS Management Administrator Accounts

How to Create Oracle Database QoS Management Administrator Accounts

[oracle@oratest1 bin]$ srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[oracle@oratest1 bin]$ qosctl qosadmin -setpasswd qosadmin
-bash: qosctl: command not found
[oracle@oratest1 bin]$ id
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1031(dba),1032(asmdba)
[oracle@oratest1 bin]$ exit
logout
[root@oratest1 ~]# su - grid
[grid@oratest1 ~]$
[grid@oratest1 ~]$
[grid@oratest1 ~]$ qosctl qosadmin -setpasswd qosadmin
New password:
Confirm new password:
User qosadmin modified successfully.

这里第一次登陆会报错如下:




 
 


 

can not
  connect to QoS Management Server
Error while
  getting remote MBeanServer for url: ormi://oratest1:23792/default


 

 


  
  
   
   
   
   
   
   
   
   
   
   
   
   
  
  
  
  
 


 


这里只需要重启qos服务即可:


[grid@oratest1
dbhome_1]$ srvctl stop oc4j


serv[grid@oratest1
dbhome_1]$

[grid@oratest1
dbhome_1]$ srvctl start oc4j

重启后登陆正常。


restart qos server:
[grid@oratest1 dbhome_1]$  srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$ srvctl stop oc4j
serv[grid@oratest1 dbhome_1]$
[grid@oratest1 dbhome_1]$ srvctl start oc4j
[grid@oratest1 dbhome_1]$ srvctl status oc4j
OC4J is enabled
OC4J is running on node oratest1
[grid@oratest1 dbhome_1]$


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

转载于:http://blog.itpub.net/13750068/viewspace-2145530/

你可能感兴趣的:(数据库)