Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> HELP! Can connect locally through IPC, but not through TCP/IP
Hi everyone,
I recently set up a second oracle instance on a solaris 2.5 box running oracle 7.3.3... I can connect to both instances through server manager as well as sqlplus. In addition, I can connect to instance A (this was an instance set up on this machine by a consultant and has worked all along ) from remote machines using sqlplus. I cannot, however, connect to instance B (the instance I set up) remotely or using the TCP/IP loopback (i.e. sqlplus user/passwd_at_sid ) When I try, I get the following error:
ORA-01034: ORACLE not available
ORA-07429: smsgsg: shmget() failed to get segment.
SVR4 Error: 2: No such file or directory
I know this will happen when the instance is not running, but I am positive it is, as I can connect using svrmgrl. Since I know very little about the listener.ora and sql*net setup, I have included the pertinent files in this post. If anyone has any ideas, I would really appreciate hearing them...
oratab:
listener.ora
(ADDRESS=
(PROTOCOL=IPC)
(KEY= A.world)
) (ADDRESS=
(PROTOCOL=IPC)
(KEY= A)
) (ADDRESS=
(PROTOCOL=IPC)
(KEY= B.world)
) (ADDRESS=
(PROTOCOL=IPC)
(KEY= B)
) (ADDRESS =
(COMMUNITY = TCP.world)
(PROTOCOL = TCP)
(Host = host1.dev.netgenics.com)
(Port = 1521)
) (ADDRESS =
(COMMUNITY = TCP.world)
(PROTOCOL = TCP)
(Host = host1.dev.netgenics.com)
(Port = 1526)
)
(GLOBAL_DBNAME = A.world) (SID_NAME = A) (ORACLE_HOME = /database/home/oracle) (PRESPAWN_MAX = 10)
(GLOBAL_DBNAME = B.world) (SID_NAME = B) (ORACLE_HOME = /database/home/oracle) (PRESPAWN_MAX = 10)
tnsnames.ora
(ADDRESS =
(COMMUNITY = TCP.world)
(PROTOCOL = TCP)
(Host = host1.dev.netgenics.com)
(Port = 1521)
) (CONNECT_DATA = (SID = A) )
(ADDRESS =
(COMMUNITY = TCP.world)
(PROTOCOL = TCP)
(Host = host1.dev.netgenics.com)
(Port = 1526)
) (CONNECT_DATA = (SID = B) )
--
NetGenics, Inc.
1717 East 9th St., Suite 1550
Cleveland, OH 44114-2803
216-861-4007 voice 216-861-4777 fax ------------------------------------Received on Tue May 19 1998 - 15:45:44 CDT