1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
|
Used parameter files:
C:\oraclexe\app\oracle\admin\app\oracle\product\11.2.0\server\network\ADMIN\sqln
et.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = CAPMWKS1
3-019.SI.ADR.LOC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NA
ME = XE)))
OK (0 msec)
C:\>lsnrctl XE
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 09-D╔C. -2015 15:
47:24
Copyright (c) 1991, 2014, Oracle. All rights reserved.
NL-00853: undefined command "XE". Try "help"
C:\>lsnrctl
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 09-D╔C. -2015 15:
47:29
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> help
The following operations are available
An asterisk (*) denotes a modifier or extended command:
start stop status
services version reload
save_config trace change_password
quit exit set*
show*
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 09-D╔C. -2015 15:34:35
Uptime 0 days 0 hr. 13 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\admin\app\oracle\product\11.2.0
\server\network\ADMIN\listener.ora
Listener Log File C:\oraclexe\app\oracle\admin\diag\tnslsnr\CAPMWKS13-01
9\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=CAPMWKS13-019.si.adr.loc)(PORT=1521)
))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 2 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> quit
C:\>TNSLSNR
C:\>tnsping XE
TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 09-D╔C.
-2015 15:50:45
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\admin\app\oracle\product\11.2.0\server\network\ADMIN\sqln
et.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = CAPMWKS1
3-019.SI.ADR.LOC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NA
ME = XE)))
OK (0 msec)
C:\>tnsping EXTPROC_CONNECTION_DATA
TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 09-D╔C.
-2015 15:51:41
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\admin\app\oracle\product\11.2.0\server\network\ADMIN\sqln
et.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)
(KEY = EXTPROC1))) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO)))
OK (10 msec)
C:\>tnsping ORACLR_CONNECTION_DATA
TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 09-D╔C.
-2015 15:52:48
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\admin\app\oracle\product\11.2.0\server\network\ADMIN\sqln
et.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)
(KEY = EXTPROC1))) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO)))
OK (0 msec)
C:\>sqlplus sys/admin@XE as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 15:53:30 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>sqlplus sys/admin as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 16:00:25 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>sqlplus sys/admin@XE as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 16:00:44 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>sqlplus sys/admin@ORCL as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 16:00:59 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: sytem
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: system
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 16:01:57 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: sys
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: sys
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 16:02:34 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL> startup
ORA-01031: insufficient privileges
SQL> create spfile from pfile='C:\oraclexe\app\oracle\admin\app\oracle\product\1
1.2.0\server\dbs\initXE.ora
2
SQL> quit
C:\>create spfile from pfile='C:\oraclexe\app\oracle\admin\app\oracle\product\11
.2.0\server\dbs\initXE.ora
'create' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
C:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.2.0 Production on Mer. DÚc. 9 16:09:06 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL> create spfile from pfile='C:\oraclexe\app\oracle\admin\app\oracle\product\1
1.2.0\server\dbs\initXE.ora;
SP2-0640: Not connected
SQL> |
Partager