Advertisement

07.31.2008 at 10:31PM PDT, ID: 23613305
[x]
Attachment Details

Cannot connect to newly installed Oracle 9i and new database. TNS and eof file messages keep displaying.

[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8
Zone:

Oracle 9.x

Tags:

Oracle, Oracle 9i on Windows XP Sp2, 9.2.0.1, TNS issue. ORA-03113: end-of-file when trying to connect, TNS issue. ORA-03113: end-of-file when trying to connect

Hi Guru
I have  a fresh install of Oracle Client 9.2 and Oracle Database 9.2 on my Windows XP SP2 machine.
My machine is called LAXP001, the Net Service Name is DEVL, the Database is DEVDB, SID = DEVDB.
I can tnsping devl ok, I can login as system ok in sqlplus via cmd when I just type sqlplus [Enter], then asks for login user, then password. However, if I do sqlplus system/password@devl I get end-of-file 03113 messages. If I do sqlplus system/password without the connect-string I login ok but to which instance I don't know.

Here's my tnsnames :
# TNSNAMES.ORA Network Configuration File: F:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

DEVL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = LAXP001)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = DEVL)
    )
  )
Here's my sqlnet.ora
# SQLNET.ORA Network Configuration File: F:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
and here's my listener.ora
# LISTENER.ORA Network Configuration File: F:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = LAXP001)(PORT = 1521))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = DEVL)
      (ORACLE_HOME = F:\oracle\ora92)
      (PROGRAM = extproc)
    )
  )
Each listing is complete from top to bottom.
My confusion at the moment is mostly to do with the difference between "service name" and "database". If I log into Enterprise Mgr and try to login to DEVL nothing happens (probably because of the end-of-channel), but I can create a new instance for DEVDB_LAXP001 and create schema , users etc.

Can someone please explain the difference between a service and a database and then what I need to do to get a database instance working as it should i.e. connecting via sql*plus?



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:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
Here are some logs :
C:\Documents and Settings\Abacus Valued Client>tnsping devl
 
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-20
08 13:18:25
 
Copyright (c) 1997 Oracle Corporation.  All rights reserved.
 
Used parameter files:
F:\oracle\ora92\network\admin\sqlnet.ora
 
 
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = LAXP001)(PORT = 1521))) (CONNECT_DATA = (SID = DEVDB) (SERVICE_NAME = DE
VL)))
OK (0 msec)
 
C:\Documents and Settings\Abacus Valued Client>tnsping devl
 
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-20
08 13:18:35
 
Copyright (c) 1997 Oracle Corporation.  All rights reserved.
 
Used parameter files:
F:\oracle\ora92\network\admin\sqlnet.ora
 
 
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = LAXP001)(PORT = 1521))) (CONNECT_DATA = (SID = DEVDB) (SERVICE_NAME = DE
VL)))
OK (20 msec)
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl reload
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:18:
46
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>tnsping devdb
 
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-20
08 13:18:51
 
Copyright (c) 1997 Oracle Corporation.  All rights reserved.
 
Used parameter files:
F:\oracle\ora92\network\admin\sqlnet.ora
 
TNS-03505: Failed to resolve name
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl stop
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:20:
20
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl start
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:20:
24
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Starting tnslsnr: please wait...
 
TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
System parameter file is F:\oracle\ora92\network\admin\listener.ora
Log messages written to F:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc
)))
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date                01-AUG-2008 13:20:26
Uptime                    0 days 0 hr. 0 min. 2 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   F:\oracle\ora92\network\admin\listener.ora
Listener Log File         F:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary...
Service "DEVL" has 1 instance(s).
  Instance "DEVL", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl stop
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:21:
27
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl start
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:21:
33
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Starting tnslsnr: please wait...
 
TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
System parameter file is F:\oracle\ora92\network\admin\listener.ora
Log messages written to F:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc
)))
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date                01-AUG-2008 13:21:35
Uptime                    0 days 0 hr. 0 min. 2 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   F:\oracle\ora92\network\admin\listener.ora
Listener Log File         F:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary...
Service "DEVDB" has 1 instance(s).
  Instance "DEVDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl reload
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:21:
44
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl stop]
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:21:
49
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
NL-00853: undefined command "stop]".  Try "help"
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl stop
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:21:
59
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl start
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:22:
04
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Starting tnslsnr: please wait...
 
TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
System parameter file is F:\oracle\ora92\network\admin\listener.ora
Log messages written to F:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc
)))
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date                01-AUG-2008 13:22:06
Uptime                    0 days 0 hr. 0 min. 2 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   F:\oracle\ora92\network\admin\listener.ora
Listener Log File         F:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary...
Service "DEVDB" has 1 instance(s).
  Instance "DEVDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl stop
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:23:
27
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl start
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:23:
31
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Starting tnslsnr: please wait...
 
TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
System parameter file is F:\oracle\ora92\network\admin\listener.ora
Log messages written to F:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc
)))
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date                01-AUG-2008 13:23:33
Uptime                    0 days 0 hr. 0 min. 2 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   F:\oracle\ora92\network\admin\listener.ora
Listener Log File         F:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary...
Service "DEVDB" has 1 instance(s).
  Instance "DEVDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>lsnrctl status
 
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 01-AUG-2008 13:24:
52
 
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LAXP001)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date                01-AUG-2008 13:23:33
Uptime                    0 days 0 hr. 1 min. 21 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   F:\oracle\ora92\network\admin\listener.ora
Listener Log File         F:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=8080))(Presentation=HT
TP)(Session=RAW))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LAXP001)(PORT=2100))(Presentation=FT
P)(Session=RAW))
Services Summary...
Service "DEVDB" has 2 instance(s).
  Instance "DEVDB", status UNKNOWN, has 1 handler(s) for this service...
  Instance "devdb", status READY, has 1 handler(s) for this service...
Service "devdbXDB" has 1 instance(s).
  Instance "devdb", status READY, has 1 handler(s) for this service...
The command completed successfully
 
C:\Documents and Settings\Abacus Valued Client>
Answered By: shajukg
Expert Since: 01/22/2008
Accepted Solutions: 192
Computer Expertise: Intermediate
shajukg has been an Expert for 11 months, during which he has posted 728 comments and answered 192 questions. shajukg is just one of 546 experts in the Oracle 9.x Zone. 1 expert collaborated on this answer, which was graded a "B" by the asker.
 
 
20081119-EE-VQP-47 / EE_QW_2_20070628