oracle 使用netca报错

在win7系统中使用xshell连接Oracle数据库服务器,配置监听使用netca报错


[[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)

这个是由于win7无法通过xshell调出服务器的图形界面,执行下面三个命令后即可

切换到Oracle用户后再执行如下命令

[[email protected] ~]$ export DISPLAY=192.168.20.100:0    //192.168.20.100 是win7的地址,不是服务器的IP地址,切记

[[email protected] ~]$ xhost +

access control disabled, clients can connect from any host    //证明设置成功

[[email protected] ~]$ netca

Oracle Net Services Configuration:        //出现这个表名出现图形界面

时间: 2024-10-17 10:16:36

oracle 使用netca报错的相关文章

使用Oracle SQL Developer报错:Unable to find a Java Virtual Machine

1.环境 win7 x64,oracle 11g r2,jdk6 x64 2.问题 第一次启动Oracle SQL Developer的时候会让我们填写java.exe的路径,我在jdk安装目录下的bin中找到了java.exe,但是填写以后报如下错误: 3.原因 oracle 11g中安装的Oracle SQL Developer是32位的,而我们现在给他指定的java.exe却是64位的,所以会出现这种错误. 4.解决方法 1)从网上下载Oracle SQL Developer x64,然后

navicat 连接oracle 数据库会报错

navicat 直连oracle 数据库会报错 ORA-12737 Instant Client Light:unsupported server character set ZHS16GBK 今天使用Navicat连接Oracle数据库,报了下面的这个错误:“ORA-12737 Instant Client Light:unsupported server character set ZHS16GBK” 从这个错误上看,可以知道是客户端不支持服务器端的字符集造成的,但是修改服务器端的字符集是不

Oracle 11g安装报错Environment variable: "PATH"

Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.预期值 : 1023实际值 : 1245 PRVF-3929 : Adding the Oracle binary location to the PATH environment var

ORACLE 8i 遇到报错:ORA-01631: max # extents (505) reached in table

最近在客户的一个8i生产库上使用statspack,发现alert中有报错: Mon Jun 16 13:17:52 2014 Errors in file /oracle/8.1.7/admin/prod/bdump/snp0_96626_prod.trc: ORA-12012: error on auto execute of job 304 ORA-01631: max # extents (505) reached in table PERFSTAT.STATS$SQL_SUMMARY

oracle数据库启动报错,不能启动ASM实例

数据库rac启动时报错,日志如下,后来使用 Sat Jun  7 06:02:11 2014 GATHER_STATS_JOB encountered errors.  Check the trace file. Sat Jun  7 06:02:11 2014 Errors in file /oracle/product/admin/dqb/bdump/dqb2_j001_13352.trc: ORA-08103: object no longer exists Sat Jun  7 06:0

Oracle SQL Developer报错:Unable to find a Java Virtual Machine解决办法

安装了64位的Oracle数据库以及32位的Oracle客户端,在开始菜单中第一次打开客户端的SQL Developer时提示输入java.exe的路径,我选择了Oracle数据库自带的jdk路径,确定之后报错: 百度查找解决办法,原因是64位的Oracle数据库中自带的jdk也是64位的,但安装的Oracle客户端是32位的,所以不兼容. 解决办法一般有两种做法: 1)从网上下载Oracle SQL Developer x64(http://www.oracle.com/technetwork

32bit的windows 2008,Oracle实例启动报错ORA-00064

环境:windows 2008 32bit,oracle db 10.2.0.1 32bit 单机,32GB的物理内存 问题:实例启动报错:ORA-00064: object is too large to allocate on this O/S (1,4004280) 现象如下: H:\oracle\product\10.2.0\db_1\BIN>sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 5月 2

一则Oracle EXP导出报错的解决办法(转载)

前段时间上海某保险客户IT主管打电话过来,说他们的开发人员在开发环境中执行EXP报错,让我过去检查下.本着“客户为本,服务为根”的宗旨,第一时间赶到客户现场. 和客户开发人员沟通下,查看EXP报错的具体信息: 正在导出 pre-schema 过程对象和操作 EXP-00008: 遇到 ORACLE 错误 4063 ORA-04063: package body "DMSYS.DBMS_DM_IMP_INTERNAL" has errors ORA-06508: PL/SQL: coul

oracle中xhost报错

一.命令找不到 xhost:command not found yum whatprovides "*/xhost" Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. base/filelists_