Welcome Guest ( Log In | Register )


 
 
 
 
 
 

 
 
Oracle 

Performance Tuning Reference poster
 
Oracle training in Linux 

commands
 
Oracle training Weblogic Book
 
Easy Oracle Jumpstart
 
Oracle training & performance tuning books
 
Burleson Consulting Remote DB Administration
 
 
 
Reply to this topicStart new topic
> DBCA execution on Solaris Fails
sysarch
post Nov 20 2008, 01:59 PM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 20-November 08
Member No.: 38,880



Running oracle 10g dbcafails to start with the following error message:


When dbca is executed on Solaris, I get the following Java error:

bash-3.00$ ./dbca

Exception in thread "main" java.lang.NoClassDefFoundError: oracle/sysman/oip/oipc/oipch/OipchKernelProperty
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at oracle.sysman.assistants.util.OsUtilsBase.constructInstance(OsUtilsBase.java:141
4)
at oracle.sysman.assistants.util.OsUtilsBase.getOsUtils(OsUtilsBase.java:144)
at oracle.sysman.assistants.util.attributes.InitParamAttributes.initialize(InitPara
mAttributes.java:498)
at oracle.sysman.assistants.util.attributes.InitParamAttributes.<init>(InitParamAttributes.java:470)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:248)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:684)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)


Has anyone encountered this error? Why is the dbca failing to launch?

Thanks,
SysArch
Go to the top of the page
 
+Quote Post
SteveC
post Nov 20 2008, 02:36 PM
Post #2


Advanced Member
***

Group: Members
Posts: 2,835
Joined: 11-March 08
Member No.: 18,933



Follow the instructions in the installation guide and make sure your environment is properly configured.
Go to the top of the page
 
+Quote Post
sysarch
post Nov 20 2008, 02:56 PM
Post #3


Newbie
*

Group: Members
Posts: 6
Joined: 20-November 08
Member No.: 38,880



QUOTE (SteveC @ Nov 20 2008, 02:37 PM) *
Follow the instructions in the installation guide and make sure your environment is properly configured.


The installation was done as per the install guide and the oracle server installation completes successfully. After the installation when I try to create the database with dbca the error message appears.
Go to the top of the page
 
+Quote Post
SteveC
post Nov 20 2008, 03:08 PM
Post #4


Advanced Member
***

Group: Members
Posts: 2,835
Joined: 11-March 08
Member No.: 18,933



See note 460695.1 on MetaLink. Your environment has errors. 99.99999999% of the time, that is the case when dbca fails to start or work.

Another case is -

These two files must exist :

- ORACLE_HOME/oui/jlib/OraPrereq.jar and
- ORACLE_HOME//inventory/prereqs/oui/OraPrereqChecks.jar

==> for this current issue :
ORACLE_HOME//inventory/prereqs/oui/OraPrereqChecks.jar does not exist
Go to the top of the page
 
+Quote Post
sysarch
post Nov 20 2008, 03:44 PM
Post #5


Newbie
*

Group: Members
Posts: 6
Joined: 20-November 08
Member No.: 38,880



QUOTE (SteveC @ Nov 20 2008, 03:09 PM) *
See note 460695.1 on MetaLink. Your environment has errors. 99.99999999% of the time, that is the case when dbca fails to start or work.

Another case is -

These two files must exist :

- ORACLE_HOME/oui/jlib/OraPrereq.jar and
- ORACLE_HOME//inventory/prereqs/oui/OraPrereqChecks.jar

==> for this current issue :
ORACLE_HOME//inventory/prereqs/oui/OraPrereqChecks.jar does not exist



Can I add this jar file manually in the required location? Will this work?
Go to the top of the page
 
+Quote Post
SteveC
post Nov 20 2008, 03:57 PM
Post #6


Advanced Member
***

Group: Members
Posts: 2,835
Joined: 11-March 08
Member No.: 18,933



Try it and see. The other option is to reinstall the software.
Go to the top of the page
 
+Quote Post
sysarch
post Nov 20 2008, 05:03 PM
Post #7


Newbie
*

Group: Members
Posts: 6
Joined: 20-November 08
Member No.: 38,880



QUOTE (SteveC @ Nov 20 2008, 03:58 PM) *
Try it and see. The other option is to reinstall the software.



Copying OraPrereqChecks.jar to ORACLE_HOME/inventory/prereqs/oui/ resolved the issue and I was able to create the data base.

BUT!!

There is a very serious issue that needs to be addressed by Oracle.

The file name OraPrereqChecks.jar is actually oraprereqchecks.jar on the install CD. This makes the installer give an error message during installation that it cannot copy OraPrereqChecks.jar and this is because the real file is oraprereqchecks.jar

This is not the only time I encountered the case mismatch (on file names or folder names) during Oracle installation on Solaris but several other occasions as well. For example:

There is directory that the installer looks for during installation /stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/*.jar

But the real folder names is ../stage/components/oracle.swd.jre/1.4.2/1/datafiles/*.jar

Its a very lame mistake by such a large corporation like Oracle to be inconsistent with the folder names and file names!!!. Does any one, reading this article, know if Oracle is addressing this issue. Its a very major problem on Unix/Linux systems.

How can I report this to Oracle directly?

Thanks,
Abdul
Go to the top of the page
 
+Quote Post
SteveC
post Nov 20 2008, 05:31 PM
Post #8


Advanced Member
***

Group: Members
Posts: 2,835
Joined: 11-March 08
Member No.: 18,933



Have at it, but the file on the CD is obviously not the file in the installed footprint. That doesn't mean anything.

The file installed on the computer is the camel-cased named JAR file.

Attached File(s)
Attached File  bc.png ( 5.24K ) Number of downloads: 3
 
Go to the top of the page
 
+Quote Post
burleson
post Nov 21 2008, 06:21 AM
Post #9


Advanced Member
***

Group: Members
Posts: 11,615
Joined: 26-January 04
Member No.: 13



Hi Abdul,

Remember, the DBCA is a wizard for beginners, professional DBA's do it manually.

That way you have much more control and you can see exactly what's going on:

http://www.dba-oracle.com/oracle_create_database.htm

***************************************************************************
>> Its a very lame mistake by such a large corporation like Oracle to be inconsistent with the folder names and file names!!!.

That's NOT IT!

I work with Oracle every day, and if there was a widespread issue, I would have heard about it!

***************************************************************************
>> How can I report this to Oracle directly?

Just open a bug report:

http://metalink.orcale.com





--------------------
Hope this helps. . .

Donald K. Burleson
Oracle Press author
Author of Oracle Tuning: The Definitive Reference
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd October 2014 - 03:37 AM