oracle8-client

View: New views
3 Messages — Rating Filter:   Alert me  

oracle8-client

by Dan Cojocar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Max and all,
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?
TIA,
Dan


_______________________________________________
freebsd-database@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "freebsd-database-unsubscribe@..."

sqlnet.log (2K) Download Attachment

Re: oracle8-client

by Max Khon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
freebsd-database@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "freebsd-database-unsubscribe@..."

Re: oracle8-client

by Dan Cojocar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3/13/07, Max Khon <fjoe@...> 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
_______________________________________________
freebsd-database@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "freebsd-database-unsubscribe@..."