Tnsping ok, but sqlplus can't connect ora-12154

Hello All, I have installed on my linux the 10.1.0.3 oracle client and I can do tnsping to my tnsnames.ora databases but I can't connect with sqlplus... I have an error: ora-12154
I have readed metalink documentation and I think everything is ok, but still can't connect... :( Can anybody help me please?
Here is some extra data:
-My env vars are:
ORACLE_HOME=/home/j0nuntu/OraHome_1
TNS_ADMIN=/home/j0nuntu/OraHome_1/network/admin
TNSNAMES=/home/j0nuntu/OraHome_1/network/admin
-My tnsnames.ora:
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.53)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TEST)
ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.249)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORACLE)
As I said, tnsping to test or oracle is ok... tnsnames.ora is in the correct path and there it has 775 perms on it. What can be happening?
Thanks in advance.

Also, make sure it is using the correct tnsnames.ora file.
Do you have multiple copies of this file in different directories?
post the contents of your sqlnet.ora file as well.

Similar Messages

  • TNSPING works but sqlplus can't connect

    Oracle works fine on RedHat 5.2 however I cannot connect from a
    Win95 Client. Connecting to Oracle/NT works fine. TNSPING to
    Oracle/Linux works fine. Telnet,Ftp etc. to Linux works fine as
    well.
    I don't get an error message but sqlplus freezes completely.
    Any help would be appreciated.
    TIA
    +chh
    null

    Please consider that tnsping is only an echo requester for the
    listener daemon, not for the database as well !
    Should try the following on linux:
    "lsnrctl status "
    Which services(ORACLE_SID's) are supported by the listener ?
    Do they map to the unique identifier (ORACLE_SID) of your
    instance ? (ps -ax |grep ora)
    If they don't map change your listener.ora and reload your
    daemon. (lsnrctl stop...lsnrctl start)
    Regards
    Mathias
    Christian Habich (guest) wrote:
    : Oracle works fine on RedHat 5.2 however I cannot connect from a
    : Win95 Client. Connecting to Oracle/NT works fine. TNSPING to
    : Oracle/Linux works fine. Telnet,Ftp etc. to Linux works fine as
    : well.
    : I don't get an error message but sqlplus freezes completely.
    : Any help would be appreciated.
    : TIA
    : +chh
    null

  • Tnsping returns ok but sqlplus can not connect

    Hello List,
    this strange behavior is happening on a Windows Server 2003 Standard Edition running an Oracle 9iR2 (9.2.0.5) version. The name of the instance (quality9) is also the name of the tns string. When it is issued a tnsping quality9, it returns ok:
    C:\Documents and Settings\Administrador.BTRS0041>tnsping quality9
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.5.0 - Production on 28-AGO-20
    06 14:23:43
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Arquivos de parÔmetros usados:
    Usado o adaptador TNSNAMES para resolver o apelido
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = btrs0041)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = QUALITY9)))
    OK (20 ms)
    Now, when it is issued an sqlplus user/pass@quality9, it returns an error:
    C:\Documents and Settings\Administrador.BTRS0041>sqlplus system/XXXXXXX@quality9
    SQL*Plus: Release 9.2.0.5.0 - Production on Seg Ago 28 14:34:48 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener nÒo p¶de resolver o SERVICE NAME fornecido no descritor
    de conexÒo
    Informe o nome do usußrio:
    For other client applications as dba studio, the same happens. The file sqlnet.ora was moved to sqlnet.ora.bk in order not to be used but it did not help. Also commenting its unique parameter, SQLNET.AUTHENTICATION_SERVICES = (NTS), did not help. Tried, as a third workaround, create a regedit value USE_SHARED_SOCKETS=TRUE but again the same.
    Can you help me? Thanks in advance. Mauricio.

    Tnsping does not tell you if the service name given in the tns entry in the tnsnames.ora file is correct or not. Make sure that the entry in tnsnames.ora file contains the correct value for service name.
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    Cause: The service name specified in the connect descriptor is incorrect, or the database service is not registered with the listener.
    Action: Perform these steps:
    Check to make sure the SERVICE_NAME specified in the connect descriptor is correct.
    Ensure that the database instance is running. If the instance not running, start it so that it can register with the listener. You can use the Listener Control utility SERVICES command to see what services are currently registered with the listener.

  • HT3819 I can use remote on my iPhone to connect with my iTunes library, but i can't connect to another computer using home sharing to access apple tv.  I have used the same access ID and password that is used for the apple tv.

    I can use the Remote app on my iphone to connect with my itunes library on my computer, but I can't connect to the Apple TV using home sharing with another computer in the house.  I am using the same ID and password that the apple tv uses to connect with the other computer.  Also how do I check what version of IOS that my iphone is using?

    Version:
    iOS Settings>General About (or it'll say when you hook it up to iTunes)
    Are all the devices on the same physical network?  I think you're saying all are set up using the same home sharing credentials.
    If you've not done so restart all devices and your router.
    If you can get any of the devices connected by ethernet to reduce the wifi burden that may help but to be honest I would not expect simply beoing on wifi to prevent devices/computers appearing in the list.
    Does the other computer have any firewall or port blocking software running?

  • I have a MacBook Pro.  My mac can detect wifi.  But will not connect. I did get connected vis TCP/IP settings but I can't connect to any wifi anywhere.  Network diagnostic has a green light for wi-fi and wi-fi settings.  Red light for the rest.

    I have a MacBook Pro.  My mac can detect wifi.  But will not connect anywhere. I did get connected via TCP/IP settings but I can't connect to any wifi anywhere.  Network diagnostic has a green light for wi-fi and wi-fi settings.  Red light for the rest. (Network settings, ISP, Internet and server.)

    Hello NotAppleSavy,
    Thanks for the question. After reviewing your post, it sounds like the computer wont connect to networks. I see you have used network diagnostic. I would recommend that you read this article, there are a lot of other things you can do in this article that may be able to help you resolve or isolate the issue.
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Alright, so my ipod touch stopped working, but I can still connect it to itunes, but my friend gave me his old nano. I was wondering how I could get my more updated songs from my ipod touch onto the shuffle. My laptop crashed whish had all my new music

    Alright, so my ipod touch stopped working, but I can still connect it to itunes, but my friend gave me his old nano. I was wondering how I could get my more updated songs from my ipod touch onto th nano. My laptop crashed whitch had all my new music, and im afraid if I sync my Ipod touch to the desktop with all my old songs, ill lose all my newer ones which I dont want to happen because I want them on my nano. Im sorry for the confusing topic im just so lost.

    All you have to do is connect your new iPod to the computer that has the library for your old iPod.
    When iTunes comes up, click on your new iPod under Devices.
    At the top of the Summary Page click Music.
    Click Synch Music.
    Do the same thing for Photos, Apps, Movies and so on...
    Now just synch the iPod.

  • I just bought a new iMac and I'm trying to buy apps for it  but I can't connect my iTunes account to how do I do that

    I just bought a new iMac I'm trying to download apps but I can't connect it to my iTunes account so I can buy them how do I do that

    I just bought a new iMac I'm trying to download apps but I can't connect it to my iTunes account so I can buy them how do I do that

  • TS1538 I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    Again without stating the trouble shooting steps you have taken, its hard to direct you with any information.
    Try a different port on the computer.
    Does the iphone beep when u plug it up. ?
    Plug iphone into computer and give it 3 to 4 minutes to see if it connects and is running slow.,
    Delete the apple mobile device from your computer.
    Upgrade itunes to newest version.
    Is you USB cord defective ?
    Any USB 3.0 on your system ? .
    Delete or Disable  any antivirus program on your computer ?
    I will tell u the problem is your computer not the phone.
    We could do this for hours.

  • HT4628 I recently transferred my internet service to another state. Have not yet moved my imac, just my pc laptop. I cannot get my airport extreme wireless router to work. The green light stays lit when everything is connected but I can't connect to the i

    I recently transferred my internet service to another state.I have not yet moved my imac, just my pc laptop. I cannot get my airport extreme wireless router to work. The green light stays lit when everything is connected but I can't connect to the internet. Any suggestions?

    I would recommend that you do the following as a minimum:
    Power-down the modem, AirPort base station, and computer(s).
    Power-up the modem; wait at least 10-15 minutes to allow it adequate time to initialize.
    Power-up the AirPort base station; wait at least 5-10 minutes. Note: The AirPort's status light may continue to flash amber after it has intialized. That is because, there may be some additional configuration items necessary, like setting up wireless security, before the overall setup is completed to get a green status.
    Power-up your computer(s).
    If the above steps do not solve the problem, start over with step 1 above, but then perform the next steps between steps 1 & 2. above.
    Disconnect the AirPort base station from the Internet broadband modem.
    While all of the devices are powered-down, perform a "factory default" reset on the base station. This will get it back to its "out-of-the-box" configuration and make setting it up much easier, especially if you use the "Assist me" process within the AirPort Utility. (ref: Resetting an AirPort Base Station or Time Capsule)
    After the base station resets, go ahead and power it back down.
    Reconnect the AirPort base station to the Internet broadband modem. For the Extreme and Time Capsule, be sure to connect the cable to the base station's WAN (circle-of-dots) port.
    Continue with step 2 in the first set of steps.
    In this basic configuration, the AirPort base station will broadcast an unsecured wireless network with a Network Name (SSID) of Apple Network NNNNNN. Network clients, connected to the base station either by wire or wireless, should now be able to access the Internet through the ISP's modem. Once Internet connectivity has been verified, you can use the AirPort Utility to configure the base station for wireless security and any other desired options. Please post back your results.

  • HT201407 Hello All, I bought an iPhone of eBay. It seemed fine until this morning when it switched itself off and now it won't come on unless it's plugged in. And even then it is asking that it needs to be activated, but it can't connect to iTunes. Any su

    Hello All, I bought an Iphone of eBay. It seemed fine until this morning when it switched itself off and now it won't come on unless it's plugged in. And even then it is asking that it needs to be activated, but it can't connect to iTunes

    Try Recovery Mode... http://support.apple.com/kb/HT1808

  • I need to restore my iphone but itunes can't connect because it locked with password. I can't input the password becasue it showing no service and needs to be restored.

    I need to restore my iphone but itunes can't connect to it because of my password which I can't input becasue it has no service and needs to be restored. what can I do to restore it? Is there a way to input the password?

    You will need to put the iPhone into Recovery Mode to be able to restore it in iTunes.
    To put your iPod/iPhone  into recovery mode:
    1. Make sure the iPod/iPhone is connected to a computer with iTunes installed on it.
    2. Hold down the sleep/wake button(top button) and the home button at the same time until the iPod/iPhone screen goes black then shows the apple logo( usually 10-15 seconds).
    3. Once the apple logo appears on the screen, let go of the sleep/wake button and keep holding the home button.
    4. The ipod/iphone screen should show an itunes logo and usb cable if you were successful. A dialog box will appear in iTunes that states an iPod/iPhone in recovery mode has been detected if you are successful.
    5. Click ok, then click the Restore button
    After that you should be up and running in no time!
    I hope that this is helpful.

  • I connect on the wi-fi network but i can't connect in internet

    i connect on the wi-fi network but i can't connect in internet

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Can't get my epson sx535wd to work. my epson will get contact with my router (sitcom wl306) and my mac is on wifi, but they can't connect. epson can't find the computer and my report says: there are conflicting channels on my router or entry point. help

    can't get my epson sx535wd to work. my epson will get contact with my router (sitcom wl306) and my mac is on wifi, but they can't connect. epson can't find the computer and my report says: there are conflicting channels on my router or entry point. please help

    OK, let's try these................ 
    1 - Boot up from your install DVD and run "Repair Disk" from the Utility menu.  When done, restart back to your desktop, repair permissions and restart your computer.  Re-connect your printer. 
    2 - Download & install the Gimp drivers. Make sure the one you install is compatible w/your OS-Gutenprint 5.2.8-pre1.   Repair permissions, restart your computer & re-connect your printer when done.
    The Epson model I have, in order to get it to print wirelessly, I had to install a Gimp driver.
    3 - Check out the following KB Articles:
    Mac OS X 10.4 Help: Connecting to a network printer
    Epson Printer Drivers v2.10 OS X
    Adding a printer to your printer list in Mac OS X
    Mac OS X 10.4 Help: The printer I'm adding says "Driver not installed"
    ======================
    If still unsuccessful after trying all of the above, the problem could be your iBook or human error.  You can either call Epson & ask to speak with a Mac savy supervisor or return the printer & find another that is compatible w/your current OS.

  • The wireless symbol is present and indicates a strong signal, but I can not connect to the Internet.

    The wireless symbol is present and indicates a strong signal, but I can not connect to the Internet.  I'm  on my home network and have never had trouble before.  My iPad is current on all updates. I have tried to reset the network settings, nothing has worked.  I can connect to the internet via my iPhone  personal hotspot and all other wireless devices are operating normally on my home wireless network.

    I am also having this issue. My boy just got an iPod 4 touch, upgraded to iOS 6. I have a D-Link DGL-4300 108G Wireless Gaming Router. With the iPod I can connect to the router, get an IP address (either DHCP or Static) and even browse through the menu on the router, but I can't connect to the internet.
    With a DHCP IP address the iPod give the error "Not connected to the internet" with the static IP address it takes a long time when trying to connect to a website but then it gives the error "server stopped responding".
    Clearly the issue is in some setting in the router. I've tried setting up a filter so that the iPod will always have access based on MAC address. I've tried changing the various wireless connection settings, all to no avail. I would greatly appreciate some guidence here.

  • Hi,recently bought an apple tv to connect  to my macbook,which is recently been upgraded to os x mountain lion version10.8.4.But i can't connect to that with my apple tv.Anyone can help me ????

    Hi,recently bought an apple tv to connect  to my macbook,which is recently been upgraded to os x mountain lion version10.8.4.But i can't connect to that with my apple tv.Anyone can help me ????

    not all macs support airplay mirror
    http://support.apple.com/kb/ht5404
    installing mtn lion is not! enough if your video card does not support it then you need to live without mirror or take your chances with airparrot

Maybe you are looking for

  • Error in Installing 0MATERIAL.

    Hi All,    We have new BW server.We are trying to intalling info objects 0MATERIAL, 0VENDOR, 0COSTCENTER from Business Content. We getting error while activatind 0MATERIAL. Error is "0APO_LOCNO" is not active. We tried to activate "0APO_LOCNO" alone

  • How to set the "display name" of an customized property

    Hi, I've created a customzied property of KM file with KM API, and display it in KM navigation iview. It is ok, except the Column head show the technical name of the property. But what i want is some specify display name and even can support multi la

  • Is there any one in HP that pays any attention to the customer?

    I have had numerous PC's and laptops in my work and at home and have bought HP products for the last 20 years, but that is about to change.  I recently had an issuewith the sound or lack of it on my PC. I could get sound from CD's but not the interne

  • Why does it say we've had difficulty verifying your purchase when I'm trying to buy something

    How come when I try to buy an add-on to an app, it pops up with an error that says we've had difficulty verifying your purchase...  Help

  • Where is the iTunes CHAT support?

    Hello folks, I am experiencing a problem with purchasing on my registered $50 credit. iTunes only gives me the option to pay by credit card! Anyhow, I want to chat with support... apparently such a feature is available: "Please select a topic under y