见贴:http://www.itpub.net/thread-1208620-1-1.html
安装Database Vault时OUI没报错,但安装日志有错;打开DBConsole,DVA的域里没有项目
请教各ORACLE高手,在安装Database Vault时,有没碰到与我一样的问题。
我用的是10.2.0.4版本,在32位win2003上做的,非RAC
安装Database Vault没报错,但安装日志有错误,在DVA里的域里面没有项目;
安装完毕后进入http://localhost:1158/dva, 报HTTP404错误,修改了http-web- site.xml和server.xml 后,重启DBConsole能够进入,以dv_owner登入时又报错,执行脚本catmac.sql并授予DV_ADMIN角色,登入DVA后,点域, 没有任何项目,默认的域有四个项目如下的:
默认的几个Realm
(1)Oracle Data Dictionary
(2) Database Vault Account Management
(3)Oracle Enterprise Manager
(4)Oracle Database Vault
而我的界面没有任何项目,如附件所示:
安装日志的主要错误如下,请教高手如何解决:
Executing task SQLPLUS_CATMAC
Executing task UNLOCK_DVSYS
Executing task LOAD_NLS_FILES
Error executing task LOAD_NLS_FILES:java.lang.NullPointerException
Executing task ACCOUNT_CREATE_OWNER
Executing task GRANT_CONNECT_OWNER
Executing task GRANT_ADMIN_DB_TRIG
Executing task GRANT_ALTER_ANY_TRIG
Executing task ACCOUNT_CREATE_MANAGER
Executing task GRANT_CONNECT_MANAGER
Executing task PASSWORD_CHANGE_DVSYS
Executing task PASSWORD_CHANGE_DVF
RULE_SYNC:java.sql.SQLException: ORA-06550: 第 1 行, 第 7 列:
PLS-00201: 必须声明标识符 'DVSYS.DBMS_MACADM'
ORA-06550: 第 1 行, 第 7 列:
PL/SQL: Statement ignored
Executing task GRANT_DV_OWNER_OWNER
Error executing task GRANT_DV_OWNER_OWNER:java.sql.SQLException: ORA-01919: 角色 'DV_OWNER' 不存在
Executing task GRANT_DBMS_RLS_OWNER
Executing task GRANT_AUDIT_TRAIL
Error executing task GRANT_AUDIT_TRAIL:java.sql.SQLException: ORA-00942: 表或视图不存在
Executing task GRANT_DV_ACCTMGR_MANAGER
Error executing task GRANT_DV_ACCTMGR_MANAGER:java.sql.SQLException: ORA-01919: 角色 'DV_ACCTMGR' 不存在
COMMAND_RULES:java.sql.SQLException: ORA-00942: 表或视图不存在
Executing task ALTER_TRIGGER_BEFORE_DDL
Error executing task ALTER_TRIGGER_BEFORE_DDL:java.sql.SQLException: ORA-04080: 触发器 'DV_BEFORE_DDL_TRG' 不存在
Executing task ALTER_TRIGGER_AFTER_DDL
Error executing task ALTER_TRIGGER_AFTER_DDL:java.sql.SQLException: ORA-04080: 触发器 'DV_AFTER_DDL_TRG' 不存在
Executing task REVOKE_CONNECT_DVSYS
Error executing task REVOKE_CONNECT_DVSYS:java.sql.SQLException: ORA-01932: ADMIN 选项未授权给角色 'CONNECT'
Executing task REVOKE_CONNECT_DVF
Error executing task REVOKE_CONNECT_DVF:java.sql.SQLException: ORA-01932: ADMIN 选项未授权给角色 'CONNECT'
Executing task LOCK_DVSYS
Error executing task LOCK_DVSYS:java.sql.SQLException: ORA-01031: 权限不足
Executing task LOCK_DVF
Error executing task LOCK_DVF:java.sql.SQLException: ORA-01031: 权限不足
Executing task ALTER_TRIGGER_LBACSYS1
Executing task ALTER_TRIGGER_LBACSYS2
Executing task ALTER_TRIGGER_LBACSYS3
Executing task DEPLOY_DVA
DEPLOY_DVA,validate
DEPLOY_DVA get EM home
FQHN:chendaiy-cfbfd7.
DEPLOY_DVA get EM home instance null, resolved=chendaiy-cfbfd7._ORCL
DEPLOY_DVA stop isqlplus
DEPLOY_DVA stop OC4J
DEPLOY_DVA,modify D:/ORACLE/PRODUCT/10.2.0/DB_1/oc4j/j2ee/OC4J_DBConsole_chendaiy-cfbfd7._ORCL/config/server.xml
getDocument() error D:/ORACLE/PRODUCT/10.2.0/DB_1/oc4j/j2ee/OC4J_DBConsole_chendaiy-cfbfd7._ORCL/config/server.xml:java.io.FileNotFoundException: D:/ORACLE/PRODUCT/10.2.0/DB_1/oc4j/j2ee/OC4J_DBConsole_chendaiy-cfbfd7._ORCL/config/server.xml (系统找不到指定的路径。)
modfiy server.xml error:java.io.FileNotFoundException: D:/ORACLE/PRODUCT/10.2.0/DB_1/oc4j/j2ee/OC4J_DBConsole_chendaiy-cfbfd7._ORCL/config/server.xml (系统找不到指定的路径。)
DVCA_ERROR:java.io.FileNotFoundException: D:/ORACLE/PRODUCT/10.2.0/DB_1/oc4j/j2ee/OC4J_DBConsole_chendaiy-cfbfd7._ORCL/config/server.xml (系统找不到指定的路径。)
Error executing task DEPLOY_DVA:java.io.FileNotFoundException: D:/ORACLE/PRODUCT/10.2.0/DB_1/oc4j/j2ee/OC4J_DBConsole_chendaiy-cfbfd7._ORCL/config/server.xml (系统找不到指定的路径。)
Executing task SQLPLUS_UTLRP
Executing task INIT_AUDIT_SYS_OPERATIONS
Executing task INIT_REMOTE_OS_AUTHENT
Executing task INIT_REMOTE_OS_ROLES
Executing task INIT_OS_ROLES
Executing task INIT_SQL92_SECURITY
Executing task INIT_OS_AUTHENT_PREFIX
Executing task INIT_REMOTE_LOGIN_PASSWORDFILE
Executing task INIT_RECYCLEBIN
Executing task RESTART_SERVICES
MANAGE_INSTANCE stop isqlplus
MANAGE_INSTANCE stop OC4J
MANAGE_INSTANCE stop RDBMS
解决如下:
查看帮助信息:
dvca -help
执行dvca -action option -oh D:/oracle/product/10.2.0/db_1 -owner_account dvo -owner_passwd xxx -jdbc_str jdbc:oracle:oci:@orcl -sys_passwd xxx -silent -logfile c:/dvca.log -nodecrypt
再次进入DVA,内容已经显示出来;
是不是Database Vault的安装做得不是很好,或是有BUG? 至少每次我安装都这样,您认为呢?