TNS error ORA-12154 : can connect to one server but not to another.

Hello,
I have a Forms 6.0 application running on a Solaris box. It connects
fine to an Oracle 9.0 server but fails with ORA-12154 when trying to
connect to Oracle 10g running on a different server.
'sqlplus' can connect fine to both servers .
'tnsping'result is succesful from the Solaris client to both servers.
Configuration details are as follows. (IP Addresses have been
sanitised. I've included the client side listener and also entries for
the 'local' Oracle 8i server running on the Solaris 'client' although
I think some of this may be not relevant):
1. Connecting to Server 9.0 : application CAN connect successfully:
a. application URL
http://host_ip_address:7778/dev60cgi/if60cgi?config=rack : application
runs successfully
b. client's formsweb.cfg excerpt:
[rack]
pageTitle=yadayada
form=login01
userid=user/pass@nn_rackspace
archive=f60all.jar, oracle_ice-4_03_1.jar
c. client's tnsnames.ora excerpt (local services not excluded):
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
RR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = RR)
NN_RACKSPACE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.33.44)(PORT =1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = QQ1.QONNECTIS.COM)
NN_QQ3 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
NN_QQ3.qonnectis.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
d. client's sqlnet.ora: contains ONLY:
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
e. client's listener.ora excerpt:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /space/oracle/OraHome1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DBNAME = NN)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = NN)
(SID_DESC =
(GLOBAL_DBNAME = RR)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = RR)
f. remote server's tnsnames.ora excerpt:
QQ1.QONNECTIS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = qanasta1.qonnectis.com)
(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = QQ1.qonnectis.com)
QQ1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST = qanasta1.qonnectis.com)
(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = QQ1)
QQ3.QONNECTIS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl.qonnectis.com)
g. remote server's sqlnet.ora contains only:
NAMES.DEFAULT_DOMAIN = qonnectis.com
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
h. remote server's listener.ora excerpt:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST =qanasta1.qonnectis.com)
(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = QQ1.qonnectis.com)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(SID_NAME = QQ1)
i. on Solaris client, tnsping nn_rackspace : succeeds
j. on Solaris client, sqlplus user/pass@nn_rackspace: succeeds
k. on server, Oracle server processes have names like ora_d000_QQ1.
l. on server, Oracle connected listener processes show up in ps
listing like oracleQQ1 (LOCAL=NO)
m. On server, lsnrctl status reports amongst other things
Service "QQ1.qonnectis.com" has 2 instance(s).
Instance "QQ1", status UNKNOWN, has 1 handler(s) for this service...
Instance "QQ1", status READY, has 1 handler(s) for this service...
2. Connecting to Server 10g : application does NOT connect successfully:
a. application URL
http://host_ip_address:7778/dev60cgi/if60cgi?config=rack2
b. client's formsweb.cfg excerpt:
[rack2]
pageTitle=yadayada
form=login01
userid=user/pass@nn_qq3
archive=f60all.jar, oracle_ice-4_03_1.jar
c. client's tnsnames.ora excerpt (local services not excluded):
-as above-
d. client's sqlnet.ora: contains ONLY:
-as above-
e. client's listener.ora excerpt:
-as above-
f. remote server's tnsnames.ora excerpt:
# default sid 'orcl' : for local access
orcl =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
# QQ3_Vlan : default sid 'orcl' : access over 10. private net from qq1
QQ3_VLAN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.99.99.99)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
# nn_qq3 : default sid 'orcl' : access from external sites by public
# external IP - specifically sun admin dba tool in twx
NN_QQ3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
g. remote server's sqlnet.ora contains only:
NAMES.DIRECTORY_PATH= (TNSNAMES)
NAMES.DEFAULT_DOMAIN = qonnectis.com
h. remote server's listener.ora excerpt:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(SID_NAME = orcl)
i. on Solaris client, tnsping nn_qq3 : succeeds
j. on Solaris client, sqlplus user/pass@nn_qq3: succeeds
k. on server, Oracle server processes have names like ora_d000_orcl .
l. on server, Oracle connected listener processes show up in ps
listing like oracleorcl (LOCAL=NO)
m. On server, lsnrctl status reports amongst other things
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this
service...
Service "orcl.qonnectis.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
As you can see, I have tried adding an alias for the default domain
name suffix '.qonnectis.com' in the tnsnames.ora files on the solaris
client and on the new 10g server.
Just to add to the fun, the 'new' server running Ora 10g CANNOT connect
to the old server running Ora 9:
sqlplus user/pass@nn_qq3
sqlplus user/pass@nn_qq3.qonnectis.com both fail.
While the old 9.0 server CAN connect to the new 10g one:
sqlplus user/[email protected] succeeds.
Sorry this is such a mess. TBH I find this whole area extremely
confusing.
All suggestions welcome. Unfortunately I am away on holiday next week
but will follow up any leads when I get back.
thanks!
Victor Churchill.

Hi DianeinBirmingham,
Welcome to the Apple Discussions
The Log goes further
Chat ended with error -8
Video Conference Error Report:
Video Conference Support Report:
Video Conference User Report:
Binary Images Description for "iChat":
This bit suggests the ports are not open.
Intermittent success like this And the ports not being open suggests a Modem that might be SIP aware such a Thomson-Alcatel Speedtouch device.
Can you tell us what modem you have ?
7:55 PM Friday; July 13, 2007

Similar Messages

  • Can connect on one Mac but not other Mac, PC

    I just moved and I had no problem connecting my Powerbook,iMac, and PC with my Airport Express in my last house. I have the same cable provider (Charter) and can connect my Powerbook in my new house. However, I have a iMac too with an Airport card and my girlfriend has a PC and both can't connect to the AE. They both see it but can't connect to the internet. I had no problem in my last house with any of the 3. Can anyone help? thanks

    I don't mean to hijack, but I have very similar problems. My AE is flashing amber, but my 15"PB is online no problem. My roommates both have pcs, and neither can get internet from the AE, but they can connect and authenticate the WEP. When I choose to distribute using 192... (or the other number schemes) the internet stops for everyone, including my PB and the AE assigns an ip of 192.168.1.1 to itself (when working for PB:169:254:128:58). I am in San Diego, CA using Warner (I believe just a DHCP provider, no special instructions when they installed it 3 days ago)
    Thanks for any help, and hope this helps chris too
    Scott

  • Export for web files play on one server, but not on another.

    I exported my movie from QT Pro 7.6.6 and it created all the files I need. I have the movie "sniffer"(movie that determines which version to pull up depending on device) and then the sub movies. When I go straight to the sniffer in Safari with the files on my client's server, the movie plays fine. When I do the same from my iPad or iPhone, it won't play from that server.
    If I move the exact same files to another server and go to the sniffer, the movie plays on all devices. Could there be some sort of server setting preventing them from being played on my client's server?
    If so, what specifically needs to change on the server?
    -Kirk

    Anybody? Bueller? Bueller?

  • TS1492 I can connect to the internet but not to itunes

    itunes error 11333, I can connect to the internet but not to itunes Store. Apple Support, mention update to itunes 7.5 will solve the problem, but if check for itunes updates in my system, it says that the system is pu to date

    I won't give you a lecture about how poor WEP encryption is, but are you sure that is the problem? Is it possible that your new modem (or the carrier behind it) is not providing DHCP service?

  • Airplay works for one user but not for another on the same machine

    I have the problem where airplay works for one user but not for another and both users are on the same machine.  For the user where it does not work, everything appears normal, it's just that there is no sound being transmitted.  I have tried restarting the Airport express, restarting iTunes, repairing disk permissions.  Any ideas about what can be done to resolve this?

    my /etc/group:
    root::0:root
    bin::1:root,bin,daemon
    daemon::2:root,bin,daemon
    sys::3:root,bin
    adm::4:root,daemon
    tty::5:
    disk::6:root
    lp::7:daemon
    mem::8:
    kmem::9:
    wheel::10:root,hans,ibm,gast
    ftp::11:
    mail::12:
    uucp:x:14:
    log::19:root
    locate:x:21:
    smmsp::25:
    http::33:
    games::50:
    network:x:90:
    video:x:91:
    audio::92:ibm,gast
    optical::93:hal
    floppy:x:94:hal
    storage:x:95:hal
    scanner:x:96:
    power:x:98:
    nobody::99:
    users::100:gast
    dbus:x:81:
    hans:x:1001:
    vboxusers:x:108:hans
    policykit:x:1002:
    hal:x:82:
    kvm:x:78:
    nx:x:85:nx
    avahi:x:84:
    camera:x:97:
    gdm:x:1003:
    gast:x:1004:

  • TNS error ORA-12154

    Hi all,
    One of our client is trying to connect to our database from his local pc. We are able to connect to the database fine from here.
    But when he connects from his pc via vpn it gives him this error:
    Ora-12154: TNS:could not resolve the connect identifier specified.
    I checked the path and the Oracle client is in the path on his pc. Tnsping works. Not sure what else I should check. I do not have access to his pc, I just have to troubleshoot on the phont.
    Below is his sqlnet.ora and tnsnames.ora.
    # SQLNET.ORA Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    #NAMES.DIRECTORY_PATH= (TNSNAMES)
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    alp =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = alm)(PORT = 1525))
    (CONNECT_DATA =
    (SID = alp)
    (SERVER = DEDICATED)
    Please give me your suggestions.
    Thanks.
    Edited by: user553564 on Oct 3, 2008 7:55 AM

    When you do the tnsping, does it say using tnsnames or hostname? I've noticed it can be a bit confusing when you have a host running oracle that is not in your tnsnames.ora, it will successfully tnsping, because the host has a listener running, but you can't attach because the connection string is different. For example, I can tnsping a host named POLARIS, which is not in my tnsnames.ora, but it is in DNS and is running XE. D'Oh!
    You might consider trying a service_name that matches your lsnrctl status output, rather than SID in the tnsnames.ora. It's also possible the user has multiple tnsnames.ora (especially if several things have been installed), and is picking up the wrong one. Try changing things the connect name to something just plain weird and see if it makes a difference. See if there is TWO_TASK in your environment, too.
    Other reasons I'm going bald: case sensitivity of the SID; having two nearly identical entries in the tnsnames.ora and not scrolling down while editing; sqlnet.ora strangenesses; and I've "seen" (in earlier versions, anyways), invisible characters causing problems.

  • TNS Error : ORA-12154 unsing oo4o with VB

    In VB6, using oo4o(Oracle InProc Server),
    whin I run debuging mode with VB6 App, result is successfull.
    But, compile this application, and execute EXE module,
    error occur 'Cannot resolve TNS Name (ORA-12154)'.

    Just make sure that the executable is not started from a directory path containing brackets (e.g. "C:\Program Files (x86)\MyApp\myapp.exe") but copy that executable to a directory path without brackets. The brackets in one of the directies in the path may lead to the Oracle exception "ORA-12154: TNS :could not resolve service name".

  • Can connect to wireless router but not to the internet

    Please Help, I have a WRT150N and I can connect to my wireless router by it will not connect to the internet from there, even though the internet, wireless, and security lights are lit up. If I plug a cord into the back of the router and then into my computer, I can connect to the internet, but once I disconnect the cable, I can still find and connect to my wireless router, but it will not connect to the internet from here. Under access it says "Local Only", I have the security type set to "Shared" under the security properties, and set to "WEP" with WEP key #1 entered. I have spent about 4 hours working on this problem now and could really use some help. Thanks.

    Type ipconfig /all in command prompt(cmd.exe) to see whether it displays valid and correct IP, netmask, gateway and DNS info. If not, take a look on these cannot connect to wireless network problem and using ping to troubleshoot network problem articles to get more ideas. Hope it helps..

  • Oracle online in one node but not on another

    Hi all,
    I have Oracle 9i running in a 2 node windows 2003 cluster. When I try to move oracle from node 2 to node 1 it fails with ora-01017 invalid username or password and come online on node 2.
    I noticed in the event log that in node1 it try to put the database online with user sys and privilege none, but in node 2 the event is with user sys and privilege sysdba.
    Does anyone have any suggestion on what is the problem?
    Thanks,

    Let me try to explain better.
    I opened Windows Cluster Administration and moved the Oracle group to node 1. The group came offline and windows tried to bring it online on node 1 where the error happens and after 3 fails it returns online to node 2.
    I can't say it better because I'm still learning about this.
    I can't give you more information right now because I'm at home and can't access the server but tommorow i'll post the exact error and the software versions to see if it helps.
    Thanks for your time
    DELLS1 is node 1 and DELLS2 is node 2 of cluster
    Oracle is currently running in DELLS2 and this is what happen whe I try to move it to DELLS1
    Database Version
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE     9.2.0.6.0     Production
    TNS for 32-bit Windows: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    Event Log
    OracleMSCSServices - Oracle Database resource DLL is about to bring PSI online.
    Oracle.psi - Audit trail: ACTION : 'CONNECT' DATABASE USER: 'SYS' PRIVILEGE : NONE CLIENT USER: PSICLU CLIENT TERMINAL: DELLS1 STATUS: 1017 .
    OracleMSCSServices - ORA-01017: invalid username/password; logon denied
    Error bringing resource PSI online.
    Then after 3 attempts
    OracleMSCSServices - Oracle Database resource DLL is about to bring PSI online.
    Oracle.psi - Audit trail: ACTION : 'CONNECT' DATABASE USER: 'SYS' PRIVILEGE : SYSDBA CLIENT USER: PSICLU CLIENT TERMINAL: DELLS2 STATUS: 0 .
    Oracle.psi - Audit trail: ACTION : 'CONNECT' DATABASE USER: 'SYS' PRIVILEGE : SYSDBA CLIENT USER: PSICLU CLIENT TERMINAL: DELLS2 STATUS: 0 .
    Oracle.psi - Audit trail: ACTION : 'STARTUP' DATABASE USER: 'SYS' PRIVILEGE : SYSDBA CLIENT USER: PSICLU CLIENT TERMINAL: Not Available STATUS: 0 .
    Edited by: Reise on Mar 26, 2009 9:29 AM
    Added info on oracle versions and event log

  • NaN on one server but not another

    Anyone heard of a situation where dynamic text (set using
    XML) will show up fine on one server, but display "NaN" on another
    (in this case, a Windows server, with the Flash Player code on an
    .asp page)?
    If it helps, the SWF is using AS2. And the XML data is
    actually being cast as a Number before being passed/set to a global
    variable.

    Does the CFGRID load on the page at all? If not it is either
    a firewall issue or a permissions issues on the folder which
    contains the .jar files for the CFGRID. Something like:
    /CFIDE/classes/cfapplets.jar
    I have had similar permissions issues where the web page did
    not have proper access to the .jar files.

  • Call customer-subscreen causes dump in one box but not in another box

    Hi guys,
    Just wondering if anyone here encountered this situation before and knows of any explanation or solution.
    There's two development boxes with a program that contains the following code/statement:
    call customer-subscreen SSCR903 including 'SAPLXXXXXX' '2000'
    SAPLXXXXXX happens to not exist in both boxes. In the first box, when execution reaches that statement above it will generate a dump saying that 'SAPLXXXXXX doesn't exist'. But in the second box, when execution reaches that statement above it won't generate a dump and execution continues to the next statement in the program.
    I checked SAP documentation on the CALL CUSTOMER-SUBSCREEN keywords, but I didn't find anything that would explain why it dumps in the first box, but not in the second one.
    Anyone encountered the same situation before? Any explanation why it's dumping in one box, but not in the other box?
    Thanks in advance for any help.
    Kind regards,
    Carl

    Welcome to sdn.
    Abap doesn't check existence of the dynpro, it only check activation of the exit in CMOD, that may explain the, difference.
    Regards,
    Raymond

  • ORA-12154:Can connect oracle in CGI!

    I use such code to connect oracle , in shell
    its work fine. but in Apache run as a CGI,
    ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
    olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
    anything others i need do ?

    I use such code to connect oracle , in shell
    its work fine. but in Apache run as a CGI,
    ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
    olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
    anything others i need do ?

  • Weird - can connect to both instances - but not to main SID

    As a newbie to RAC I got stuck...
    after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2,
    but not to QRC - here sqlplus tells me "connected to an idle instance"
    What did I mix up??
    rac11a ~ RDBMS > srvctl start database -d QRC -o open
    PRCR-1004 : Resource ora.qrc.db is already running
    rac11a ~ RDBMS >
    [root@rac11a ~]# crsctl status res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Local Resources
    ora.LISTENER.lsnr
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    ora.asm
    OFFLINE OFFLINE rac11a
    OFFLINE OFFLINE rac11b
    ora.eons
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    ora.gsd
    OFFLINE OFFLINE rac11a
    OFFLINE OFFLINE rac11b
    ora.net1.network
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    ora.ons
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    1 ONLINE ONLINE rac11b
    ora.LISTENER_SCAN2.lsnr
    1 ONLINE ONLINE rac11a
    ora.LISTENER_SCAN3.lsnr
    1 ONLINE ONLINE rac11a
    ora.oc4j
    1 OFFLINE OFFLINE
    ora.qrc.db
    1 ONLINE ONLINE rac11a Open
    2 ONLINE ONLINE rac11b Open
    ora.rac11a.vip
    1 ONLINE ONLINE rac11a
    ora.rac11b.vip
    1 ONLINE ONLINE rac11b
    ora.scan1.vip
    1 ONLINE ONLINE rac11b
    ora.scan2.vip
    1 ONLINE ONLINE rac11a
    ora.scan3.vip
    1 ONLINE ONLINE rac11a
    [root@rac11a ~]#
    rac11a ~ RDBMS > tnsping qrc
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2012 09:20:54
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = qrcscan.ddnett.de)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = QRC.ditanett)))
    OK (40 msec)
    rac11a ~ RDBMS > env | grep ORA
    dbms_type=ORA
    ORACLE_SID=QRC
    ORACLE_BASE=/oracle/QRC
    ORACLE_HOME=/oracle/QRC/11202
    rac11a ~ RDBMS >
    rac11a ~ RDBMS > sqlplus " / as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 2 09:21:04 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    rac11a ~ RDBMS > lsnrctl status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 02-FEB-2012 08:23:25
    Uptime 0 days 1 hr. 16 min. 21 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/LOCAL/GRID/11202/network/admin/listener.ora
    Listener Log File /oracle/LOCAL/BASE/diag/tnslsnr/rac11a/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.141)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.241)(PORT=1521)))
    Services Summary...
    Service "QRC.ditanett" has 1 instance(s).
    Instance "QRC1", status READY, has 1 handler(s) for this service...
    Service "QRCXDB.ditanett" has 1 instance(s).
    Instance "QRC1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    rac11a ~ RDBMS >
    rac11b ~ RDBMS > lsnrctl status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 02-FEB-2012 08:24:02
    Uptime 0 days 1 hr. 17 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/LOCAL/GRID/11202/network/admin/listener.ora
    Listener Log File /oracle/LOCAL/BASE/diag/tnslsnr/rac11b/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.142)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.242)(PORT=1521)))
    Services Summary...
    Service "QRC.ditanett" has 1 instance(s).
    Instance "QRC2", status READY, has 1 handler(s) for this service...
    Service "QRCXDB.ditanett" has 1 instance(s).
    Instance "QRC2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    rac11b ~ RDBMS >

    Hi,
    after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2,
    rac11a $ env | grep ORA
    dbms_type=ORA
    ORACLE_SID=QRC
    ORACLE_BASE=/oracle/QRC
    ORACLE_HOME=/oracle/QRC/11202
    rac11a ~ RDBMS >
    rac11a $ sqlplus " / as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 2 09:21:04 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    The Oracle System ID (SID) is used to uniquely identify a particular database on a system. For this reason, one cannot have more than one database with the same SID on a host.
    When using RAC, all instances belonging to the same database must have unique SID's even using different hosts.
    So, you must set ORACLE_SID to QRC1 where Instance 1 is running or QRC2 where Instance 2 is running.
    To know where instance number is running you can get this info following steps below:
    $GRID_HOME/bin/olsnodes -n
    lnxora01        1
    lnxora02        2In example above all instance created by DBCA on lnxora01 will have prefix 1 (e.g db QRC will have QRC1) and on lnxora02 will have prefix 2. (it's not a rule, because I can set manually the number of instance as I wish)
    Or exists another way to find it: (on local node)
    ps -ef |grep pmon
    ora_pmon_QRC1 So, to connect just set right ORACLE_SID
    eg:
    export ORACLE_SID=QRC1
    sqlplus / as sysdbaRegards,
    Levi Pereira

  • Smb error -36 on one server but not another (vpn)

    Here goes:
    I'm connecting using the built-in Apple VPN client to work.
    Once connected, I try to mount two Windows servers using the finder:
    * The first one asks my username/password and mounts no problem.
    * The 2nd doesn't seem to ask for username/password, and just gives me the dreaded "error -36"
    The console says:
    Unknown host
    mount_smbfs: can't get server address: syserr = Network is down
    mount_smbfs: can't get server address 'XXXXXXXXXXX'
    But the network is up (I know, since I am moving files from the other server).
    When connecting from inside the office (not via VPN) all is well.
    What gives?

    Here goes:
    I'm connecting using the built-in Apple VPN client to work.
    Once connected, I try to mount two Windows servers using the finder:
    * The first one asks my username/password and mounts no problem.
    * The 2nd doesn't seem to ask for username/password, and just gives me the dreaded "error -36"
    The console says:
    Unknown host
    mount_smbfs: can't get server address: syserr = Network is down
    mount_smbfs: can't get server address 'XXXXXXXXXXX'
    But the network is up (I know, since I am moving files from the other server).
    When connecting from inside the office (not via VPN) all is well.
    What gives?

  • IPhone 4 & iPod Touch can connect to Time Capsule, but not Internet

    My family and I have an iPhone 4, iPhone 3G & iPod Touch. Our WiFi comes from a Time Capsule. My Macbook Pro can connect to the WiFi and get online, but the iPod & iPhones can only connect to the Wifi, not actually get online.
    We some issues with our ISP last week, which took some time and some messing with the settings on Time Capsule to resolve. At one point, Airport Utility asked me if I'd like to switch to bridge mode...I'm not sure if that ever happened or not, to be honest, and don't know how to see if I'm in bridge mode or not (or even what that means, really).
    With my iPhone 4, I can successfully connect to the wireless network, but the icon in the top left of the screen stays on 3G (unless my service drops in my house, in which case it shows the WiFi icon but won't let me connect via Safari or any other apps).
    With the iPhone 3G, it does connect, but doesn't ever show the WiFi icon.
    With the iPod, it says it connects, but doesn't ever show the WiFi icon. I get the error "Safari cannot open the page. The error was: Operation coudl not be completed. Invalid argument."
    Does anyone have any idea what I could do to resolve this?

    I fixed this on my own. How did I do it?
    1. Reset Time Capsule to factory settings (via Airport Utility)
    2. Renamed my WiFi network
    3. Restarted my router
    Everything's fixed. I've seen this problem all over the Web but no solutions, so hopefully this will help someone.

Maybe you are looking for