Re: oracle8-client

"Dan Cojocar" <[email protected]> Tue, 13 Mar 2007 10:55:26 +0200
Newsgroups gmane.os.freebsd.devel.database
Message-ID <[email protected]>
On 3/13/07, Max Khon <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "[email protected]"