Howto connect a windows client oracle on a linux serveur 9i
Hi all,
I just want help for connecting one windows (2000 Pro) oracle client to a linux (Red Hat 8) oracle serveur. Thanks for all
Well, the first step is to configure TNS. The Net Configuration Assistant will help you there if your DBA hasn't already set things up for you (sent you a tnsnames.ora file, pointed the client at a shared tnsna,es.ora file, set up OID, etc).
Once you can tnsping the database from a command prompt, you can set up your ODBC DSN, assuming you want to use ODBC to connect.
Justin
Similar Messages
-
BO - Problem to connect through windows client
Server OS: Windows Server 2003 SP2
BOE Version: XI Release 2
Client SO: Windows XP Professional SP2
DB: Oracle 10 v 10.2
Problem:
I have a BOE XI Release 2 installed on a server and if I try to connect via WEB everything is perfect but when I try to connect using windows clients (Designer, DESKiu2026)
I am getting the following error:
" No se puede acceder al repositorio. (USR0013)"
u201C[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Error en el transporte: Fallo en la comunicación.(hr=#0x80042a01)u201D
I'm using the standard port which is the 6400.
I hope your comments.
Thanks!Hi,
Are you using any authentication ?
If you are using LDAP, then try this...
Symptom
Error logging onto Desktop Intelligence or Designer using LDAP authentication:
"(USR0013) [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed (The LDAP authentication could not log you on.) Verify your logon information. If your account is under a different domain as o=u2026, please enter your dn (hr=#0x80042a01)."
Reproducing the Issue
Configure LDAP authentication
Error appears from a client computer running Desktop Intelligence or Designer
Logon to Desktop Intelligence or Designer on the server works
Cause
LDAP authentication from the client connects directly to the LDAP directory without passing the CMS
The server has been configured on the firewall, but not the client computer
Resolution
Configure the firewall for the client machines to pass, so that they can reach the LDAP directory -
Windows Server - Oracle 9i and Linux Client ?
Hi all,
Is it possible to have Oracle Database working on Windows 2000 Server and its client i.e. forms/application running on Linux environment. If so, then will my Developer6i work for installation of client in Linux. And if it works, then how can I install it on Linux.
Or theres any other version of Developer for Linux.
My configuration is as under.
Server.
OS - Windows 2000 Server
DB - Oracle 9i
Client.
OS - Linux
Developer 6i -how can I install n make it work for me ?
Thanx
Zaaf.Zaaf,
This forum deals with Connectivity solutions to non-Oracle systems. Your question would be best posted on the general iAS forum. -
Linux C++ program connection to Windows based Oracle server.
Hi
The tools I m using are
Window XP
Linux Feodra 4 (X86)
Oracle 10g release 2
Oracle Instant client of 10g realse 2 for linux (oracle-instantclient-basic-10.2.0.3-1.i386.rpm)
Basic
sqlplus
devel
I want to connect C++ program on Fedora linux to windows based oracle database. Orcale database is on Wondows XP machine.
I have installed all the instant client pacakages.Set the Environment Variables (including LD_LIBRARY_PATH and id.so.conf)
I have copmpiled the code successfully and Have .o file
The compling comnnad is
g++ -c test.cpp -I/usr/lib/oracle/10.2.0.4/client/
BUt problem in linking the Code. The linking Command is
g++ -o test test.o -L/usr/lib/oracle/10.2.0.4/client/lib/ -I/usr/lib/oracle/10.2.0.4/client/
The error either is
Can not open the file test: usr/profile/ld.................
or
Undefine reference to oracle::occi:Environment........
I have searched the internet to get some solution. But I think there is linking problem due to differnet OS.
Please help me out to resolve this problem.
RegardsHello,
Are you also including the Oracle library files in the compile/link? I don't see them here. Something like:
g++ -o test test.o -L/usr/lib/oracle/10.2.0.4/client/lib/ -I/usr/lib/oracle/10.2.0.4/client/ -lclntsh -locci
Regards,
Mark -
Connect from Windows Client to Oracle 10g for Windows 64-bit
Have an environment currently running Oracle 10g 32-bit on Windows 2000 Standard, and need to migrate to Oracle 10g 64-bit for Windows. Users connect to the 10g 32-bit database using the Oracle Client for Windows 10g loaded on remote PC's. If we migrate to the Oracle 10g 64-bit on Windows 2003 Server Enteprise Edition 64-bit, what type of client do I have to install on the PC's to access the Oracle 10g 64-bit database?
Any ehlp/insight will be greatly appreciated.
Eduardo in MichiganIn addition to install 32-bit Oracle client to 32-bit Windows OS, you need to know whether your application is compiled to run in 32-bit or 64-bit.
This is critical because 32-bit application can not see 64-bit Oracle ODBC and OLE DB provider.
For example, MS SQL Server 2005 uses 32-bit DTS, and SSIS, which needs 32-bit Oracle client
If you don't know, get a copy of both 32-bit and 64-bit Oracle client, and try one-by-one to know for sure. Please be aware that if regsvr32.exe in the Windows has been overwritten by older software installation, it won't register some DLL properly, and Oracle ODBC, or OLE DB won't show up as well -
How to access oracle R12 applications from windows client
Hi All,
I installed R12 oracle applications on Linux through VMWare and every thing was fine now. My database listener, database and applications are up and running. I installed Java and Mozillla and established a soft link on LInux but was not able to access oracle applicaitons from Uniix box. I was seeing if i can do it from windows client. Mine is windows vista and i pinged the ipaddress and its connecting but was not able to access applications from windows client and also from linux.
Can any one help me accessing applications from windows client and unix boxHi;
I installed R12 oracle applications on Linux through VMWare and every thing was fine now. My database listener, database and applications are up and running. I installed Java and Mozillla and established a soft link on LInux but was not able to access oracle applicaitons from Uniix box. I was seeing if i can do it from windows client. Mine is windows vista and i pinged the ipaddress and its connecting but was not able to access applications from windows client and also from linux.
Can any one help me accessing applications from windows client and unix box1. Be sure you can ping your linux from your client
2. Be sure your selinux and firewal disable on linux machine
3. Add your IP and hostaname to your windows C:\WINDOWS\system32\drivers\etc\hosts file
4. Add your url to your trusted site on windows
5. Use IE7 or check below note to can use certified browswer and access EBS
Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]
Regard
Helios -
Problem connecting only iFolder client
Hi everyone,
I begn with iFolder 3.8 and I've a problem with connecting the client.
For information, I've 3 separate iFolder servers, two of them work perfectly !
So, on one, I can't connect the Windows Client, I've an error "iFolder can't connect, please check the informations" (translation from french).
If I try to connect on the web access, it's OK, no problem with that.
The Simias.log file says that the connexion is successful with the client but it's not...
I try to reinstall the server several times with simias-server-setup, ifolder-admin-setup and ifolder-web-setup but no effects.
If someone as already experienced this and solved this problem, thank you for your help.OK, so I've solved my problem after hours.
I tried to reinstall completly the server and then, it works !
To conclude, if your iFolder server doesn't work at the first time, don't try to debug, format and reinstall. -
Connect Win Server 2008 R2 AD to linux ldap server
I have the need to do the opposite of what I am finding most users doing. Instead of connecting a remote linux ldap client to a windows server 2008 Active Directory server I need to connect my windows server AD to my linux ldap server. Once this connection
has been established I need for a user to be able to log in to the windows server and have their home directory on the linux box be mounted and available for the user to access their home directory and files.
I have also heard there might need to be some changes done on the ldap schema on the linux server to satisfy the windows AD. Is this true?
Does anyone have any information on how to configure the windows server (2008 R2) to do this? I am under the gun, time-wise, to get this implemented and working correctly. Any help would be GREATLY appreciated.Hello,
please ask in your Linux LDAP forums to get these details.
If you have an AD question then please ask it here.
This
posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Microsoft Student
Partner 2010 / 2011
Microsoft Certified Professional
Microsoft Certified Systems Administrator:
Security
Microsoft Certified Systems Engineer:
Security
Microsoft Certified Technology Specialist:
Windows Server 2008 Active Directory, Configuration
Microsoft Certified Technology Specialist:
Windows Server 2008 Network Infrastructure, Configuration
Microsoft Certified Technology Specialist:
Windows Server 2008 Applications Infrastructure, Configuration
Microsoft Certified Technology Specialist:
Windows 7, Configuring
Microsoft Certified IT Professional: Enterprise
Administrator
Microsoft Certified IT Professional: Server Administrator
Microsoft Certified Trainer -
Tnsping doesnt work. cant connect to oracle on linux from windows client
Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
Below is the info and checks made :
[oracle@oraclelinux6 admin]$ more *.ora
listener.ora
# listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl)
LISTENERLX =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = /apps/app/oracle
sqlnet.ora
# sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /apps/app/oracle
SQLNET.EXPIRE_TIME=10
SQLNET.INBOUND_CONNECT_TIMEOUT=240
tnsnames.ora
# tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ ifconfig
eth1 Link encap:Ethernet HWaddr 08:00:27:CA:B7:5D
inet addr:192.168.1.121 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:347575845 (331.4 MiB) TX bytes:9778008 (9.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2400424 (2.2 MiB) TX bytes:2400424 (2.2 MiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:8D:63:05
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[oracle@oraclelinux6 admin]$ hostname
oraclelinux6.localdomain
[oracle@oraclelinux6 admin]$ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.2.15 oraclelinux6.localdomain
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ sqlplus system@orcl
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name: system
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> set head off
SQL> select * from v$instance;
1 orcl
oraclelinux6.localdomain
11.2.0.1.0 01-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL> select * from v$database;
1360274593 ORCL 26-NOV-13 945184 26-NOV-13
1 15-AUG-09 NOARCHIVELOG 1071075
1033565 CURRENT 26-NOV-13 1283 1094699
02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE MAXIMUM PERFORMANCE
UNPROTECTED ENABLED 1360252065 1360252065 PRIMARY
945184 DISABLED NOT ALLOWED DISABLED NONE NO NO
NO NO 13
Linux x86 64-bit
2 2 1094771
NO NO NO orcl
0 DISABLED
0
NO NO
LSNRCTL> show inbound_connect_timeout
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
LSNRCTL>
[oracle@oraclelinux6 admin]$ tnsping orcl
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
OK (0 msec)
<msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
[oracle@oraclelinux6 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENERLX
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-DEC-2013 07:55:29
Uptime 0 days 0 hr. 33 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@oraclelinux6 admin]$
CLIENT SIDE :
C:\Windows\system32>ping 192.168.1.121
Pinging 192.168.1.121 with 32 bytes of data:
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Windows\system32>tnsping ORACLELINUX6
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521)) (C
ONNECT_DATA = (SERVICE_NAME = orcl)))
TNS-12535: TNS:operation timed out
# tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ORACLELINUX6 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)f0c7e0f7-dab5-4b63-a36c-04b7e8eb552d wrote:
Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
Below is the info and checks made :
[oracle@oraclelinux6 admin]$ more *.ora
listener.ora
# listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl)
LISTENERLX =
It is pointless, and just adds to the confusion, to name your listener anything other than the default name of LISTENER
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
Client requests to 'localhost' (or its ip address of 127.0.0.1) never leave the client machine. Hence, any listener configured for that address will never receive a request from any other machine.
ADR_BASE_LISTENER = /apps/app/oracle
sqlnet.ora
# sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /apps/app/oracle
SQLNET.EXPIRE_TIME=10
SQLNET.INBOUND_CONNECT_TIMEOUT=240
tnsnames.ora
# tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
See comment above regarding 'localhost'.
(CONNECT_DATA =
(SERVICE_NAME = orcl)
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ ifconfig
eth1 Link encap:Ethernet HWaddr 08:00:27:CA:B7:5D
inet addr:192.168.1.121 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:347575845 (331.4 MiB) TX bytes:9778008 (9.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2400424 (2.2 MiB) TX bytes:2400424 (2.2 MiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:8D:63:05
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[oracle@oraclelinux6 admin]$ hostname
oraclelinux6.localdomain
[oracle@oraclelinux6 admin]$ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.2.15 oraclelinux6.localdomain
where did that 10.0.2.15 address come from? You don't have any network adapters configured for that address
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ sqlplus system@orcl
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
A well-documented error.
see: http://edstevensdba.wordpress.com/2011/03/19/ora-12514/ (ora-12514 Listener does not know of requested service )
Enter user-name: system
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Since you did not use a tns service name ('@orcl') this was a bequeth connection to a local database.
SQL> set head off
SQL> select * from v$instance;
1 orcl
oraclelinux6.localdomain
11.2.0.1.0 01-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL> select * from v$database;
1360274593 ORCL 26-NOV-13 945184 26-NOV-13
1 15-AUG-09 NOARCHIVELOG 1071075
1033565 CURRENT 26-NOV-13 1283 1094699
02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE MAXIMUM PERFORMANCE
UNPROTECTED ENABLED 1360252065 1360252065 PRIMARY
945184 DISABLED NOT ALLOWED DISABLED NONE NO NO
NO NO 13
Linux x86 64-bit
2 2 1094771
NO NO NO orcl
0 DISABLED
0
NO NO
LSNRCTL> show inbound_connect_timeout
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
LSNRCTL>
[oracle@oraclelinux6 admin]$ tnsping orcl
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
OK (0 msec)
<msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
[oracle@oraclelinux6 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENERLX
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-DEC-2013 07:55:29
Uptime 0 days 0 hr. 33 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
See previous comments regarding localhost and 127.0.0.1
Services Summary...
Service "orcl.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@oraclelinux6 admin]$
CLIENT SIDE :
C:\Windows\system32>ping 192.168.1.121
Pinging 192.168.1.121 with 32 bytes of data:
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Windows\system32>tnsping ORACLELINUX6
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521)) (C
ONNECT_DATA = (SERVICE_NAME = orcl)))
TNS-12535: TNS:operation timed out
# tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ORACLELINUX6 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
You've thrown out a huge amount of detailed data, but showing a variety of errors, and combinations. Overall, I get the impression you are confusing remote vs. local connections. Please read the following, then come back and let's focus on one error at a time.
see: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ (Help! I can’t connect to my database )
see: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ ( Help! I can’t connect to my database (part duex) ) -
How to connect oracle running on RH from windows client
I installed oracle on RHEL4,..everything running well till now...
And suddenly i got a problem, i can't connect from windows to my linux server....
i configured my listener to binding linux server ip host,....and service naming to same ip...
while testing connection i got error message...target host not exist....
Anyone know some similar problem and maybe can help providing solution ? thanks in advance...This is the configuration on my Linux Server :
[oracle@cybertech admin]$ cat listener.ora
# listener.ora Network Configuration File: /home/oracle/product/10.1.0/db_1/netw
ork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cybertech)(PORT = 1521))
[oracle@cybertech admin]$ netstat -an|grep 1521|grep tcp | grep -v grep
tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:1521 127.0.0.1:32776 ESTABLISHED
tcp 0 0 127.0.0.1:32776 127.0.0.1:1521 ESTABLISHED
This one was my windows client's TNSNames configuration :
# tnsnames.ora Network Configuration File: C:\oracle\BIToolsHome_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.200)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
This one was my windows client's listener configuration :
# listener.ora Network Configuration File: C:\oracle\BIToolsHome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SSL_CLIENT_AUTHENTICATION = FALSE
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = awi)(PORT = 1521))
I tried configuring my linux server host ip to 192.168.0.200 and ping it using tnsping, then i got an error message : "no listener".
should i reconfigure /etc/hosts.conf file to add ip 192.168.0.200..? 'cause there's only one ip "127.0.0.1" in /etc/hosts.conf
thanks for the assistance until now ivan -
Oracle 10g EE Windows Client on different machine than Pracle 10g EE server
I downloaded the Oracle 10g EE Windows Client and installed it on a WinXP (SP3) machine that had no Oracle components installed. The idea was to use it to connect to an Oracle 10g EE database running on another machine on the network.
After installing the software, what I find in the start menu is:
Oracle Client 10g Express Edition
- Go To Online Forum
- Read Documentation
- Register For Online Forum
- Run SQL Command Line
When I "Read Documentation" and go to the "Getting Started" link it talks about other menu options which I can't find ("Go To Database Home Page").
Clearly something isn't working here, but what?
PeteThis option is available on server. Not on client.
Use following link instead:
http://<server_ip_address>:8080/apex/ -
Tns time out windows client , server on linux oracle 11g R1
I have Windows 7 as the host machine and Oracle 11g R1 client installed on it.
I installed VMWare V5.5 (downloaded from oracle site) and then installed Linux on it as guest OS. I have Oracle database 11g R1 intalled on Linux.
I can ping the Linux server from Windows.
I can also ftp to the Linux server from windows and get the files locally on Windows OS.
The listener and tns files are configured correctly (i assume) on both Linux and Windows.
Listener.ora on Linux
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME =CLRExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_2)
(PROGRAM = extproc)
(SID_DESC=
(GLOBAL_DBNAME=orcl)
(ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_2)
(SID_NAME=orcl)
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST =192.168.159.132)(PORT = 1521)) ) )
Tnsnames.ora on linux
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.159.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Sqlnet.ora on Linux
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.INBOUND_CONNECT_TIMEOUT = 300
SQLNET.SEND_TIMEOUT = 300
SQLNET.RECV_TIMEOUT = 300
Windows files
Tnsnames.ora on Windows
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =192.168.159.132 )(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl) )
Sqlnet.ora on Windows
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.INBOUND_CONNECT_TIMEOUT = 300
SQLNET.SEND_TIMEOUT = 300
SQLNET.RECV_TIMEOUT = 300
The error on windows
ping results on windows
C:\Users\sri>ping 192.168.159.132
Pinging 192.168.159.132 with 32 bytes of data:
Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
Reply from 192.168.159.132: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.159.132:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Users\sri>tnsping orcl
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 23-JUL-2010 19:55:56
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\or11g\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
**Used TNSNAMES adapter to resolve the alias**
**Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.159.132)(PORT = 1**
**521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))**
**TNS-12535: TNS:operation timed out**# sqlnet.ora Network Configuration File: C:\or11g\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.INBOUND_CONNECT_TIMEOUT = 300
SQLNET.SEND_TIMEOUT = 300
SQLNET.RECV_TIMEOUT = 300 -
Connect to DB2 from oracle 11g on windows 2008 server
Hi Folks,
I want to conenct to DB2 from oracle 11g using DB link.
DB2 :
user : db2user
pwd : db2pwd
database : db2database (OSBLDEV)
able to connect to db2 server (installed on machine M1) using db2 client with above details from machine M2 (where oracle is installed).
Oracle :
user : orauser
pwd : orapwd
host : orahost
port : 1521
service : oraservice
able to connect to oracle server using oracle sql developer with above details on Machine M2 (windows 2008 server)
when i execute the query with database link
select row_id from siebel.s_org_ext@OSBLDEV;
I get the message : ORA-12154: TNS:could not resolve the connect identifier specified.
could you pls check and let me know whether the below enteries are correct or not.
Pls share if you have step by step connectivity from DB2 to oracle using DB link.
1. I have created the Data source for DB2 - test successful
create database link OSBLDEV
connect to "db2user"
identified by "ldb2pwd"
using 'OSBLDEV';
1. I have made the following entry in E:\oracle\product\11.1.0\db_1\hs\admin\initosbldev.ora
HS_FDS_CONNECT_INFO = OSBLDEV
HS_FDS_TRACE_LEVEL = 0
2. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
OSBLDEV =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
(CONNECT_DATA=(SID=OSBLDEV))
(HS=OK)
3. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora and releoaded the listner (lsnrctl reload)
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC = # this is the entry for HSODBC
(SID_NAME = OSBLDEV)
(ORACLE_HOME = e:\oracle\product\11.1.0\db_1)
(PROGRAM = hsodbc)
Thanks in advance.1. My listener.ora is placed at the below location:
E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN
2. I have modifed the listener and removed the entry - hsodbc
3. stop and start the listener.
still can't see the service entry in listener status.
C:\>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 19-JUL-2010 02:27
:08
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Produ
ction
Start Date 19-JUL-2010 02:21:17
Uptime 0 days 0 hr. 5 min. 52 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File e:\oracle\diag\tnslsnr\DALDEVDBCRM1\listener\alert\log
.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=daldevdbcrm1.corp.nai.org)(PORT=1521
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm1", status READY, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+asm1", status READY, has 1 handler(s) for this service...
Service "ARIBADEV" has 1 instance(s).
Instance "ariba", status READY, has 1 handler(s) for this service...
Service "ARIBADEV_XPT" has 1 instance(s).
Instance "ariba", status READY, has 1 handler(s) for this service...
Service "ARIBAXDB" has 1 instance(s).
Instance "ariba", status READY, has 1 handler(s) for this service...
Service "aiad.corp.nai.org" has 2 instance(s).
Instance "aiad1", status READY, has 2 handler(s) for this service...
Instance "aiad2", status READY, has 1 handler(s) for this service...
Service "aiadXDB.corp.nai.org" has 2 instance(s).
Instance "aiad1", status READY, has 1 handler(s) for this service...
Instance "aiad2", status READY, has 1 handler(s) for this service...
Service "aiad_XPT.corp.nai.org" has 2 instance(s).
Instance "aiad1", status READY, has 2 handler(s) for this service...
Instance "aiad2", status READY, has 1 handler(s) for this service...
Service "aianew" has 1 instance(s).
Instance "aianew", status READY, has 1 handler(s) for this service...
Service "aianewXDB" has 1 instance(s).
Instance "aianew", status READY, has 1 handler(s) for this service...
Service "aianew_XPT" has 1 instance(s).
Instance "aianew", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\> -
Windows client - Linux oracle server SSO through Win2003 DC
Hi,
I'm trying to do SSO with the captioned setting, the outline can be simplified as below:
windows cleint --> Win2003 DC --> Linux Oracle server
Of course, the Linux server would issue kerberos ticket to the Windows client after which successfully authenticates with the Win2003 DC.
I have problem doing test connection for both Windows client & Linux server when connecting to the database. Both with error "ORA-12638: Credential retrieval failed" when testing with Oracle Net manager. Listener & DB were both started.
Platform: Redhat Enterprise ES4, Oracle 10.2.0
The configuration files are as follows:-
SQLNET.ORA
SQLNET.AUTHENTICATION_SERVICES= (BEQ, KERBEROS5)
SQLNET.KERBEROS5_KEYTAB = /u01/app/oracle/oracle/product/10.2.0/db_1/ORACLE.keytab
NAMES.DIRECTORY_PATH= (TNSNAMES)
SQLNET.KERBEROS5_CONF = /etc/krb5.conf
SQLNET.KERBEROS5_CONF_MIT = TRUE
NAMES.DEFAULT_DOMAIN = test.com
SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = ORACLE
TRACE_LEVEL_SERVER=16
TRACE_DIRECTORY_SERVER=/u01/app/oracle/oracle/product/10.2.0/db_1/network/log/
TRACE_FILE_SERVER=server
TRACE_UNIQUE_SERVER=ON
LISTENER.ORA
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/db_1)
(GLOBAL_DBNAME = ORCL.TEST.COM)
# (PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = rhedlora)(PORT = 1521))
TNSNAMES.ORA
ORCL.TEST.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhedlora)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.test.com)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Can anyone advise what's wrong? Thanks in advance.Sorry for miscommunication..
this is the actual listner information :
LSNRCTL> start
Starting tnslsnr: please wait...TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
System parameter file is E:\oracle\ora92\network\admin\listener.ora
Log messages written to E:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ECT-STPPC2316.BLR.INDIA.
CGINET)(PORT=1521)))Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date 20-DEC-2007 13:32:16
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File E:\oracle\ora92\network\admin\listener.ora
Listener Log File E:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ECT-STPPC2316.BLR.INDIA.CGINET)(PORT
=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
=============
I am using different listner(Listner).
Please let me know if I have to make any configuration at Client Machine. -
Oracle on Solaris and JAVA app on Windows clients
hi im currently developing a JAVA app that accesses the data from an Oracle databse, these apps all running on windows clients. Im wondering the best way to access the database? is the JDBC the only way to do this.. thanks in advance
Yes, you can download a JDBC driver from Oracle. I think this site might do it:
http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
I'm assuming that you're using the JDBC-ODBC bridge driver now to get into Access. You'll just have to change the name of the JDBC driver class and the database URL to connect to Oracle.
Once you have it, you'll have to make sure you put it in the right place for your app. If it's a Web-based app, it'll depend on the container you're running.
- MOD
Maybe you are looking for
-
CS5 slow to get the 'open' and 'save' dialog box over networked computer.
I have been having this problem since the suite was installed, but recently has gotten much slower. Any time I click open or save it takes 8-10 seconds just for the dialog box to come up. CS1 was lightening fast - I know that was ages ago, but I can
-
5th Gen iPod Touch w. iOS 7 not recognized by iTunes 11.1
On Wednesday I updated my 5th gen iPod Touch to iOS 7, and ran the latest iTunes 11.1 update on my MacBook Pro running OS X 10.8.5. For two days, everything worked fine, but today, when I plug in my fully charged iPod it is not recognized by iTunes.
-
Steps to Install Oracle 11g XE 64 on Linux 14
Hi Need steps to install Oracle 11g XE on fedora linux 14 on VM ware. I tried methods that are posted but oracle got installed but it is not working need some proper steps to install, I have done the installation on windows its but am new to linux. P
-
How do I check if the function I created successfuly is working?
create or replace function salary_practice(department_id in number, salary in number) return number as begin if department_id = 100 then return salary + 1000 ; elsif department_id = 30 then return salary + 1500; elsif department_id = 90 then return s
-
Resolution Xtra and secondary monitor
Hi I'm using Resolution xtra to change the resolution on my monitor My PC with windows XP has 2 monitors And when I change resolution for primary monitor, using function cSuccess = gResXtra.set_resolution(cResWidth,cResheight,cResMode,gResXtra.get_pr