Oracle uses NETCA error

Source: Internet
Author: User

Use Xshell to connect to Oracle database server in win7 system, configure monitoring to use NETCA error

[Email protected] ~]$ NETCA


Oracle Net Services Configuration:

Error:null

Check the trace file for details:/opt/oracle/cfgtoollogs/netca/trace_oradb11g_home1-1609063pm3137.log

Oracle Net Services configuration failed. The exit code is 1

[Email protected] ~]$ Tail/opt/oracle/cfgtoollogs/netca/trace_oradb11g_home1-1609063pm3137.log

[Main] [2016-09-06 15:31:38.782 CST]  [oraclehome.getversion:936] OracleHome.server.getVersion version:11.2.0.3.0

[Main] [2016-09-06 15:31:38.783 CST]  [oraclehome.getversion:957] Current Version from inventory:11.2.0.3.0

[Main] [2016-09-06 15:31:38.783 CST] [opsutil.gethomeversion:452] returning oraclehome Version = 11.2.0.3.0

[Main] [2016-09-06 15:31:38.788 CST]  [oraclehome.getversion:889]  Oraclehome.getversion called. Current version:11.2.0.3.0

[Main] [2016-09-06 15:31:38.789 CST]  [oraclehome.getversion:957] Current Version from inventory:11.2.0.3.0

[Main] [2016-09-06 15:31:38.789 CST]  [initialsetup.<init>:4071] Admin location is:/opt/oracle/11g/network/admin

[Main] [2016-09-06 15:31:38.877 CST]  [configureprofile.setprofileparam:136] Setting adr_base:/opt/oracle

Java.lang.NullPointerException

At oracle.ewt.lwawt.bufferedapplet.<init> (Unknown Source)

At Oracle.net.ca.netca.<init> (netca.java:443)

At Oracle.net.ca.NetCA.main (netca.java:429)

This is due to the Win7 unable to pull the server through the Xshell GUI, execute the following three commands can be

Switch to an Oracle user and execute the following command

[[email protected] ~]$ export display=192.168.20.100: 0//192.168.20.100 is the address of the Win7, not the IP address of the server, remember

[Email protected] ~]$ Xhost +

Access control disabled, clients can connect from the any host//proof setting is successful

[Email protected] ~]$ NETCA


Oracle Net Services Configuration://This table name appears in the graphical interface


This article is from the "Dong Yonggang blog" blog, make sure to keep this source http://dongyonggang.blog.51cto.com/9784442/1846904

Oracle uses NETCA error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.