Mac SQL\*Net 1.5 <--> Oracle 7.1/SQL\*Net 1.2 on Sun problem
Date: 1995/06/07
Message-ID: <3r58s4$1dkb_at_ns4-1.CC.Lehigh.EDU>
Hi!
I have been trying to configure SQL*NET on the Macintosh Quadra 630. I keep getting error 6136 (error during connection handshake) when connecting to the Oracle 7.1 server on the Sun Solaris 2.x. The connection request is made because I can see a line in $ORACLE_HOME/tcp/log/oracle.log, but I get this error. I am running 1.2 version of SQL*NET on the Sun Solaris, which works with loopback connection. On the sun, I use the following connect string to check the connection:
sqlplus scott/tiger_at_t:cyclops:cros
This generated the following output:
SQL*Plus: Release 3.1.3.7.1 - Production on Wed Jun 7 18:03:30 1995 Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.
Connected to:
Oracle7 Server Release 7.1.6.2.0 - Production Release
With the distributed, replication and parallel query options
PL/SQL Release 2.1.6.2.0 - Production
SQL>
Cyclops is the database name and cros is the SID. I am using 1.x connect syntax as the above example shows.
TCPCTL STAT on the SUN shows the following summary:
$ tcpctl stat
tcputl: Status summary follows
Server is running:
Started : 7-JUN-95 17:09:40 Last connection : 7-JUN-95 18:00:29 Total connections : 37 Total rejections : 26 Active subprocesses : 0 ORACLE SIDs : cros Default SID : (null)
Logging mode is ENABLED.
Debug mode is ENABLED.
DBA logins are ENABLED.
OPS$ logins are ENABLED.
OPS$ROOT logins are DISABLED.
Orasrv is detached from the terminal.
Break mode = OUT OF BAND.
Debug level = 5
No timeout (on orasrv handshaking).
Length of listen queue = 10
Orasrv logfile = /oracle/tcp/log/orasrv.log Orasrv mapfile = /var/opt/oracle/oratab
Oracle server was started on the Sun Solaris by entering:
tcpctl start debug=5 forkon dbaon
Note: the orasrv process dies when "forkon" is not specified on the command line.
Backend log generates following message when tried to connect via SQL*DBA (I have no SQL*PLUS client on the MAC; our ultimate goal is to use ODBC):
07-JUN-95 18:07:54 orasrv[ 4980]: DEBUG: remote network address is 192.15.15.40. 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: reaping child... 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: wait returns pid 4980 errno 0 status 0 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: PID 4980 died with status=0 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: waiting for connection request... 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: remote network address is 192.15.15.35. 07-JUN-95 18:09:38 orasrv[ 4863]: DEBUG: waiting for connection request... 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: Connection from host Cyclops 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, bufl=0, bufi=0 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, read 139 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, returning 0 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: getstr(port):network string (1 chars): 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, bufl=138, bufi=1 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, returning 8b 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: getstr(conn type):network string (1 chars): \013 07-JUN-95 18:07:54 orasrv[ 4980]: DEBUG: remote network address is 192.15.15.40. 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: reaping child... 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: wait returns pid 4980 errno 0 status 0 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: PID 4980 died with status=0 07-JUN-95 18:07:54 orasrv[ 4863]: DEBUG: waiting for connection request... 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: remote network address is 192.15.15.35. 07-JUN-95 18:09:38 orasrv[ 4863]: DEBUG: waiting for connection request... 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: Connection from host Cyclops 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, bufl=0, bufi=0 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, read 139 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, returning 0 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: getstr(port):network string (1 chars): 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, bufl=138, bufi=1 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, returning 8b 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: getstr(conn type):network string (1 chars): \013 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: IN buf_readc, returning 8b 07-JUN-95 18:09:38 orasrv[ 4983]: DEBUG: getstr(conn type):network string (1 chars): \013 07-JUN-95 18:09:38 orasrv[ 4983]: ERROR while processing request from host Cyclops: 07-JUN-95 18:09:38 orasrv[ 4983]: ERROR: bad connection request 07-JUN-95 18:09:38 orasrv[ 4863]: DEBUG: reaping child... 07-JUN-95 18:09:38 orasrv[ 4863]: DEBUG: wait returns pid 4983 errno 0 status 199 07-JUN-95 18:09:38 orasrv[ 4863]: DEBUG: PID 4983 died with status=199 07-JUN-95 18:09:38 orasrv[ 4863]: DEBUG: waiting for connection request...
------------------------------------------------------------------------
Note: server IP is 192.15.15.35; MAC address is 192.15.15.40.
I have been trying to figure this simple thing, but it has given me inordinate grief. If you can provide me with some help/pointer, I will be grateful.
-Binod.
tel: 212-645-9550
fax: 212-645-9553
Internet:
ssi_at_panix.com
bt00_at_lehigh.edu
Binod.
________| Binod Taterway bt00_at_Lehigh.EDU |_______ \ | FORMER LUCC Consultant. Now working in Manhattan!! | / \ | Send E-MAIL to say hi! Do not ask Access questions. | / / |_____________________________________________________| \ /__________) (_________\Received on Wed Jun 07 1995 - 00:00:00 CEST