Connect to 11.2 db via SCAN fqdn from Windows client
I am unable to connect to a 11gr2 database (running on RHEL 5.3) from a Windows client via the SCAN name. I can connect through either of the VIP's but not through the SCAN Load Balancer.
$ ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node r02hinnod08pp
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node r02hinnod09pp
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node r02hinnod09pp
$ ./srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node r02hinnod08pp
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node r02hinnod09pp
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node r02hinnod09pp
listener.ora
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
tnsnames.ora
# tnsnames.ora Network Configuration File: /app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
HEALTH =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = r02hindbs01pp.r02.med.va.gov)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = health.va)
SCAN is configured as r02hindbs01pp and is a 3 IP round robin. From the Linux server nslookup resolves both from IP and fqdn (or just the prefix)
VIP's are r02hinclu04 and r02hinclu05 (1 IP each)
I can connect via either of the VIP's fqdn from the client, but cannot connect via the SCAN fqdn
Thanks
Hi,
I dont know if this solve your problem.
The SCAN IP and VIP IP work together.
The connection of clients to the database is not established by SCAN IP but by VIP IP.
When a SCAN Listener (SCAN VIP) receives a connection request, the SCAN Listener will check for the least loaded instance providing the requested service.
It will then re-direct the connection request to the local listener on the node where the least loaded instance is running. Subsequently, the client will be given the address of the local listener.
The local listener In this context, the LOCAL_LISTENER parameter must be considered. The LOCAL_LISTENER parameter should be set to the node-VIP. If you need fully qualified domain names, ensure that LOCAL_LISTENER is set to the fully qualified domain name (e.g. node-VIP.example.com).will finally create the connection to the database instance.
Read this Oracle Technical Paper.
http://www.oracle.com/technetwork/database/clustering/overview/scan-129069.pdf
Regards,
Levi Pereira
http://levipereira.wordpress.com
Similar Messages
-
Hi, It's a newly bought printer. I am unable to connect to the printer via Wireless Direct from Windows 8.1 64bit laptop. I have enabled the Wireless Direct with security on the Printer. Connected to the Printer SSID from my laptop wifi. Created the new printer from Driver software. It discovers the printer with it's name,IP etc; Upon selecting the printer and click on 'Next' button on the screen, results in a 5 min search process and finally displays that it could not connect. I have tried pinging the printer and it's able to pingf the IP of the printer successfully. I have even tried disabling the Norton antivirus, but result is the same. regards,sathwik
-
Cannot login via ssh/sftp from certain clients
Hi Guys,
Strange issue here. I have a machine running 10.7.4 that I want to be able to access via sftp/ssh.
I can login into the machine in terminal using either ssh or sftp.
I cannot however login to the machine from finder via sftp. I am just told the username/password is wrong.
Equally I cannot login to the machine from certain clients on my android phone (the main reason I need sftp)
I can however login from cyberduck on the other machines I have, and from some clients on my android phone.
When a mac is denied access it gives authentication failed as the reason, when a android client is denied access it gives network communtaction issues as its reason for failing, not authentication.
From memory these issues started when smb broke for me in 10.7.3.
Can any one shed any light on this?
Cheersbump
-
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 -
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) ) -
Connecting to 11.5.10 application through sqlplus from a client
al salam 3al man etaba3 al hoda
I have intalled appl 11.5.10 and i need to connect to the database through sqlplus from another pc but i cann't connect
also i cann't see the database from the eterprise manager
i heard that there are some new security issues at that version that must be set before i can be ble to do that but i don't know details about that.
thanksYour httpd.conf should have:
include "<your Apache home>/Apache/conf/oracle_apache.conf"
and your oracle_apache.conf should have:
include "<your Apache home>/Apache/conf/apps.conf"
and your apps.conf should have:
<Location ~ /(oa_servlets|servlets|servlet|jsp|configurator|mobile|forms|discoverer4i|emailcenter|soap/servlet|webservices|dmsOACore|dmsDisco|dmsForms|pricing)/framework>
Order deny,allow
Deny from all
Allow from <your hostname without domain name>
Allow from <your hostname without domain name>.sandia.gov
</Location> -
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 -
Version: 11.2
Platform ===> Solaris
Does SCAN IP (set in DHCP rather than /etc/hosts file) work only for clients installed in Unix?
I had set up my SCAN ip in /etc/hosts file(not DHCP).
So, this SCAN name works only within nodes. Not from other Unix machines and definetly not from windows machines.Hi VitaminD,
If you do not have a DNS server avaliable at installation time OUI will not let you continue with the installation until you have provided a suitable SCAN resolution.
However, in order to overcome the installation requirement without setting up a DNS-based SCAN resolution, you can use a hosts-file based workaround.
In this case, you would use a typical hosts-file entry to resolve the SCAN to only 1 IP address and one IP address only.
It is not possible to simulate the round-robin resolution that the DNS server does using a local host file.
The host file look-up the OS performs will only return the first IP address that matches the name. Neither will you be able to do so in one entry (one line in the hosts-file).
Thus, you will create only 1 SCAN for the cluster
This workaround might also be used when performing an upgrade from former (pre-Oracle Database 11g Release 2) releases. However, it is strongly recommended to enable the SCAN configuration on “DNS Server” or “The Grid Naming Service (GNS)” above shortly after the upgrade or the initial installation.
Does SCAN IP (set in DHCP rather than /etc/hosts file) work only for clients installed in Unix?
Configure SCAN on hosts file is only a workaround should not be used in a production environment. For the SCAN function properly you must have configured the DNS or GNS
Regards,
Levi Pereira
<font size="1" color="red">Please close your thread when you get the solution to your problem.</font><br>
<font size="1" color="red">Check the replies answered "helpful" answer or "correct" answer that will help other people with same problem.</font><br>
<font size="1" color="red">Thanks for doing your part to make this community as valuable as possible for everyone!</font><br> -
How to connect to four Mirage Servers via Round Robin from external over one Mirage Gateway?
Hello all,
we want use Mirage completely from external over the Mirage Gateway.
We have around 4000 Mirage Clients which will use the Gateway and 4 Mirage Servers.
The Gateway is running in the moment only for our external users and is working well.
The way in the moment (if I understand everything right) is that the Clients are connecting from external to the Mirage Gateway and from there to ONE mirage Server.
If it is like that and we configure all Mirage Clients to go over the GW then 4000 Clients are connected to ONE Server is that right?
If yes how can we configure it that all 4 Mirage Servers will be used?
Are 4000 Clients over one GW maybe too much or should that work out?
Thank you for your answers.
TimoHi Timo,
I modified my lab and now Mirage is running with two Gateways, two load balancers, two Servers and two storage systems.
The "MirageNetScaler" is one appliance but with two virtual server.
Your design with only one Gateway should also work.
Sorry for my bad paint skills
Regards
Felix -
Auto scan files from windows folder
I am having trouble updating the iTunes library automatically? e.g. when I delete a file from my folder where all my music is stored the Library in iTunes does not do a refresh and pick up the change?
Please help because this is getting irritating because I have to keep importing the folder into iTunes.iTunes does not have an auto-refresh or scan feature as you desire.
If you delete a music file on the PC (outside of iTunes), you will be left with a broken song reference within iTunes.
Delete both the reference and file by using iTunes. -
How to connect to an Oracle database on one machine from another client machine?
I installed oracle database 11g (server and client) on one machine. It works perfectly. Then I installed oracle client (ODTwithODAC1120320) in another machine. Now I want to connect to the database of the previous machine. I tried to connect but It failed. I think .ORA files should be configured. What should I do to fulfill this.
thanks...thank you for the quick response..
this link Installing Oracle Database Client for oracle client installation. But the content refers all oracle database installation. could you please get know me that oracle client means only the OdtWithODAC or some thing else? This link Installing Oracle Database Client explain but not the OdtWithODAC. Please let me know clearly.
Please let me know the exact name of the software that I should download from the oracle website that refers the oracle database client.
thanks
Priyashantha hp -
Windows 8 and IE10 and 11 not accepting Proxy Settings via Group Policy from windows server 2003
Hi
We are still running Windows Server 2003 with a Win7 and Win8 desktop environment. I can control Win7 IE9 settings,
But Win8 systems are running IE10. We have an internal proxy server.
Is there any way to force the proxy settings to the Win8/IE10 or 11 systems .
i have tried with The IE 10 .adm template and applied gpo,but does not have any proxy settings for ie10 and no changes were applies
please can anyone help me regarding this
i want to apply GPO from windows server 2003 to windows 8 ie10/11
Thanks
KNCHi,
I agree with Zanderol24, we can install RSAT on a windows8 client, and then we can use Group Policy Management to manage group policy from the client.
For more information about RSAT, we can refer to the following link:
Remote Server Administration Tools (RSAT) for Windows Client and Windows Server (dsforum2wiki)
http://social.technet.microsoft.com/wiki/contents/articles/2202.remote-server-administration-tools-rsat-for-windows-client-and-windows-server-dsforum2wiki.aspx
For more detailed information about how to use GPP to configure the proxy setting for ie10 and ie11, we can refer to the following link:
How to configure Group Policy Preference settings for Internet Explorer 11 in Windows 8.1 or Windows Server 2012 R2
http://support.microsoft.com/kb/2898604
When we use GPPs you need to be aware of the F5-F8 keys:
Red / Green: GP Preferences doesn’t work even though the policy applied and after gpupdate \force
http://blogs.technet.com/b/grouppolicy/archive/2008/10/13/red-green-gp-preferences-doesn-t-work-even-though-the-policy-applied-and-after-gpupdate-force.aspx
Besides, aside from using group policy to manage IE, IEAK can also be used to do this.
For IEAK, the following article can be referred to for more information.
Internet Explorer Administration Kit (IEAK) Information and Downloads
http://technet.microsoft.com/en-in/ie/bb219517.aspx
Best Regards,
Erin -
from the boot camp control panel, highlighted "Macintosh HD Mac OS X", click on Restart button or click OK or click Apply buttons gave me "An error occurred while trying to change the startup disk. You may not have privileges to change the startup disk. Make sure you have administrative privileges and try again."
Im logged in to Windows 7 as admin thou but still giving me the above message.
i rebooted & the option key does not give me option to boot to Mac instead gives me a screen with lock then below is a blank field then a right arrow on the right side, i normally hit the power button from this screen
please help
thxsorry for digging up an old thread, but what was the problem?
-
Problem Connecting to Shared Printer on Leopard from Windows XP
Hey guys,
Just installed Leopard yesterday, and I have a Canon PIXMA MP160 printer connected via USB.
I have set the printer to be Shared, and enabled Printer Sharing in the Sharing preferences.
However, when I try and connect to the printer from a Windows XP laptop, it says: Access Denied, Unable to Connect.
I imagine that this is because I would have provide a username / password combo in order to access the network resources on my Leopard machine. I just can't figure out how to send the credentials, or disable the login necessity if needs be.
If this isn't the problem, or if it cannot be fixed then the alternative is to connect the printer to my router, which shares it via SMB. Now that's fine when I want to connect to it from Windows, but I can't figure out a way to set it up on Leopard.
The MP160 driver that comes with Leopard isn't marked as "Modern" which, according to the documentation means that it cannot be used to install IP or Windows Shared printers.
So my question is, to sum up, is there a way to fix the access problem when trying to access a shared printer on Leopard from Windows, and is there any way I can install and use the printer from Leopard while its shared from my Router via SMB?
Thanks in advance.
Edit:
I just thought it would be helpful to say that I'm able to connect and browse through SMB shares from Windows Systems, and I'm able to connect and browse through shared volumes on Leopard from Windows. It's just the printing that's not playing fair.
Message was edited by: JasarienI had Bonjour for Windows working on two XP machines before I upgraded to Leopard. After that when the Bonjour printer would not work I deleted it from the XP machines and re-ran the Bonjour Setup App. It can find the printer every time, but it will not finish and will give me an error instead.
I've also verified that I have Printer Sharing turned on and the printer is specifically set to be shared. I'm out of ideas.
Has anyone heard reports of Bonjour 1.0.4 not working with Leopard or just being buggy under similar circumstances? If that's not the problem, then I must be missing something. Suggestions welcome. -
File Upload Performance using IE from Windows to Unix via HTTPS
Hi,
Is there any performance issue uploading a file
using IE from Windows client to UNIX server via HTTPS?
Before that, we were using HTTP protocol and everything run smooth
Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
Even though this does not happen all the time but still, it affect the overall performance of our system
We'd tested other browsers such as Netscape, Firefox, Opera and we don't hit any problem with them
Is there any way to improve the performance?
Is there any site i can refer to? cause i need some explaination on how this could be happen
ThanksIs there any performance issue uploading a file
using IE from Windows client to UNIX server via
HTTPS?With HTTPS, the contents of the files are encrypted while uploading. This might hit the performance in some cases.
Maybe you are looking for
-
i own an imac 2011 running osx 10.6.8. I want to buy the new airport extreme but it says in the system requirements that it needs osx lion 10.7.5 or later. would it work with my older osx 10.6.8?
-
Can you add Hyperlinks in Adobe LiveCycle Designer
Hi, Does anyone know if you are able to add hyperlinks to the form which would allow me to jump to another separate pdf file? Thanks in advance, Trev C.
-
Mac to PC web viewing, what can we do to minimize differences?
I have created a website in GoLive and it has passed all the looks good tests on a Mac platform, ie its looks fine on Firefox and Safari on the Mac platform, Large and small monitors. The trouble is it looks completely different on Explorer on a PC.
-
See your family come together over a free group video call. Flase advertising as video calls are not working in the new 7.0.0.102. Settings are ok but the "Turn on video" button is greyed out. (Using Windows 7 Home Premium)
-
Material on dialog programming
Hi al, does anybody have good material on dialog programming. SPECIALLY ON TABLE CONTROL THANKS