關於Oracle啟動無法啟動netmgr問題的解決

來源:互聯網
上載者:User

看下面示範:
$ cat .bash_profile
。。。 。。。
#PATH=$PATH:$HOME/bin
 
#export PATH
 
Oracle_SID=lty
ORACLE_BASE=/u01
ORACLE_HOME=/u01/oracle
#PATH=$ORACLE_HOME/bin:$PATH
#LD_ASSUME_KERNEL=2.4.19
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
ORACLE_OWNER=oracle
ORACLE_TERM=xterm
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:$ORACLE_HOME/bin
DISPLAY=192.168.1.200:0.0
 
export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH LD_LIBRARY_PATH TNS_ADMIN ORA_NLS33 ORACLE_OWNER ORACLE_TERM DISPLAY
 
stty erase ^h
 
$ netmgr
。。。 。。。
Exception in thread "main" java.lang.VerifyError: (class: oracle/net/mgr/servicename/DBPanel$1, method: actionPerformed signature: (Ljava/awt/event/ActionEvent;)V) Illegal use of nonvirtual function call
        at oracle.net.mgr.servicename.DBPanel.<init>(DBPanel.java)
        at oracle.net.mgr.servicename.ConnectInfoEditor.<init>(ConnectInfoEditor.java)
        at oracle.net.mgr.servicename.ServiceNameComponent.<init>(ServiceNameComponent.java)
        at oracle.net.mgr.container.NetContainer.loadComponents(NetContainer.java)
        at oracle.net.mgr.container.NetContainer.initClient(NetContainer.java)
        at oracle.sysman.emSDK.client.appComponent.BaseAppComponent.init(BaseAppComponent.java:242)
        at oracle.sysman.emSDK.client.appContainer.WebApplication.addApplicationComponent(WebApplication.java:1168)
        at oracle.net.mgr.container.NetApplication.init(NetApplication.java)
        at oracle.sysman.emSDK.client.appContainer.WebApplication.launch(WebApplication.java:3443)
        at oracle.sysman.emSDK.client.appContainer.WebApplication.main(WebApplication.java:3326)
 
解決方案:
$ vi ~/bin/netmgr
第139行:$JRE -classpath $CLASSPATH oracle.net.mgr.container.NetApplication oracle.net.mgr.container.NetApplication
改為: $JRE -classpath $CLASSPATH -noverify oracle.net.mgr.container.NetApplication oracle.net.mgr.container.NetApplication

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.