| Oracle9i Warehouse Builder Installation and Configuration Guide Release 9.2.0.3 Part Number B11000-02 |
|
This appendix contains reference information to use in the event that you encounter errors or problems with your installation. This appendix includes the following topics:
This section includes the following topics:
ORACLE_HOME\owb\reposasst\log.txt.0
ORACLE_HOME\owb\rtasst\log.txt.0
ORACLE_HOME\owb\browserasst\owbb_browser_install_log.txt.0
ORACLE_HOME\owb\log\Runtime_Repository_Name\log.0
If Warehouse Builder appears to be frozen or hanging, perform a stack trace as follows:
cd ORACLE_HOME\owb\bin\win32\
owbclient.bat.
This produces the thread-dump. This information will help Oracle Support to identify the problem.
If Oracle9i Warehouse Builder is producing errors or exhibiting other unexpected results, additional error logging can help you or Oracle Support identify the cause.
For additional error logging:
owbclient.bat > owbclient.log):
Oracle9i Warehouse Builder Browser Assistant
For Windows: browserinst.bat
For UNIX: browserinst.sh
Oracle9i Warehouse Builder Client
For Windows: owbclient.bat
For UNIX: owbclient.sh
Oracle9i Warehouse Builder Design Browser
For Windows: openDB.bat
For UNIX: openDB.sh
Oracle9i Warehouse Builder MDL File Upgrade Utility
For Windows: mdlconvertui.bat
For UNIX: mdlconvertui.sh
Oracle9i Warehouse Builder OMB Plus
For Windows: OMBPlus.bat
For UNIX: OMBPlus.sh
Oracle9i Warehouse Builder Repository Assistant
For Windows: reposinst.bat
For UNIX: reposinst.sh
Oracle9i Warehouse Builder Runtime Assistant
For Windows: runtimeinst.bat
For UNIX: runtimeinst.sh
Oracle9i Warehouse Builder Runtime Audit Browser
For Windows: openRAB.bat
For UNIX: openRAB.sh
Start Local RTP Service
For Windows: Run the script ORACLE_HOME\owb\bin\win32\local_service_login.bat with -startup ORACLE_HOME as the parameter
For UNIX: local_service_login.sh -startup ORACLE_HOME
Start Oracle9i Warehouse Builder OC4J Instance
For Windows: startOwbbInst.bat
For UNIX: startOwbbInst.sh
Stop Local RTP Service
For Windows: Run the script ORACLE_HOME\owb\bin\win32\local_service_login.bat with -closedown ORACLE_HOME as the parameter
For UNIX: local_service_login.sh -closedown ORACLE_HOME
Stop Oracle9i Warehouse Builder OC4J Instance
For Windows: stopOwbbInst.bat
For UNIX: stopOWBBInst.sh
Use this log when contacting Oracle Support.
To check, verify, or reinstall the Java Virtual Machine (JVM) server in the database, refer to Oracle Metalink:
INITJVM.SQL; INSTALL; JAVAVM; JVM; VERIFY; SERVER; INSTALL; CLEANUP
This search returns the cleanup notes for the JVM. The number of available documents frequently changes because Oracle Support creates, merges, and deletes various cleanup notes. This string of search words will return the most current and pertinent documents.
The Runtime Platform Service is managed automatically by the Oracle Database Server. However, if you need to manually start and stop the service, use the scripts provided with your Warehouse Builder installation for that purpose.
The scripts are in the ORACLE_HOME\owb\rtp\sql directory. To run any of these scripts manually, log on to the Runtime Platform as the Runtime Repository owner. The scripts include:
start_service.sql: Use this to start the Runtime Platform Service
stop_service.sql: Use this to stop the Runtime Platform Service
show_service.sql: Use this to check whether the Runtime Platform Service is available.
service_doctor.sql: Use this to check the install status of the Runtime Platform Service components.
To start the Runtime Platform Service: Run the ORACLE_HOME\owb\rtp\sql\start_service.sql script.
To stop the Runtime Platform Service: Run the ORACLE_HOME\owb\rtp\sql\stop_service.sql script.
To check whether the Runtime Platform Service is available: Run the ORACLE_HOME\owb\rtp\sql\show_service.sql script.
To check the install status of the Runtime Platform Service components: Run the ORACLE_HOME\owb\rtp\sql\service_doctor.sql script.
It is possible that when you install Warehouse Builder Runtime components on an HP-UX operating system, the following error occurs: INS0022: A spawned program error. This may be a database server issue.
To identify the database server issue:SYS user.
Create usertest_ljidentified bytest_lj; Grant connect, resource totest_lj;
ORACLE_HOME/owb/bin/unix/test.sh with the following contents:
../unix/loadjava -thin -verbose -order -resolve -user 'test_lj/test_ lj@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hpdgpa3)(PORT=1522))(CONNECT_ DATA=(SERVICE_NAME=dgpadw)))' ../../lib/int/rtpserver.jar
ORACLE_HOME/owb/bin/unix/.
test.sh.
This section includes the following topics:
In a standard database installation, the SYS user has SYSDBA credentials. You can verify this from SQL*Plus by issuing the following connect statement:
connect sys/<<sys_password>>@TNS_NAME_OF_DB as sysdba;
In a standard database installation, the above connect statement works because REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE and the default password file is created by the installation process.
If your database is configured with REMOTE_LOGIN_PASSWORDFILE=NONE, then the statement connect sys/<<sys_password>>@TNS_NAME_OF_DB as sysdba; will fail. In this case, you have the following options:
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE and create a password file if none exists.
O7_DICTIONARY_ACCESSIBILITY=TRUE. connect sys/<<sys_password>>@TNS_NAME_OF_DB will work, which allows Warehouse Builder Assistants to connect to SYS user.
INS0034: The Database Server needs to be configured by running Runtime Repository option locally.
You can encounter this message when running Oracle9i Warehouse Builder Runtime Assistant.
Cause: You do not have a database server local to the machine on which you are running Oracle9i Warehouse Builder Runtime Assistant.
Action: Run the Oracle9i Warehouse Builder Server Side installation on the machine where your Oracle database server is located and then launch the Runtime Assistant.
ORA-04021: Timeout occurred while waiting to lock object SYS.DBMS_AQADM.
You encounter this error when running the Runtime Repository Assistant. There are two possible resolutions to this issue.
Cause: The Runtime Assistant grants 'Execute' privileges on the SYS user dbms_aq packages to the Runtime Repository users being created. The database server waits for a lock on the dbms_aq package before it can apply this grant. If the package is in use by another user, the Runtime Repository will encounter error ORA-04021 from the database server.
Action: Using Oracle Enterprise Manager, connect to the database server and identify the session that is using the dbms_aq. Exit the application that is holding the lock and then recreate a new set of Warehouse Builder Runtime Repository users.
Action: Wait until the application holding the lock finishes running.
SYS user and execute the following SQL statements:
grant execute on sys.dbms_aq to scott;
grant execute on sys.dbms_aqadm to scott;
revoke execute on sys.dbms_aq from scott;
revoke execute on sys.dbms_aqadm from scott;
ORACLE_HOME\owb\rtp\sql\start_service.sql script.
API5022: Cannot Connect to the Specified Repository
This error occurs when you try to connect to the Design Repository after having performed a database export or import from the Warehouse Builder repository schema.
Cause: The package NAMESPACESERVICEIMPL may be invalid. This occurs after a database export or import from the Warehouse Builder Design Repository schema if the repository owner has no SELECT privilege on SYS.V_$SESSION. You can diagnose the cause as follows:
ALTER PACKAGE NAMESPACESERVICEIMPL compile body;
show errors;
SELECT privilege on SYS.V_$SESSION.
PL/SQL: SQL statement ignored PLS-00201: Identifier 'SYS.V_$SESSION' must be declared
Action:
Oracle9i Warehouse Builder Runtime Assistant fails with LoadJava Error.
Cause: This can occur if the Oracle Database does not have the JServer option installed.
Action: Make sure that the Oracle Database has JServer option installed.
You encounter an error when specifying a SYSDBA user.
Oracle9i Warehouse Builder Assistants require you to provide SYSDBA credentials when installing the Oracle9i Warehouse Builder Design Repository or Runtime components.
Cause: In a standard database installation, the SYS user has SYSDBA credentials. You can verify this from SQL*Plus by issuing the following connect statement:connect sys/sys_password@TNS_NAME_OF_DB as sysdba;
In a standard database installation, the above connect statement works because REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE and the default password file is created by the installation process.
If your database is configured with REMOTE_LOGIN_PASSWORDFILE=NONE, then the statement connect sys/sys_password@TNS_NAME_OF_DB as sysdba; will fail. In this case, you have two options.
Action: Re-configure your database with REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE and create a password file if none exists.
Action: If the above is not an option, re-configure your database with O7_DICTIONARY_ACCESSIBILITY=TRUE. With this setting, the statement connect sys/sys_password@TNS_NAME_OF_DB will work, which allows the Warehouse Builder Assistants to connect to SYS user.
The Regional Name and Address Data Libraries Are Not Available.
Cause: The Name and Address regional data libraries may not have been installed in the correct location.
Action: Ensure that you have successfully extracted regional data to the NAS_DATA directory.
For Windows: Run owb\bin\win32\NAStart.bat.
For UNIX: Run owb/bin/unix/NASTART.sh.
owb\bin\admin\NASvr.log.
The log should contain a list of installed countries.
If there is no such list, verify that you have extracted the regional library data to the correct location. If you have extracted the data to the wrong location, you can either reinstall the data, or modify the owb\bin\admin\NameAddr.properties file to indicate the correct file path. If you modify the NameAddr.properties file, stop and restart the Name and Address Server as follows:
For Windows: Start the server by running owb\bin\win32\NAStart.bat. Stop the server by running owb\bin\win32\NAStop.bat.
For UNIX: Start the server by running owb/bin/unix/NAStart.sh. Stop the server by running owb/bin/unix/NAStop.sh.
Lineage and impact analysis reports: Extensive tablespace requirements for materialized views.
The first time you refresh a materialized view, it is populated from the Oracle9i Warehouse Builder repository. The materialized view can occupy up to twice the amount of space allocated to the entire Warehouse Builder Runtime Repository.
Action: If the Warehouse Builder Runtime Repository schema is created in a tablespace that is dedicated to its use, these issues are easier to monitor. Ensure that sufficient free space exists on the physical drive for tablespace expansion. Within Oracle Enterprise Manager, ensure that the tablespace is set to Autoextend On.
Java out of memory error occurs during a batch operation.
Operations requiring large amounts of memory can result in a Java out of memory error, if the system resources (such as virtual memory) are constrained.
Cause: There is not enough virtual memory. The Warehouse Builder client runs with a maximum heap size of 384MB, as defined by the -mx parameter in the owbclient.bat file. The -Dlimit parameter in the owbclient.bat file specifies the memory threshold (80% of Dlimit) at which OWB memory manager begins to assist Java garbage collection. If you change the -mx parameter value, set the -Dlimit parameter to the same value, or at least to 90% of the value. Note that setting the -Dlimit to a low value can have a negative impact on the performance of Warehouse Builder.
Action: Increase the -Dlimit parameter in Warehouse Builder as follows:
ORA-01925: maximum of 30 enabled roles exceeded
This error occurs when you are installing a Design Repository, a Runtime Repository, a Target Schema, or a Runtime User.
Cause: The maximum number of enabled roles in the database has been exceeded. When you create a Design Repository, Runtime Repository, Target Schema, or a Runtime User, new roles are created in the database assigned to the schema in question. When the number of roles exceeds the value of the MAX_ENABLED_ROLES parameter, this error occurs.
Action: Increase the value of the MAX_ENABLED_ROLES parameter in the init.ora file. When you deinstall a Design Repository, Runtime Repository, Target Schema, or Runtime User, delete the associated roles as well.
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
Internal Server Error
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1349)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
This error occurs in the Repository Selection page of the Runtime Audit Browser (Oracle9iAS-integrated version) when you try to view reports for a Runtime Repository using a Net Service-based database link.
Cause: The OWB Browser OC4J instance is not configured with the correct additional environment variable.
Action: Ensure that you have followed all the steps in Chapter 2, "Installing Oracle9i Warehouse Builder Components".
Internal Server Error
This is a Runtime Audit Browser Portlet Error returned by the listener.
Cause: This can occur if your Warehouse Builder Runtime Audit Browser portlet provider is not working because of your Data Source definition or your portlet provider definition.
Action: Check whether the Warehouse Builder Runtime Audit Browser portlet provider is working at the following URL:
http://hostname:port_number/owbb/providers/
For example:
http://dwlin12.us.oracle.com:7778/owbb/providers/
The following text should display:
"Congratulations! You have successfully reached your Provider's Test Page." Checking for components: Portlets are: Warehouse Builder Runtime Audit Browser
Verify your Data Source definition for the following regardless of whether you see the above text:
uix2.jar and shar.jar from the Default application library path as described in Chapter 2, "Installing Oracle9i Warehouse Builder Components".
OWBB application, and not the Default application.
com.evermind.sql.OrionCMTDataSource for the Oracle Data Source.
OWBB application named OWBB is /usr/iasv2_portal/j2ee/owbb/log/owbb_default_island_1:
default-web-access.log
global-application.log
jms.log
rmi.log
server.log
INS0009: Unable to connect to the database. Verify the connect information.
See ORA-12514: TNS: listener could not resolve SERVICE_NAME given in connect descriptor.
ORA-12154: TNS: Could not resolve service name.
See ORA-12514: TNS: listener could not resolve SERVICE_NAME given in connect descriptor.
ORA-12514: TNS: listener could not resolve SERVICE_NAME given in connect descriptor.
This error occurs when you try to connect to a database.
Cause: If you used the Net8 Easy Configuration or Net8 Assistant tools to create the Net Service Name entry, and you used the default option (Service Name) on the newly created Net Service Name, the parameter SERVICE_NAME is added to the TNSNAMES.ORA as a subclause to the CONNECT_DATA section in the Net Service Name entry. This replaces the (SID=<SIDname>) subclause in the previous versions of Oracle8.
Action: Implement the TNSNAMES.ORA file as follows:
GLOBAL_DBNAME parameter in the LISTENER.ORA for each SID that you want to identify as a separate service. Use the value of this parameter as the value of the SERVICE_NAME parameter. You will need to activate any changes you make to LISTENER.ORA for this purpose by stopping and restarting the listener process.
INIT.ORA, namely SERVICE_NAMES and DB_DOMAIN, to determine the value of the SERVICE_NAME that you must use in TNSNAMES.ORA. The valid construction of this value is <SERVICE_NAMES>.<DB_DOMAIN> with the period separating the two INIT.ORA values. If your SERVICE_NAMES is BIKES and your DB_DOMAI is COM, then your SERVICE_NAME is BIKES.COM.
DB_DOMAIN parameter set in your INIT.ORA, or if there is no GLOBAL_DBNAME in the LISTENER.ORA, then you can use the SERVICE_NAMES from the INIT.ORA in your TNSNAMES.ORA for the SERVICE_NAME parameter.
For example, if INIT.ORA contains SERVICE_NAMES = "TEST817" and db_domain is not set, then the TNSNAMES.ORA entry is: CONNECT_DATA =(SERVICE_NAME = "TEST817")).
SERVICE_NAMES parameter in the init.ora, you can use one of them. If SERVICE_NAMES is not set, then you can use DB_NAME.DB_DOMAIN parameters from the INIT.ORA file.
SERVICE_NAMES and DB_DOMAIN is not set in the INIT.ORA and there is no GLOBAL_DBNAME in the LISTENER.ORA,then your SERVICE_NAME in TNSNAMES.ORA file is be DB_NAME.
|
|
![]() Copyright © 1996, 2003 Oracle Corporation. All Rights Reserved. |
|