Connection to Oracle XE via IIS/ASP app was working then stopped

I am prototyping an application for my new management here so that I can recommend they use Oracle XE.
The connection to the Oracle XE database appears to have stopped working, via an IIS/ASP application I wrote. I can still connect through ODBC using native MS Access to Oracle XE, when logged into XP, its just when I try to log in using the app via IIS I get the following error:
Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
It was working for a while, like the whole first week. It might be related to the fact that that I finally rebooted, not sure.
I have tried many, many things. I made the IUSR account an admin on the box hoping that maybe it had just lost access to the local ODBC/TNSNAMES. Right now all the components are local to my development box, from the IIS server to the Oracle eXtended Edition database (XE, free). Like I said, it was working. I did have this same message I believe early on, which turned out due to the fact that my ODBC DSN was a local DSN, instead of a System DSN, which I overcame at that time. But it just started happening again, possibly after a reboot.
I also tried switching to a local MS Access database, and I got a similar message. I moved the Access db to c: root, and it appears to work, so it appears to be a file/directory access issue.
But I'm not sure how to resolve it because I would much prefer to use the Oracle database.
Thoughts?

As far as the connect string goes, I'm not sure exactly what to specify to you.
I am using the default connect string that comes when you install XE.
I.e., "XE".
I suspect this might be a path issue for the virtual account that is used by IIS sessions. As you may know, when IIS runs, it logs the web user into the box using a dummy account, typically prefixed with the string "IUSR".
Although I made this account an admin to the box, I think I may need to add some of the Oracle Client directories to the path which is accessed by this IUSR account. The problem is, the acount, with its password, was set up by default and I don't know what its password is. But I think that I could try to adde Oracle's home path to the default system path, what do you think?
In other words, I don't think the XE connection libraries are available to this dummy IIS account. The strange thing is, it worked for a while, ostensibly till I rebooted.
Know also that I am not using the Oracle Client per se, although I did install it and try it with mixed results. I am just using the Oracle OLE DB ODBC that appeared when I installed the Oracle XE server itself.

Similar Messages

  • Can I connect to an OracleDB via an Android app?

    Hi,
    I originally resurrected an old long-finished forum thread and attempted to hijack it away for my own issue but a kind forum moderator has split my question away so that it might stand on its own merits (or not). I'll try to remember for the future that if I have a question, I should always make my own new forum post.
    That thread was ...
    Exception when connecting to an OracleDB via an Android app
    Is that possible to connect to other DB from android. I m a trainee and I m trying to connect android with other DB's except SQLite.. if so can anyone explain 1. how to do that, and
    2.what are the DB's can be connected with android...
    3.What is the concept behind to work it out...
    pls explain it a bit detail, as i m learning it would be easier for me to understand the concepts in better way.

    Same as what I said in the other thread.
    Either there is an IP stack or there isn't.
    If there is then you have the same problems with IP stacks as with a desktop in that it must have connectivity from the client to the database. Other than that you just use a JDBC (java only) driver.
    If there is no IP stack then you MUST look for another solution or look into creating your own solution (if possible.)

  • Making connection to Oracle 9i via SQL Plus - Mark

    Hi,
    I am unable to connect to oracle 9i via dos prompt or SQL Plus.
    I installed the satabase on windows.
    The SID is obiwan. Please help, already browsed similar topics and its not happening.
    Thanks in advance.

    The Listener is the process that is listening for incoming remote connections to the DB(s).
    Database and Listener have Windows services, and services have to be started. Also, from DOS prompt you can do :
    C:\> lsnrctl stat
    to see if the Listener is active : the result should be the list of active DB(s).
    To connect locally to the DB do the following :
    C:\> set ORACLE_SID=obiwan
    C:\> sqlplus "/ as sysdba"
    The result should be something like SQL*Plus: Release 9.2.0.4.0 - Production on Dom Apr 10 16:58:32 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    SQL>If the result is something like : SQL*Plus: Release 9.2.0.4.0 - Production on Dom Apr 10 17:01:29 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to an idle instance.
    SQL>                                                                          then it means that the DB is not up. In this case try :
    SQL> startup
    That way you are connected as sysdba, you can startup and shutdown the DB, create users, and so on. Do not use this connection to create objects (tables, indexes and so on) :
    create an user, using the command "create user" (See [url http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/toc.htm]Sql documentation), and connect as that user, for example
    SQL> conn scott/tiger
    or, at DOS prompt
    C:\> sqlplus scott/tiger
    If you create a TNS alias, as I said before, you can use that as connection string from DOS prompt
    C:\> sqlplus scott/tiger@<TNS alias>
    or using SqlPlus in the Oracle menu.

  • How connect to oracle RAC via the RSG using port forwarding

    Hi all,
    I got a problem trying to connect to oracle RAC via the RSG using port forwarding .
    on command line i sue to connect :
    sqlplus 'username/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=firstRACnode)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=secondRACnode)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MSDP)))'
    but when using port forwarding i forward the port 1521 to a local port and make ssh to the DB node ( as normal with other nodes but not RAC) but it never work with me for this situation
    can any one give me a help ifthere is any changes should be done on the server side , or if any one faced such a problem and found a solution
    Thanks,
    Prathap.

    782011 wrote:
    I got a problem trying to connect to oracle RAC via the RSG using port forwarding .
    on command line i sue to connect :
    sqlplus 'username/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=firstRACnode)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=secondRACnode)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MSDP)))'Not exactly sure what you are attempting, but if you doing port forwarding via ssh, the basic approach is as follows:
    Step 1
    Create a ssh tunnel from local machine to remote db server. Forward any local port (should not be a well known port or a port in the private/dynamic port range) to connect to the database server's listener port. If the ssh tunnel is into the db server itself, the connection (port forwarding) can be on localhost (as the Listener should be listening on it). Alternatively use a public IP of that db server.
    Example (using OpenSSH on Ubuntu 9.4):
    Local server port 1527 tunneled to port 1521 on database server 192.168.0.100 using o/s account johnd (we connect to port 1521 on db server via 127.0.0.1):
    ssh -X -f -N -o ServerAliveInterval=3 -L 1527:127.0.0.1:1521 [email protected]
    Step 2
    Run sqlplus and connect to the local fowarded port on localhost, using the applicable connection settings (e.g SID/Service Name, etc).
    sqlplus scott/tiger@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1527)) (CONNECT_DATA=(SID=orcl) (SERVER=dedicated)))"Note that the Listener must not hand our connection off - as the case would be when using RAC for example and connecting via a Service Name and not a SID. We need the Listener that accepts our connection to immediately hand us over to the database instance (via either a dedicated server or a shared server dispatcher process).

  • Private Photos App - pictures not displaying This app was working fine, then suddenly it won`t display any of the photos.

    This app was working fine, then suddenly it won't display any of the photos. One day the photos were there, gone the next. It still shows how many photos are there but just shows a white screen. I can't export anything to the photo album. Adding photos to existing folders yields the same result, only white screen displayed. However, I can create new albums and add photos to those without issue. Does anybody know how to recover the "missing" photo"  I was going to try reinstalling the app but it's no longer available in the iTunes App Store. Thanks, Tracy

    1, you can't at the moment, though with iOS 5 in the Autumn, from http://www.apple.com/ios/ios5/features.html#photos :
    Even organize your photos in albums — right on your device
    2, by removing it from you synced from and re-syncing. Only photos taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad (either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view)
    3, the location of the photos that you synced to the iPad should be listed on the iPad's Photos tab when connected to your computer's iTunes.
    4, you can copy the photos from your iPad to your computer : http://support.apple.com/kb/HT4083 . You should also be able to delete them from the iPad as part of the transfer process to your computer, and it's then your choice whether to add them to your sync photo list so as to copy them back to the iPad. Copying them to your computer would allow you to organise them into folders and therefore be able to sync them back into separate albums.
    5, I don't use Dropbox either. There are some third-party browser apps in the iTunes App Store that allow you to download pages so that you can view them when offline e.g. Atomic Web (the whole page is saved within Atomic Web, it doesn't place a photo into the Photos app)
    6, deleting content should help. If you remove an app from your iPad then you also remove the content that it's got on the iPad - so if you then decide to reinstall it back onto the iPad then you will need to manually add back any content that you want in it. None of the Apple built-in apps (including Photos) can be removed from the iPad

  • Hello I have a problem with a Wifi Survey app, this app is from Access Agility, however this app was working fine, but without advise stop of working, I tried to open again, but app be close after few seconds.

    Hello I have a problem with a Wifi Survey app, this app is from Access Agility, however this app was working fine, but without advise stop of working, I tried to open again, but app be close after few seconds. Every time that I tried to open it, in diagnostic and use create some files, in special one named LatestCrash-WifiSurvey.plist, this one generate an incident identifier E73B0164-CDFA-4E9E-839E-A0C021BD17A2, but this incident identifier change every time that I tried to open, the last incident identifier is: DE600EB3-AB57-4C33-8DE8-71F6788A7441.
    After of it, I checked that the app had a new version available for downloading, I took a backup of my ipad and then upgrade this app, but is the same problem, all I want is to save the projects I had in this app, I´m afraid that if I delete this app and re-install it, probably I loss my projects.
    Thanks for your help indicating how I can save my projects and see them for example in an iphone for assurance that data is not lost.
    Something that called my attention is part of the log that shows a big CPU processing, but the strange thing is I killed all applications.
    Incident Identifier: E73B0164-CDFA-4E9E-839E-A0C021BD17A2
    CrashReporter Key:   ed0ca1405ce83d4f80cb3cce063d7248d7b76e91
    Hardware Model:      iPad2,5
    Process:         WifiSurvey [139]
    Path:            /var/mobile/Applications/1BEEE35A-85FC-4BE4-B62A-39A930CB3CE2/WifiSurvey.app/Wi fiSurvey
    Identifier:      WifiSurvey
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2013-08-08 19:01:13.476 -0500
    OS Version:      iOS 6.1.3 (10B329)
    Report Version:  104
    Exception Type:  00000020
    Exception Codes: 0x000000008badf00d
    Highlighted Thread:  0
    Application Specific Information:
    com.accessagility.wifisurvey failed to launch in time
    Elapsed total CPU time (seconds): 20.990 (user 20.990, system 0.000), 52% CPU
    Elapsed application CPU time (seconds): 19.954, 50% CPU

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • My MacBook Pro will not connect to my home wifi but will connect everywhere else. My other Apple devices (I-pad, I-touch, another MacBook Pro) connect to the router without problems. It was working fine but all of a sudden stopped working.Thanks!

    My MacBook Pro will not connect to my home wifi but will connect everywhere else. My other Apple devices (I-pad, I-touch, another MacBook Pro) connect to the router without problems. It was working fine but all of a sudden stopped working.Thanks!

    try this.
    get back into your router's settings and start deleting devices that are not connected to your router.
    you can also delete the ones that are connected - they'll connect again.
    on the DHCP side of it, increase the amount of users that can connect/log in to your router.
    see if that sorts it out for you.
    good luck.

  • My Ipad 2 has tried to shot down now for 3 hours, just before I could not open Itunes and App Store but Email and other apps was working. them I tried to shot down but I have now for 3 hours black screen whit turning wheel. any I deas what too do?

    My Ipad 2 has tried to shot down now for 3 hours, just before I could not open Itunes and App Store but Email and other apps was working. them I tried to shot down but I have now for now for more that 3 hours black screen whit turning wheel. any I deas what too do

    See Here for
    iPad Basic Troubleshooting
    http://support.apple.com/kb/TS3274
    Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • Help!!!! my ipod touch 3rd gen won't turn on. at first the problem was it kept shutting off whenever i went into an app, then i plugged it up to the computer to restore it from back up it was working then the ipod just shut off before it was restored help

    Help!!!! my ipod touch 3rd gen won't turn on. at first the problem was it kept shutting off whenever i went into an app, then i plugged it up to the computer to restore it from back up it was working then the ipod just shut off before it was restored help

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • ASP SCRIPT CANT CONNECT TO ORACLE 9i via Oracle9i Client

    Please help...i get an ORA-12154 when attempting to link access and oracle. what are some ways to correct this issue. i have researched as much as i understand..
    error that occurrs is as follows:
    [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve service name(#12154...........
    I HAVE installed and CONFIGURED ORACLE 9i ODBC DRIVER.
    ODBC to Oracle works mit Excel or Access.
    TNS works good with Developer 6i and SQL Plus.
    Only my ASP VBSCRIPT on my IIS5 cant connect.
    please can anyone help me !

    Microsoft OLE DB Provider for ODBC Drivers- Fehler '80004005'
    Aufgrund des Systemfehlers 5 (Oracle in Oracle9i_Client) konnte der angegebene Treiber nicht geladen werden.
    /apps/connection/uxprod.asp, line 4
    hat folgenden Inhalt:
    <%
    ' ************* DB-Connection ***************
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "DSN=UXPROD;UID=anwlist;Password=xxxx;"
    %>
    ODBC Driver with Excel works well; anly with ASP via
    OLE DB ist doesnt work !

  • Exception when connecting to an OracleDB via an Android app

    Hi everyone,
    I am coding an Android app. This app has to get datas from an Oracle DB available on the LAN. So, I use JDBC to connect to the database. (ojdbc14.jar added in my Android Project). I've made 2 classes : OracleDB with the following code (http://pastebin.archlinux.fr/432146) and the "launcher class", JDBCAndroid, with that code : http://pastebin.archlinux.fr/432148.
    The program, when it's a simple Java Project is able to connect to the database ; but in an Android Project, as you can see in the pastebin of the JDBCAndoid, there is "some" Exception from the driver.
    In particulary, this one :
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): Caused by: java.lang.ArrayIndexOutOfBoundsException
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:1019)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.java:186)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:354)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:454)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at java.sql.DriverManager.getConnection(DriverManager.java:180)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at java.sql.DriverManager.getConnection(DriverManager.java:214)
    04-22 08:17:52.509: ERROR/AndroidRuntime(346): at com.example.OracleDB.connect(OracleDB.java:36)
    Could someone help me to fix this ? Finally, is it possible to connect to an OracleDB from an Android app ?
    other details : the server is an Oracle 10g 10.2, and the driver is ojdbc14.jar (version corresponding with the version of the server).
    Best regards

    854166 wrote:
    this.url = new String("jdbc:oracle:thin:@192.168.1.139:1521:dev");
    That IP is a private IP.
    This app is very particular. It'll be use only in a restricted LAN (with the database Oracle in this LAN). So, no connection by the Internet to the database. That's why webservice is not the good solution for me. The direct connection to the OracleDB is, I think, the best solution, but I've to fix this problem...Since I haven't done any mobile programming I can't be sure but that looks extremely unlikely to me.
    A mobile/cell doesn't connect to a local network. It connects to a service provider which does a redirect, via the internet. Thus a local (private IP) connection cannot work. (That is what the 'data' fee is for.)
    Now if and only if the mobile has a true wireless modem in it then it would need to connect to a lan wireless router which itself was set up to do a local redirect. So two points of failure there: the wireless modem and the lan router. If either is not set up then it will fail.
    And if you have a wireless modem on your dev box then you can test the connectivity from there to the database just as the mobile would. To be safe yank your network cable before testing.

  • Connecting to Oracle lite via VB6

    Hello
    is there a better way to connect to Oracle 10g when using VB6?
    this is what I have:
    Under references I am using Microsoft DAO 3.6 Object library
    I do have a module where I defined the following public variables:
    Public wsOracle As DAO.Workspace
    Public cnOracle As DAO.Connection
    Public strConn As String
    and a function to alllow me to connect to the database:
    Function ConnectDB()
    On Error GoTo Error_DataBaseError
    strConn = "ODBC;DSN=MY_DATABASE;UID=user;PWD=passr"
    Set wsOracle = DBEngine.CreateWorkspace("", "admin", "admin", dbUseODBC)
    wsOracle.DefaultCursorDriver = dbUseClientBatchCursor
    Set cnOracle = wsOracle.OpenConnection("", dbDriverNoPrompt, False, strConn)
    Error_DataBaseError:
    If Err <> 0 Then
    Call ErrorCatching("ConnectDB ()")
    End If
    End Function
    It seems to work but I am having issues, two apps are connected to the same Database one is in power builder y the other in VB6 after a certain time of inactivity I get timed out from the VB app and this gets also into the power builder app.
    but if one app is open for a long time it seems to work just fine. any ideas why?
    I read that I can use the Oracle Lite 40 ODBC Driver
    but I can't seem to find a way to do the call from VB6
    any ideas?
    any enlightenment will be appreciated

    Unfortunately, in 2.0 beta, the Infobus Data Form wizard
    connection editor only supported the Oracle Thin, OCI7 and OCI8
    drivers. For 2.0 production, Oracle Lite and the JDBC-ODBC bridge
    will also be supported.
    Regards,
    JDeveloper Team
    Poorna Byri (guest) wrote:
    : Hi,
    : Can we can connect to Oracle Lite 3.5 from Oracle JDeveloper2.0
    : Beta using Infobus Data Form. When I tried to create a file
    based
    : on "Infobus Based Data Form" wizard it is not displaying Oracle
    : Lite 3.5 driver. Can I create a TNS name for Oracle Lite 3.5
    : database.
    : Any help.
    : Thanks.
    : Poorna Byri
    null

  • IPad connects to network, but not internet, and it was working fine yesterday

    So yesterday it was working fine, conecting to the internet and the router, then all of a sudden 'Safari cannot load the page because it is not connected to the internet', it was the same for all the apps that needed internet.
    My 4th generation iPod touch connects fine and so do other wireless devices on my network, what went wrong and how can I get  my internet back!??
    I have tried resetting the connectivity settings, resetting the router, adding the MAC address of the iPad to my routers 'Safe List' (which it wasnt on before it stopped working), and tried turning on and off the iPad.
    So what can be done to fix this?
    Thanks in advance

    seananners wrote:
    Ok. So after tweaking my IP settings no luck.
    Then I set up a Static route then put it into the settings on the ipad under 'static' and finally it works!
    A lot of hassle for such an annoying problem but I still have no idea why it didn't connect in the first place!?
    You found a work-around. Can't argue with success but you have not solved your problem. You should continue trying to get it to work via dhcp and dynamic addressing.

  • How to connect to Oracle RAC via SCAN

    I just finished Oracle RAC install but I cannot connect via the SCAN name from a remote client - only via the VIP:
    $ sqlplus system/[email protected]:1521/racdb.development.info
    SQL*Plus: Release 11.2.0.3.0 Production on Fri May 25 15:14:13 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    This is Oracle 11r2 on Unbreakable Linux 6.2. The sqlplus above is from Instant Client 11.2. Further info is:
    $ ./srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node racnode1
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node racnode2
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node racnode2
    ./srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node racnode1
    $ nslookup rac-scan
    Server:          172.20.0.15
    Address:     172.20.0.15#53
    Name:     rac-scan.xxx.local
    Address: 172.20.0.213
    Name:     rac-scan.xxx.local
    Address: 172.20.0.214
    Name:     rac-scan.xxx.local
    Address: 172.20.0.210
    on racnode1:
    $ /sbin/ifconfig
    eth0 Link encap:Ethernet HWaddr 00:1A:A0:96:A6:B2
    inet addr:172.20.0.221 Bcast:172.20.0.255 Mask:255.255.255.0 <--- public ip
    inet6 addr: fe80::21a:a0ff:fe96:a6b2/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:9458999 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14852588 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4001261935 (3.7 GiB) TX bytes:1196090235 (1.1 GiB)
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:1 Link encap:Ethernet HWaddr 00:1A:A0:96:A6:B2
    inet addr:172.20.0.212 Bcast:172.20.0.255 Mask:255.255.255.0 <---- VIP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:2 Link encap:Ethernet HWaddr 00:1A:A0:96:A6:B2
    inet addr:172.20.0.214 Bcast:172.20.0.255 Mask:255.255.255.0 <---- one of the SCAN ips
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth1 Link encap:Ethernet HWaddr 90:E2:BA:0F:F9:8F
    inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0 <---- private interconnect
    inet6 addr: fe80::92e2:baff:fe0f:f98f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:26461881 errors:4 dropped:0 overruns:0 frame:2
    TX packets:33628826 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4053295644 (3.7 GiB) TX bytes:695537051 (663.3 MiB)
    on racnode2
    eth0 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.174 Bcast:172.20.0.255 Mask:255.255.255.0 <--- public IP
    inet6 addr: fe80::21a:a0ff:fe96:a45b/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3233473 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1766459 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:41109717 (39.2 MiB) TX bytes:179509273 (171.1 MiB)
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:1 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.211 Bcast:172.20.0.255 Mask:255.255.255.0 <--- VIP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:2 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.210 Bcast:172.20.0.255 Mask:255.255.255.0 <--- another SCAN IP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:3 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.213 Bcast:172.20.0.255 Mask:255.255.255.0 <--- another SCAN IP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    $ ./lsnrctl status LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-MAY-2012 15:12:35
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 25-MAY-2012 14:28:11
    Uptime 0 days 0 hr. 44 min. 23 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/racnode1/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.214)(PORT=1521)))
    Services Summary...
    Service "racdb.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Service "racdbXDB.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Any ideas?

    How does SCAN work?
    “When a client submits a request, the SCAN listener listening on a SCAN IP address and the SCAN port is contracted on a client’s behalf. Because all services on the cluster are registered with the SCAN listener, the SCAN listener replies with the address of the local listener (Using SCAN the connection is initiated using the SCANIP, but is established using the VIP) on the least-loaded node (Each scan listener keeps updated cluster load statistics) where the service is currently being offered. Finally, the client establishes connection to the service through the listener using VIP on the node where service is offered.All of these actions take place transparently to the client without any explicit configuration required in the client.”
    So, to SCAN Works you must aware:
    Server (cluster)
    -The service must be registered on Local/Scan ListenerI believe I've done this now but see below.
    Database (rac)
    -You must use remote_listener parameterThe remote listener parameter I have is:
    SQL> show parameter remote listener
    NAME                    TYPE     VALUE
    remote_dependencies_mode     string     TIMESTAMP
    remote_listener           string     rac-scan:1521
    remote_login_passwordfile     string     EXCLUSIVE
    remote_os_authent          boolean     FALSE
    remote_os_roles           boolean     FALSE
    result_cache_remote_expiration     integer     0
    Cient
    -Must resolve all SCAN Names and VIP Names (check with nslookup)I'd made a mistake there. My VIP names were not available from DNS.
    -Must access port of Listener
    Try it:
    http://levipereira.wordpress.com/2011/05/03/configuring-client-to-use-scan-11-2-0/
    Thanks, that document was useful however I don't think I've got it completely right as yet as I have no listener_scan2.
    $ olsnodes -i -s -n
    racnode1     1     racnode1-vip     Active
    racnode2     2     racnode2-vip     Active
    srvctl config vip -n racnode1
    VIP exists.:racnode1
    VIP exists.: /racnode1-vip/172.20.0.212/255.255.255.0/eth0
    srvctl config vip -n racnode2
    VIP exists.:racnode2
    VIP exists.: /racnode2-vip/172.20.0.211/255.255.255.0/eth0
    srvctl config scan
    SCAN name: rac-scan.xxx.local, Network: 1/172.20.0.0/255.255.255.0/eth0
    SCAN VIP name: scan1, IP: /172.20.0.214/172.20.0.214
    SCAN VIP name: scan2, IP: /rac-scan.xxx.local/172.20.0.210
    SCAN VIP name: scan3, IP: /172.20.0.213/172.20.0.213
    SQL> select INST_ID, NAME, VALUE
    2 from gv$parameter
    3 where name like '%_listener%';
    INST_ID
    NAME
    VALUE
         1
    local_listener
    (address=(protocol=tcp)(port=1521)(host=racnode1-vip.xxx.local))
         1
    remote_listener
    rac-scan:1521
    INST_ID
    NAME
    VALUE
         2
    local_listener
    (address=(protocol=tcp)(port=1521)(host=racnode1-vip.xxx.local))
         2
    remote_listener
    INST_ID
    NAME
    VALUE
    rac-scan:1521
    racnode1
    $ lsnrctl service listener_scan1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-MAY-2012 13:36:10
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    Services Summary...
    Service "racdb.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (address=(protocol=tcp)(port=1521)(host=racnode1-vip.xxx.local))
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (address=(protocol=tcp)(port=1521)(host=racnode2-vip.xxx.local))
    Service "racdbXDB.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode1.xxx.local, pid: 3651>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode1.xxx.local)(PORT=62553))
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode2.xxx.local, pid: 6501>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode2.xxx.local)(PORT=10619))
    The command completed successfully
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-MAY-2012 13:38:02
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "racdb.development.info" has 1 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "racdbXDB.development.info" has 1 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode1.xxx.local, pid: 3651>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode1.xxx.local)(PORT=62553))
    The command completed successfully
    racnode2
    lsnrctl service listener_scan2
    none of listener_scan1, 2 or 3 say anything other than TNS-01101: Could not find service name listener_scanN
    lsnrctl service
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-MAY-2012 13:19:50
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "racdb.development.info" has 1 instance(s).
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:14 refused:0 state:ready
    LOCAL SERVER
    Service "racdbXDB.development.info" has 1 instance(s).
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode2.xxx.local, pid: 6501>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode2.xxx.local)(PORT=10619))
    The command completed successfully
    UPDATE:
    $ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    There is a period of time when I shutdown one node where I cannot connect and get "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Edited by: MartinJEvans on May 28, 2012 2:02 PM

  • Connectivity of Oracle 9i DB With ASP Application

    Dear friends,
    Can Any one please help me in solving my problem as follows. I run Oracle 9i Release 2 Database on Red HAt Linux Advanced Server. I also run a web server running on windows 2000 server and IIS 5.0. Now my problem is that whenever i try to coonnect the databse using ASP Pasges it returns me error of the following nature :
    1) objconn.Open "Provider=MSDASQL;Driver={Microsoft ODBC For Oracle};UID = kms;PWD=kms;Server=KMS;"
    Error Message :
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    /ORACLE77.ASP, line 8
    2)objconn.Open "Provider=MSDAORA.1;User Id = kms;Password=kms;Data source=KMS;Persist Security Info=False"
    Error Message:
    Microsoft OLE DB Provider for Oracle error '80004005'
    Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.
    3) objconn.Open "DSN=KMS;uid=kms;pwd=kms"
    Error Message :
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
    My service name is KMS,database name & sid name also is KMS
    PLease Help me out of this problem.

    You may probably look at the possibility of using Oracle Provider for OLEDB.
    You can refer samples on this at following url
    http://otn.oracle.com/sample_code/tech/windows/ole_db/content.html
    This url also gives links for downloading the software.
    Chandar

Maybe you are looking for

  • Remote Desktop Connection - cannot proceed because authentication is not enabled

    Hello, I try to connect via RDP from a Windows Server 2008 R2 to another 2008 R2 Server. I always get the error message. The connection cannot proceed because authentication is not enabled and the remote computer requires than authentication be enabl

  • Return Delivery with a Credit  Memo Request.

    Hello Gurus. I have been working on this issue for quite some time. I will explain the process that was provided by our installers. It doesn't seem to be adding up. Here is the situation, Product that was sent incorrectly was returned. According to o

  • How do you show slideshows on a TV?

    HOW DO I SHOW A SLIDE SHOW ON THE TV?

  • Help needed on Regular expressions

    Hi All, I need to extract the value of the below 2 tags 1. <S143:name> (main tag not the <S143:name> of <S143:specCharacteristicProperty>) 2. <S110:stringValue> <S211:falloutCharacteristic>                *<S143:name>String</S143:name>*              

  • Unable to start OEM (Oracle 9.0.2 for Linux)

    I get the following error message as I tried to start the Oracle Managment Server under Linux (Note: I use United Linux 1.0 RC5 to hold Oracle Database Server 9.0.2): Starting the management server at Tue Jan 14 17:08:17 HKT 2003 OEMCTL for Linux: Ve