在HP-UX安装Oracle后无法运行netca

以oracle用户登录,环境变量设置都正确,输入netca报错:

$ netca

/opt/oracle/product/9.2.0/bin/netca[152]: %s_jreLocation%/bin/jre: not found.

修改netca,第90行:

JREDIR=/opt/oracle/product/9.2.0/JRE

注意:一定要用Oracle自己的JRE

保存后运行,又报错:

$ netca

Class not found: oracle.net.ca.NetCA

肯 定是CLASSPATH的问题,继续修改netca,发现94到99这几行中指定的几个lib文件与实际的文件系统中的不符,比如SHAREJAR=$ JLIBDIR/share-1_1_9.jar,而/opt/oracle/product/9.2.0/jlib目录下实际是share.jar

纠正这些问题后,再次运行netca,一切正常。

猜测是安装9.2.0.1后又打了升级补丁,升级到了9.2.0.5,会不会是这个原因造成的netca文件的这个问题?由于打补丁之前没有试着运行netca,无法比较了,下一次安装Oracle时再说吧。

One thought on “在HP-UX安装Oracle后无法运行netca

Leave a Reply

Your email address will not be published. Required fields are marked *

*

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.
For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>