oracle
installation Note: The installation path can not url with Chinese
C: \ app \ 59428 \ product \ 11.2.0 \ dbhome_1 \ sqldeveloper
open sqldeveloper when you need to enter java.exe
C: \ App \ 59428 \ Product \ 11.2.0 \ dbhome_1 \ jdk \ jre \ bin
WARNING: PlSQL installation 32, x86 version
General Operation:
1, turn off the firewall
2 may ping the server address
3, oracle server address: ip + orcl instance name, such as: 127.0.0.1/orcl
. 4, listener service starts, oracleservicesoral service
Error handling:
1, ORA-12638: Failed to retrieve identification of solutions
Start -> Programs -> the Oracle -> the Configuration and Migration Tools ->
Net Manager → local → profile → Oracle Advanced Security → → to remove the selected verification method the "NTS" on it.
Or to sqlnet.ora SQLNET.AUTHENTICATION_SERVICES = (NTS) into which the other line NTS; I was changed to NONE.
NTS or to set any value will do, can also sqlnet.ora SQLNET.AUTHENTICATION_SERVICES = (NTS) removed the entire line.
2, oracleoradb11g_home1TNSListener service on the local computer to stop after starting. Some services will stop automatically when not in use by other services or programs.
Join ORCLE_SID, TNS_ADMIN environment variable.
Computer - Properties - Advanced System Settings - Advanced - Environment Variables - System Variables - New
variable name value of the variable ORACLE_SID orcl
variable name ORACLE_HOME variable value E: \ Oracle \ product \ 11.2.0 \ dbhome_1 (oracle database installation path)
Edit Path, in appends the path value; E: \ Oracle \ product \ 11.2.0 \ dbhome_1 \ bin
restart the computer after! Restart the computer! Restart the computer!
3, ORA-28547: Connection to server fails, ORA-12541: TNS: no listener
modify listener profile, .. \ app \ admin \ product \ 11.2.0 \ dbhome_1 \ NETWORK \ ADMIN \ listener.ora, the host ip address by name instead of
SID_NAME = CLRExtProc to SID_NAME = orcl (orcl is the instance name)
the HOST HOST = 192.168.1.37 = localhost to
remember, the server, the client must be modified.
4. Modify .. \ app \ admin \ product \ 11.2.0 \ dbhome_1 \ NETWORK \ ADMIN \ tnsnames.ora
two HOST = localhost = 192.168.1.37 to the HOST
the SID to SID = orcl = CLRExtProc
5, the top two service restart oracle
6, ORA-12154: TNS: could not resolve the specified connection identifier
right click and select "Properties" in the Oracle directory, all the permissions assigned to an existing account. Added: IIS_IUSRS users full access
7.ORA-28547 connection to the server fails, Oracle Net administration may be wrong
reasons:
The listener.ora file's SID_LIST section may INCORRECTLY contain a "PROGRAM" line and/or an "ENVS" line for all database instances.
PROGRAM ENVS parameters and settings will cause the client to connect through SID_NAME, thereby cause an error ORA-28547
Solution:
[Open] listener.ora file, remove PROGRAM and ENVS, restart the listener or restart Windows
[oracle@localhost ~]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = orcl) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1) #(PROGRAM = extproc) #######去掉此行 ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.136.211)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) )
Keep a properly configured:
listener.ora: # listener.ora Network Configuration File: E:\app\59428\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = ORCL) (ORACLE_HOME = E:\app\59428\product\11.2.0\dbhome_1) #(PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:E:\app\59428\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.37)(PORT = 1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) ) ADR_BASE_LISTENER = E:\app\59428 tnsnames.ora: # tnsnames.ora Network Configuration File: E:\app\59428\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora # Generated by Oracle configuration tools. 127.0.0.1 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) ) ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = orcl) (PRESENTATION = RO) ) ) LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) ) 192.168.1.37 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.37)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) )