我安装了oracleEX 11g,然后我尝试登录到顶点 tutorials
我无法使用默认的admin / admin登录 system / my password
查看截图
请帮我登录到顶点。 我很感激任何建议
答案 0 :(得分:1)
启用网络服务(ACL)和XML DB HTTP服务器
重新启用Oracle XML DB HTTP Server端口(8383):
EXEC dbms_xdb.sethttpport(8383);
启用远程HTTP连接(可选):
EXEC dbms_xdb.setListenerLocalAccess(l_access => FALSE);
默认情况下,Oracle Database 11g中禁用了与网络服务交互的功能。因此,您必须使用DBMS_NETWORK_ACL_ADMIN程序包为APEX_040200数据库用户的任何主机授予连接权限:
`DECLARE
ACL_PATH VARCHAR2(4000);
BEGIN
-- Look for the ACL currently assigned to '*' and give APEX_040200
-- the "connect" privilege if APEX_040200
-- does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200',
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'APEX_040200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
'ACL that lets power users to connect to everywhere',
'APEX_040200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
/
COMMIT;`