Oracle 11g 找不到文件 D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_appli

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

在安装Oracle 11g 过程中出现了找不到文件 D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_appli 这个问题,后来我用winrar将两个压缩包同时选中,然后解压到一个文件夹,再安装就成功了


oracle 11.2.0 tnsping ORCL; 报错


C:\Users\Tequila>tnsping ORCL;rnrnTNS Ping Utility for 32-bit Windows: Version - Production on 27-JAN-2013 16:54:13rnrnCopyright (c) 1997, 2010, Oracle. All rights reserved.rnrnUsed parameter files:rnF:\app\Tequila\product\11.2.0\dbhome_1\network\admin\sqlnet.orarnrnTNS-03505: Failed to resolve namernrnC:\Users\Tequila>rnrnsqlnet.ora code:rn# sqlnet.ora Network Configuration File: F:\app\Tequila\product\11.2.0\dbhome_1\network\admin\sqlnet.orarn# Generated by Oracle configuration tools.rnrn# This file is actually generated by netca. But if customers choose to rn# install "Software Only", this file wont exist and without the native rn# authentication, they will not be able to connect to the database on NT.rnrnSQLNET.AUTHENTICATION_SERVICES= (NTS)rnrnNAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)rnrnrnlistener.ora code:rn# listener.ora Network Configuration File: F:\app\Tequila\product\11.2.0\dbhome_1\network\admin\listener.orarn# Generated by Oracle configuration tools.rnrnSID_LIST_LISTENER =rn (SID_LIST =rn (SID_DESC =rn (SID_NAME = CLRExtProc)rn (ORACLE_HOME = F:\app\Tequila\product\11.2.0\dbhome_1)rn (PROGRAM = extproc)rn (ENVS = "EXTPROC_DLLS=ONLY:F:\app\Tequila\product\11.2.0\dbhome_1\bin\oraclr11.dll")rn )rn )rnrnLISTENER =rn (DESCRIPTION_LIST =rn (DESCRIPTION =rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))rn (ADDRESS = (PROTOCOL = TCP)(HOST = = 1521))rn )rn )rnrnADR_BASE_LISTENER = F:\app\Tequilarnrntnsnames.ora code:rn# tnsnames.ora Network Configuration File: F:\app\Tequila\product\11.2.0\dbhome_1\network\admin\tnsnames.orarn# Generated by Oracle configuration tools.rnrnLISTENER_ALEX =rn (ADDRESS = (PROTOCOL = TCP)(HOST = = 1521))rnrnrnORACLR_CONNECTION_DATA =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))rn )rn (CONNECT_DATA =rn (SID = CLRExtProc)rn (PRESENTATION = RO)rn )rn )rnrnALEX =rn (DESCRIPTION =rn (ADDRESS = (PROTOCOL = TCP)(HOST = = 1521))rn (CONNECT_DATA =rn (SERVER = DEDICATED)rn (SERVICE_NAME = Alex)rn )rn )rnrnC:\Windows\System32\drivers\etc\hosts codern# Copyright (c) 1993-2009 Microsoft Corp.rn#rn# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.rn#rn# This file contains the mappings of IP addresses to host names. Eachrn# entry should be kept on an individual line. The IP address shouldrn# be placed in the first column followed by the corresponding host name.rn# The IP address and the host name should be separated by at least onern# space.rn#rn# Additionally, comments (such as these) may be inserted on individualrn# lines or following the machine name denoted by a '#' symbol.rn#rn# For example:rn#rn# # source serverrn# # x client hostrnrn# localhost name resolution is handled within DNS itself.rn localhostrn# ::1 localhostrn 论坛