Not able to connect remotely via TNS entry

Hello,
I need to do clone, so wanted to have remote connectivity to my test database. I brought the test database in nomount. Put the right entries in tnsnames.ora file of the same, yet when i login directly it shows it is in NOMOUNT but when remotely it shows connected to IDLE instance.
Please help me out.
Here is some excerpts:
==============
oracle@x523:/oracle/app/oracle/product/10.2.0/db_3/network/admin> sqlplus sys/here2go@TRCN523 as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 9 03:17:59 2012
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
=======================
oracle@x523:/oracle/app/oracle/product/10.2.0/db_3/network/admin> sqlplus "/as sysdba"
INSTANCE_NAME STATUS
TRCN523 STARTED
Here is my TNS entry:
==============
TRCN =
(DESCRIPTION =
(ENABLE = broken)
(FAILOVER = ON)
(LOAD_BALANCE = ON)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092))
(CONNECT_DATA =
# (SERVICE_NAME = TRCN.coat.com)
(SERVICE_NAME = TRCN523)
(FAILOVER_MODE = (TYPE = NONE))
TRCN523 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092))
(CONNECT_DATA =
(SERVER = DEDICATED)
# (SERVICE_NAME = TRCN.coat.com)
(SERVICE_NAME = TRCN523)
(INSTANCE_NAME = TRCN523)
NET_TRCN_X523 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092))
============
Listener:
=====
SID_LIST_NET_TRCN_X523 =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_3)
(SERVICE_NAME = TRCN.coat.com)
(SID_NAME = TRCN523)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_3)
(PROGRAM = extproc)
==========================================
oracle@x523:/oracle/app/oracle/product/10.2.0/db_3/network/admin> tnsping TRCN523
TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 09-AUG-2012 03:21:09
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = x523.coat.com)(PORT = 63092)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = TRCN523) (INSTANCE_NAME = TRCN523)))
OK (0 msec)

Handle:      784786
Status Level:      Newbie
Registered:      Jul 27, 2010
Total Posts:      211
Total Questions:      81 (65 unresolved)
Name      Learner
Also Close your thread please

Similar Messages

  • Not able to connect REMOTE via Wi-fi on your PC ? I figured out why

    I have read endless forum posts and spoken to Apple techs who could not help me at all on this. I felt like i was talking to snake oil salesmen at one point with the outlandish nonsense they were telling me.
    Anyhow i have a pc and use Apple Remote to control itunes and for some reason every now and then, usually around the time of software updates remote would just stop working for no reason.
    I try to connect to library and punch in the four number code but it wouldnt connect. Time and time again i try and nothing. Itunes is seeing the phone but wont connect the remote to it.
    I just realized about ten minutes ago why. Blutooth.
    I had turned on my Blutooth headset last night while in my car and when i got home had remote stop working. It didnt dawn on me til this morning that "hey the blutooth icon is on" and once i turned it off the **** thing connected almost instantly.
    I have read so many posts from people that have had this problem and spoken for hours literally to tech support to no avail and this just makes me happy as **** to have figured this out.
    Sorry if someone has already posted this and im just repeated but im just so freaking happy i didnt bother to look first hoping that i might be able to save someone some headaches like ive had.
    Summary:
    -Remote doesnt work and you have a PC
    -Turn off Blutooth and it should work again
    -Now smile and a take a deep cleansing breath "

    Handle:      784786
    Status Level:      Newbie
    Registered:      Jul 27, 2010
    Total Posts:      211
    Total Questions:      81 (65 unresolved)
    Name      Learner
    Also Close your thread please

  • Not able to connect remote oracle database over VPN

    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.

    6b6c669e-6baa-45c4-a6dc-444aef2d5e7a wrote:
    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.
    First, this is a forum of volunteers.  There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For *them* to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.
    You don't have a support contract?  Now you know the exact dollar figure that your company places on the data.
    That said, you need to understand a few things about your specific problem,
    First, port 1521 is only used by the listener to accept a connection request.  Once it gets that request (and finds that it is for a service (sid) that it knows about, it will fork a server process and tell the requesting client that it can communicate with that server process over some other port .. a randomly chosen port number in the "high" range.  It could be your vpn is blocking that other port, whereas your internal firewall is not.
    But this is just an educated guess since I cannot find "can not connect remote oracle database over VPN" in any error message manual. If you had mentioned the VPN along with an actual oracle error message we could be much more precise in our diagnoses and recommendations.
    ---- edit 22 Sep
    It occurred to me that I just assumed you were using the same client machine in both cases ... a laptop that you use both at work (local network) and home (vpn).  If that assumption is false, there are probably problems with your tns setup on the home (vpn) machine.
    But again, it would be much easier to help if you gave us an actual error message.

  • Red Hat 9 - Oracle 9.2 - Not able to connect remote db

    I can tnsping remote dbs but I can't use sqlplus. I do not have control of the listener.ora and can't get a hold of it. But I have no problems connecting with windows with same tns names file that I have on linux. Also when I look in sqlnet.log I see where it is builds a tnsnames connection that points to my local machince. So I don't think sqlplus is picking up my tnsnames file even though I have it in $ORACLE_HOME/network/admin. But tnsping picks it up. Any help would be appreciated.

    Turns out my problem was I had a windows version of the tnsnames.ora file which wasn't being properly read by linux. Once I got a correctly encoded file I was ok.

  • Connector BPM Engine is not able to connect REMOTE DATABASE

    Hi All,
    We are facing the following issue while invoking any operation in BPM Queue.
    Can any one have any idea why we are facing this issue.
    An exception occurred while executing a transaction. Details:
    Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Detail:Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Caused by: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
    Runtime exception Shell.
    Apparent cause :
         Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Detail:Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Original stack trace follows ...
    fuego.connector.ConnectorException: Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Detail:Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
         at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:95)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:324)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
         at fuego.connector.JDBCHelper.getConnection(JDBCHelper.java:41)
         at fuego.server.service.EngineConnectorService.getConnection(EngineConnectorService.java:593)
         at fuego.server.service.EngineConnectorService.getEngineConnection(EngineConnectorService.java:307)
         at fuego.transaction.TransactionAction.getEngineHandle(TransactionAction.java:179)
         at fuego.server.execution.EngineExecutionContext.getEngineHandle(EngineExecutionContext.java:447)
         at fuego.server.AbstractInstanceService.create(AbstractInstanceService.java:301)
         at fuego.server.execution.microactivity.BeginMicroActivity.createInstance(BeginMicroActivity.java:91)
         at fuego.server.AbstractProcessBean$51.execute(AbstractProcessBean.java:3662)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.internalCreateInstance(AbstractProcessBean.java:4320)
         at fuego.server.AbstractProcessBean._doCreateInstance(AbstractProcessBean.java:3670)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:667)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:746)
         at fuego.components.Process.createInstance(Process.java:106)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:392)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:503)
         at xxx.JMSListener.Default_1_0.Instance.CIL_jmsReceiver(Instance.xcdl:75)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1091)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1295)
         at fuego.server.execution.GlobalAutomaticJMSListeningHelper.executeJmsListener(GlobalAutomaticJMSListeningHelper.java:94)
         at fuego.server.AbstractProcessBean$43.execute(AbstractProcessBean.java:3026)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runGlobalJmsActivity(AbstractProcessBean.java:3032)
         at fuego.server.execution.GlobalJMSExecutor$1.run(GlobalJMSExecutor.java:126)
         at fuego.ejbengine.EJBProcessBean.executeTask(EJBProcessBean.java:149)
         at fuego.server.execution.GlobalJMSExecutor.execute(GlobalJMSExecutor.java:107)
         at fuego.ejbengine.EJBGlobalJMSExecutor.access$400(EJBGlobalJMSExecutor.java:43)
         at fuego.ejbengine.EJBGlobalJMSExecutor$JMSExecutorWorker.run(EJBGlobalJMSExecutor.java:216)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
         at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
         at weblogic.security.service.IdentityUtility.authenticatedSubjectToIdentity(IdentityUtility.java:30)
         at weblogic.security.service.RoleManager.getRoles(RoleManager.java:183)
         at weblogic.security.service.AuthorizationManager.isAccessAllowed(AuthorizationManager.java:375)
         at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:442)
         at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:116)
         at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:107)
         at fuego.connector.impl.RemoteJDBCConnector.createConnection(RemoteJDBCConnector.java:246)
         at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:109)
         at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:80)
         at fuego.connector.impl.RemoteJDBCConnector.getResource(RemoteJDBCConnector.java:158)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:319)
         ... 45 more
    Thanks,
    Abhishek

    Abhishek,
    Please cross-post in BPM forum -
    Business Process Management Suite
    Either it is LDAP issue or cross-domain communication issue. In the later case, you need to enable trust between the domains (section "Enabling Trust Between WebLogic Server Domains")-
    http://docs.oracle.com/cd/E23943_01/web.1111/e13707/domain.htm#i1176046
    Regards,
    Anuj

  • I am not able to connect with another ipod via bluetooth can u pls help me

    i am not able to connect with another ipod via bluetooth can u pls help me

    Are yo trying to pair via an app that supports BT pairing?  If you are I would try:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    -Resetting network settings on the iPod: Settings>General>Reset>Reset Network Settings

  • My iphone is not charging or showing in my computer. but its getting charged via wall apple charger.. Not able to connect with itunes.. please help.... :(

    My iphone is not charging or showing in my computer. but its getting charged via wall apple charger.. Not able to connect with itunes.. please help....

    No it doesn't. Sometimes it make a sound that it should when connecting but that is it. Never actually charges or syncs. And it is a brand new cord.

  • Why i am not able to connect my apple mobile 4s to apple mobile 5 via bluetooth ?

    Dear sir
    Pls advise why i am not able to connect my apple mobile 4S to apple mobile 5 via bluetooth.
    Or pls advise how i can tranfer music & movies from one apple phone to other.
    Regards
    Pradeep

    Hello shreejith786
    The iPhone does not transfer music and videos via Bluetooth. To move content from one iPhone to another, you will need iTunes or iCloud handle that. If you have purchased content from the iTunes Store, you can download them directly. The articles below will assist with getting your media to your other iPhone.
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Remote User not able to Connect Completely

    Hi,
    not able to connect a remote user to our network. All other remote users are able to connect so I know the tunnel is up. When this user tries to connect using the cisco vpn client, I see their traffic coming through with the sh crytpo ipsec sa peer peer address. I can see their peer address and I can see their dhcp local allocated address - allocated from the firewall, and I can ping their peer address but I can't ping the dhcp allocated address.
    Any ideas?
    Thanks, Pat.

    Email from user stating screen message:
    tried to sign in again - VPN Client connects fine, but Fusion states "not connected to the network", even though VPN connected
    Crypto map tag: OUTSIDE_dyn_map, seq num: 40, local addr: XX.XX.XX.XX
          local ident (addr/mask/prot/port): (0.0.0.0/0.0.0.0/0/0)
          remote ident (addr/mask/prot/port): (10.10.XX.XX/255.255.255.255/0/0)
          current_peer: 74.47.XX.XX, username: XXXXXXX
          dynamic allocated peer ip: 10.10.XX.XX
          #pkts encaps: 548, #pkts encrypt: 548, #pkts digest: 548
          #pkts decaps: 624, #pkts decrypt: 624, #pkts verify: 624
          #pkts compressed: 0, #pkts decompressed: 0
          #pkts not compressed: 548, #pkts comp failed: 0, #pkts decomp failed: 0
          #pre-frag successes: 0, #pre-frag failures: 0, #fragments created: 0
          #PMTUs sent: 0, #PMTUs rcvd: 0, #decapsulated frgs needing reassembly: 0
          #pkts no sa (send): 0, #pkts invalid sa (rcv): 0
          #pkts encaps failed (send): 0, #pkts decaps failed (rcv): 0
          #pkts invalid prot (rcv): 0, #pkts verify failed: 0
          #pkts invalid identity (rcv): 0, #pkts invalid len (rcv): 0
          #pkts invalid pad (rcv): 0,
          #pkts invalid ip version (rcv): 0,
          #pkts replay rollover (send): 0, #pkts replay rollover (rcv): 0
          #pkts replay failed (rcv): 0
          #pkts min mtu frag failed (send): 0, #pkts bad frag offset (rcv): 0
          #pkts internal err (send): 0, #pkts internal err (rcv): 0
          local crypto endpt.: XX.XX.XX.XX, remote crypto endpt.: 74.47.XX.XX
          path mtu 1500, ipsec overhead 58, media mtu 1500
          current outbound spi: F9F18F20
          current inbound spi : B27E9C25
        inbound esp sas:
          spi: 0xB27E9C25 (2994641957)
             transform: esp-3des esp-sha-hmac no compression
             in use settings ={RA, Tunnel, }
             slot: 0, conn_id: 166191104, crypto-map: OUTSIDE_dyn_map
             sa timing: remaining key lifetime (sec): 2902
             IV size: 8 bytes
             replay detection support: Y
             Anti replay bitmap:
              0x1FFFFFFF 0xFFFFFFFD
        outbound esp sas:
          spi: 0xF9F18F20 (4193357600)
             transform: esp-3des esp-sha-hmac no compression
             in use settings ={RA, Tunnel, }
             slot: 0, conn_id: 166191104, crypto-map: OUTSIDE_dyn_map
             sa timing: remaining key lifetime (sec): 2902
             IV size: 8 bytes
             replay detection support: Y
             Anti replay bitmap:
              0x00000000 0x00000001
    Thanks, Pat.

  • Not able to connect to any phone via bluetooth

    Hi
    I have tried with sevral phones but not able to pair with any phone except apple itself via bluetooth. After verification of passcode, it shows processing for sometime and then message appears "not able to connect" or so!
    Please suggest.

    No.  The hardware overrules the software.
    If you have something plugging into the headphone jack, that will override the Bluetooth.

  • Not able to connect database remotely

    Hi All,
    I have an issue with remote connectivity to database EAIDEV.
    Application Team is not able to connect to EAIDEV database as jcaps_user.
    Here is the connection string :
    Server Name : 10.1.32.66
    Port : 1622
    User id : jcaps_user
    Coud any one plz help me on this ?
    Thanks a lot.

    tvenkatesh07 wrote:
    Hi All,
    I have an issue with remote connectivity to database EAIDEV.
    Application Team is not able to connect to EAIDEV database as jcaps_user.
    Here is the connection string :
    Server Name : 10.1.32.66
    Port : 1622
    User id : jcaps_userWell, what's the error that they are facing?
    Aman....
    >
    Coud any one plz help me on this ?
    Thanks a lot.

  • Not able to connect 10g db via dev6i

    Hi,
    I am not able to connect 10g db via developer 6i. I am getting below error.
    Oracle SQL*PLUS has encountered a problem and needs to close. We are sorry for the inconvenience.
    Thanks in advance..

    Have you tried the use of a download manager such as getright (getright.com, free)? Give that a try...
    Regards, OTN

  • Just hooked up new apple tv for first time. able to connect to internet (netflix, youtube) but not able to connect to my itunes account via home sharing. apple tv tells me to make sure computer's itunes has home-sharing enabled, which it does. any advice?

    Just hooked up new apple tv for first time. able to connect to internet (netflix, youtube) but not able to connect to my itunes account via home sharing. apple tv tells me to make sure computer's itunes has home-sharing enabled, which it does. any advice?

    Have done both suggestions, still not working. Could it have somehting to do with my local network? I am using a wireless Internet provided by my apartment building so not sure if apple tv and my computer are not technically on the same "local network?"
    apple tv and main computer are connecting to Internet fine. Just cannot see my itunes on apple tv.
    any other advice? My itunes is turned on to home sharing. i entered the same apple itunes account into aple tv. but appletv keeps saying my computer's home sharing is not turned on...but it is.

  • Not able to connect linux database instance in another machine

    Hi,
    I have installed oracle 10g database server in Linux, and i created one database instance. and i have added tns entry and listener entry.
    I am to connect the database on that machine. but not in different machine. i am able to access/ping linux machine in another machine also.
    while creating tns entry for linux database instance in another machine using "netca" i am getting this error.
    Connecting...ORA-12560: TNS:protocol adapter error
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Click Back to review the information provided for net service name, or Change Login to change username.
    I verified listener and tns entry ( i think for this listener configuration is enough) also. and database is up.
    If anybody knows why i am not able to connect linux database in another machine. is there any network configurations other than listener configuration.
    Thanks in advance.

    yes i tried to connect with ORACLE_SID, its successful. and using tnsname like you said.
    Instead of using netca to create the tnsnames.ora entry on the second server, copy the tnsnames.ora entry from the DB server. Then use tnsping to test connection :-i done above but not able to ping the tns name, i am getting this error.
    TNS-12560: TNS:protocol adapter error
    ------------------------------------------------

  • Not able to connect to oracle directly

    os : AIX ch5dlfp089 1 6 000B4A22D900
    oracle : 11.2.0.1.0
    Issue : created oracle db using dbca (gui). Db created successfully
    When I checked recently using putty to check the db health. I am able to see smon and orcl is running well using
    ps -eaf | grep orcl.
    How ever when I am trying to connect the db using sqlplus prompt. It is showing idle instance.
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 18 00:52:08 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> exit
    oratab entry shows ok
    orcl:/home/oracle/app/oracle/product/11.2.0/dbhome_1:
    CHECKED BASIC ENV. variables values
    $ echo $ORACLE_SID
    orcl
    $ echo $ORACLE_HOME
    /home/oracle/app/oracle/product/11.2.0/dbhome_1/
    profile shows as follows
    $ cat .profile
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
    export PATH
    if [ -s "$MAIL" ] # This is at Shell startup. In normal
    then echo "$MAILMSG" # operation, the Shell checks
    fi # periodically.
    ORACLE_SID=orcl
    export ORACLE_SID
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1/
    export ORACLE_HOME
    LIBPATH=$ORACLE_HOME/lib:$LIBPATH
    export LIBPATH
    PATH=$ORACLE_HOME/bin:$PATH
    export PATH
    However I am able to connect to db using tns
    $ sqlplus "sys/Oracle123@orcl as sysdba"
    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> EXIT
    Question : what could be the reason I am not able to connect the db directly ? without tns ?
    Any mistake could have happend or any restriction could have set for this access ?

    I already tested that ORCL
    $ echo $ORACLE_SID
    orcl
    $ export ORACLE_SID=ORCL
    $ echo $ORACLE_SID
    ORCL
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 18 01:08:03 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    LISTNER
    $ lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 18-OCT-2010 01:09:00
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    Start Date 14-OCT-2010 00:14:39
    Uptime 4 days 0 hr. 54 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/ch5dlfp089/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ch5dlfp089.in.ibm.com)(PORT=1521)))
    Services Summary...
    Service "orcl.in.ibm.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.in.ibm.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $
    TNS SHOWS
    $ tnsping orcl
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 18-OCT-2010 01:09:51
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /home/oracle/app/oracle/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 = ch5dlfp089.in.ibm.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.in.ibm.com)))
    OK (30 msec)
    $
    TNSNAMES ENTRY
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ch5dlfp089.in.ibm.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.in.ibm.com)
    )

Maybe you are looking for