oracle8-client
Dan Cojocar
dan.cojocar at gmail.com
Tue Mar 13 08:55:28 UTC 2007
On 3/13/07, Max Khon <fjoe at samodelkin.net> wrote:
> Hi!
>
> On Mon, Mar 12, 2007 at 07:31:35PM +0200, Dan Cojocar wrote:
>
> > I have tried oci02 on -current, 6.2-stable and 6.1-stable and I
> > receive the same error:
> >
> > ./oci02 1
> >
> > Number of tables is 1
> >
> > -- ORACLE error
> > ORA-12545: Connect failed because target host or object does not exist
> >
> > I have attached the sqlnet.log file.
> > How can I debug this problem?
>
> Do you connect via tcp/ip? Only tcp/ip protocol works at the moment.
> Please show your tnsnames.ora.
>
> /fjoe
Hello Max,
Here is my tnsnames.ora file:
SERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.1)(PORT = 1521))
)
(CONNECT_DATA =
(SID = SERVER)
)
)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = SERVER)
(PRESENTATION = http://admin)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
192.168.100.1 is a host from my network where I have installed oracle
express 10.
I can access the web interface and it's working fine, so I think that
XE it's working properly.
Thank you,
Dan
More information about the freebsd-database
mailing list