Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> re: re: toad and personal oracle 8i
TYI : with Personal Oracle , in a stand-alone machine with only one user, you do NOT need Listener, only the main Oracle db service. In my personal machine, I have the following in the TNSNAMES.ORA :
# TNSNAMES.ORA Network Configuration File:
D:\Ora8iR3\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
PROD
(DESCRIPTION
(ADDRESS (PROTOCOL TCP)(Host 10.2.3.163)(Port 1521))
(CONNECT DATA
(SID prod)
)
)
PO8IR3
(DESCRIPTION
(ADDRESS (PROTOCOL BEQ)(PROGRAM oracle80)(ARGV0
oracle80O8iR3)(ARGS '(DESCRIPTION(LOCALYES)(ADDRESS(PROTOCOL q)))'))
(CONNECT DATA
(SID O8iR3)
)
)
PROD is my production database, installed in my AIX prod server (acessible by sql*net), and PO8IR3 is my local Personal 8ir3 database, acessible locally using BEQ-Local protocol (no listener needed; in the machine, the LISTSNER service is DOWN, saving me precious RAM. With this config, I can access the database using sql*plus and Developer 6i, and in the same machine I have PO7 installed whit the regedit key PO7YES, so I can access Personal7, just leaving blank the host-string OF COURSE, if you need OEM, HTTP server and other goodies, then you WILL need others services and listener.
[]s
Chiappa
On Fri, 2 Mar 2001 09:53:01 -0500, "eleong" <leong_at_strato.net> wrote:
>I am having trouble with TOAD connecting to the sample database installed
>with Personal Oracle 8i. I can connect to the sample database with
>SQL*Plus.
>
>The message that I am getting with TOAD is
>ORA-12541: TNS:no listener.
>
>The only entry in the tnsnames.ora file is for EXTPROC CONNECTION DATA, and
>I am using SCOTT / TIGER or DEMO / DEMO to make my connection.
>
>The following are the contents of my tnsnames.ora and listener.ora files.
>---------------------------------------------------------------
># C:\ORACLE\ORA81\NETWORK\ADMIN\TNSNAMES.ORA Configuration
>File:c:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
># Generated by Oracle Net8 Assistant
>
>EXTPROC CONNECTION DATA
> (DESCRIPTION
> (ADDRESS LIST
> (ADDRESS (PROTOCOL IPC)(KEY EXTPROC0))
> )
> (CONNECT DATA
> (SID PLSExtProc)
> (PRESENTATION RO)
> )
> )
>---------------------------------------------------------------
># C:\ORACLE\ORA81\NETWORK\ADMIN\LISTENER.ORA Configuration
>File:c:\Oracle\Ora81\network\admin\listener.ora
># Generated by Oracle Net8 Assistant
>
>LISTENER
> (DESCRIPTION LIST
> (DESCRIPTION
> (ADDRESS LIST
> (ADDRESS (PROTOCOL IPC)(KEY EXTPROC0))
> )
> (ADDRESS LIST
> (ADDRESS (PROTOCOL TCP)(HOST localhost)(PORT 1521))
> )
> )
> (DESCRIPTION
> (PROTOCOL STACK
> (PRESENTATION GIOP)
> (SESSION RAW)
> )
> (ADDRESS (PROTOCOL TCP)(HOST localhost)(PORT 2481))
> )
> )
>
>SID LIST LISTENER
> (SID LIST
> (SID DESC
> (SID NAME PLSExtProc)
> (ORACLE HOME c:\Oracle\Ora81)
> (PROGRAM extproc)
> )
> )
>
>any help would be appreciated.
>
>thanks,
>
>Ernest
>
>
>
>
>
>
>
Correct listener.ora is
# C:\ORACLE\ORA81\NETWORK\ADMIN\LISTENER.ORA Configuration File:c:\Oracle\Ora81\NETWORK\ADMIN\listener.ora # Generated by Oracle Net8 Assistant
TRACE FILE LISTENER LISTENER.trc
LISTENER
(DESCRIPTION LIST
(DESCRIPTION
(ADDRESS (PROTOCOL IPC)(KEY EXTPROC0)) (PROTOCOL STACK (PRESENTATION TTC) (SESSION NS) )
(ADDRESS (PROTOCOL TCP)(HOST localhost)(PORT 1521)) (PROTOCOL STACK (PRESENTATION TTC) (SESSION NS) )
(ADDRESS (PROTOCOL TCP)(HOST localhost)(PORT 2481)) (PROTOCOL STACK (PRESENTATION GIOP) (SESSION RAW) )
SID LIST LISTENER
(SID LIST
(SID DESC
(GLOBAL DBNAME Oracle) (ORACLE HOME c:\oracle\ora81) (SID NAME ORCL)
(GLOBAL DBNAME EXTPROC0) (PROGRAM extproc.exe) (SID NAME PlsExtproc)
And a correct tnsnames.ora
# C:\ORACLE\ORA81\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:c:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora # Generated by Oracle Net8 Assistant
ORACLE1
(DESCRIPTION
(ADDRESS LIST
(ADDRESS (PROTOCOL NMP)(SERVER 13382)(PIPE ORAPIPE))
)
(CONNECT DATA
(SID ORCL) (ORACLE HOME c:\oracle\ora81)
ORACLEIPC
(DESCRIPTION
(ADDRESS LIST
(ADDRESS (PROTOCOL IPC)(KEY EXTPROC0))
)
(CONNECT DATA
(SID ORCL) (ORACLE HOME c:\oracle\ora81)
EXTPROC CONNECTION DATA
(DESCRIPTION
(ADDRESS LIST
(ADDRESS (PROTOCOL IPC)(KEY EXTPROC0))
)
(CONNECT DATA
(SID PLSExtProc) (PRESENTATION RO)
ORACLE
(DESCRIPTION
(ADDRESS LIST
(ADDRESS (PROTOCOL TCP)(HOST localhost)(PORT 1521))
)
(CONNECT DATA
(SID ORCL) (ORACLE HOME c:\oracle\ora81)
#USE PLUG AND PLAY LISTENER ON TRACE DIRECTORY LISTENER c:\oracle\ora81\network\admin
Hth
Sybrand Bakker, Oracle DBA
Mailgate References:
<<...OLE Obj...>> TOAD and Personal Oracle 8i <msg19412.html>, eleong
ØÐ <http://www.mailgate.org/index.html>
<<...OLE Obj...>>
ØÐ <http://www.mailgate.org/index.html>ØÐ <msg19419.html>
<<...OLE Obj...>> ØÐ <msg19419.html>ØÐ <msg19422.html> <<...OLE Obj...>>
ØÐ
<msg19422.html><mailto:comp.databases.oracle.misc_at_mailgate.org?SubjectRe:
Re: TOAD and Personal Oracle
8i&References<h6lv9t8oegon1jjncrbkg13dab2l7ejv7q_at_4ax.com> <<...OLE Obj...>>
<mailto:comp.databases.oracle.misc_at_mailgate.org?SubjectRe: Re: TOAD and
Personal Oracle 8i&References<h6lv9t8oegon1jjncrbkg13dab2l7ejv7q_at_4ax.com>
ØÐ <index.html> <<...OLE Obj...>> ØÐ <index.html>ØÐ </comp/index.html>
<<...OLE Obj...>> ØÐ </comp/index.html>ØÐ <http://search.mailgate.org/comp/comp.databases.oracle.misc> <<...OLE Obj...>> ØÐ <http://search.mailgate.org/comp/comp.databases.oracle.misc>Mailgate.ORG <http://www.mailgate.org/index.html> is maintained online by Dario Centofanti <mailto:webmaster_at_mailgate.org>
--Received on Mon Mar 05 2001 - 06:51:52 CST
![]() |
![]() |