1.配置EM express
SQL> exec DBMS_XDB_CONFIG.SETHTTPsPORT(5500); PL/SQL procedure successfully completed.
2.检查监听
[grid@pub19-node1 trace]$ lsnrctl status LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 12-MAR-2020 21:53:24 Copyright (c) 1991, 2019, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date 12-MAR-2020 19:07:26 Uptime 0 days 2 hr. 45 min. 57 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/19.0.0/grid/network/admin/listener.ora Listener Log File /u01/app/grid/diag/tnslsnr/pub19-node1/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.204.11)(PORT=1522))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.204.21)(PORT=1522))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=pub19-node1.rac.libai)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/product/19.0.0/dbhome_1/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW)) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM1", status READY, has 1 handler(s) for this service... Service "+ASM_DATADG" has 1 instance(s). Instance "+ASM1", status READY, has 1 handler(s) for this service... Service "+ASM_FRADG" has 1 instance(s). Instance "+ASM1", status READY, has 1 handler(s) for this service... Service "+ASM_OCRDG" has 1 instance(s). Instance "+ASM1", status READY, has 1 handler(s) for this service... Service "a0a291c60b286e8ce0530bcca8c07397.rac.libai" has 1 instance(s). Instance "orcl1", status READY, has 1 handler(s) for this service... Service "a0a88c7a23743ee4e0530bcca8c0b3cc.rac.libai" has 1 instance(s). Instance "orcl1", status READY, has 1 handler(s) for this service... Service "czhpdb.rac.libai" has 1 instance(s). Instance "orcl1", status READY, has 1 handler(s) for this service... Service "orcl.rac.libai" has 1 instance(s). Instance "orcl1", status READY, has 1 handler(s) for this service... Service "orclXDB.rac.libai" has 1 instance(s). Instance "orcl1", status READY, has 1 handler(s) for this service... The command completed successfully
3.访问,发现报错如下
4.需要对wallet文件赋权加密文件位置在上面监听输出信息有详细路径。
[root@pub19-node1 ~]# cd /u01/app/oracle/product/19.0.0/dbhome_1/admin/orcl/ [grid@pub19-node1 xdb_wallet]$ ll total 8 -rw------- 1 oracle asmadmin 3864 Mar 12 15:12 cwallet.sso -rw------- 1 oracle asmadmin 3819 Mar 12 15:12 ewallet.p12 [root@pub19-node1 xdb_wallet]# chmod 777 * [root@pub19-node1 xdb_wallet]# ll total 8 -rwxrwxrwx 1 oracle asmadmin 3864 Mar 12 15:12 cwallet.sso -rwxrwxrwx 1 oracle asmadmin 3819 Mar 12 15:12 ewallet.p12
5.再次访问,问题解决
https://192.168.204.11:5500/em/login
