Connection to daabase through sqlplus

Hi
I am trying to connect oracle daatbase of another system through sqlplus but I am not able to connect it through it.while giving connect command
connect hr/[email protected]:1521:orcl
I am getting following error.
ORA-12545: Connect failed because target host or object does not exist

hi,
to connect the other DB using SQLPLUS
go to cmd prompmt
c:\ sqlplus hr/sys (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))(CONNECT_DATA=(SID=ORCL)))
this will allow you to connect to the other database
Cheers
Ankit

Similar Messages

  • Oracle Fatal error when trying to connect through sqlplus

    Hi,
    I am getting the below error when trying to connect to instance through sqlplus
    Database version is :10.2.0.3
    Operating system= Solaris Operating System (SPARC 64-bit)
    OS version=5.10
    [lscbd07p2*BMC]-\ORACLE>sqlplus
    SQL*Plus: Release 10.1.0.4.0 - Production on Fri Nov 9 07:48:24 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    ld.so.1: oracle: fatal: relocation error: file /u01/app/oracle/product/db/10.1.0.4/lib/libjox10.so: symbol kststop_: referenced symbol not found
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    Could you all please give me suggestions in order to solve this problem.
    Thanks
    Mannu

    Have you recently patched/upgraded? This sounds like there might have been a problem relinking the executables / libraries, and/or a permissions problem. For example you may be referencing a 32 bit library with your 64 bit client.
    I believe I recently read a similar case - check Metalink for this symptom.
    HTH
    Regards Nigel

  • Can't connect through sqlplus

    I can connect to a remote database through sqlplus only if i specify the sid:
    bash$ sqlplus system@dbsid
    Connected to ...
    if i don't, i get this error:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    local machine has just the client installed on Redhat.
    remote server machine has oracle 9iR2 on Redat AS 2.4.1
    local tnsnames.ora entry:
    DBSID.LOCALDOMAIN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = neutron.emrtc.nmt.edu)(PORT = 1521))
    (CONNECT_DATA =
    (SID = dbsid)
    server tnsnames.ora entry:
    DBSID.LOCALDOMAIN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = neutron.emrtc.nmt.edu)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dbsid.neutron.emrtc.nmt.edu)

    also, tnsping works from both machines.
    tnsping <hostname> works the same as tnsping <ip address>
    i.e.:
    [oracle]# tnsping <ip address>
    Used parameter files:
    /opt/oracle/product/9.2.0.1.0/network/admin/sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=<ip address>))(ADDRESS=(PROTOCOL=TCP)(HOST=<ip address>)(PORT=1521)))
    OK (0 msec)
    "tnsping dbsid" seems to take the DESCRIPTION= block from the tnsnames.ora file

  • Connecting to 11.5.10 application through sqlplus from a client

    al salam 3al man etaba3 al hoda
    I have intalled appl 11.5.10 and i need to connect to the database through sqlplus from another pc but i cann't connect
    also i cann't see the database from the eterprise manager
    i heard that there are some new security issues at that version that must be set before i can be ble to do that but i don't know details about that.
    thanks

    Your httpd.conf should have:
    include "<your Apache home>/Apache/conf/oracle_apache.conf"
    and your oracle_apache.conf should have:
    include "<your Apache home>/Apache/conf/apps.conf"
    and your apps.conf should have:
    <Location ~ /(oa_servlets|servlets|servlet|jsp|configurator|mobile|forms|discoverer4i|emailcenter|soap/servlet|webservices|dmsOACore|dmsDisco|dmsForms|pricing)/framework>
    Order deny,allow
    Deny from all
    Allow from <your hostname without domain name>
    Allow from <your hostname without domain name>.sandia.gov
    </Location>

  • Error connecting oracle 11g through SQL Developer

    i am using SQL Developer to connect to oracle 11g which is installed to another machine in same network
    means i am using a client machine to get connected to oracle installed to host machine through SQL Developer
    iam getting this error
    network adapter could not establish the connection
    vendor code 170002
    my listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-zoheb.PCSTECH.COM)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    my tnsnames.ora
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-ansari.pcstech.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    iam not understanding what is problem
    please somebody help

    I would say it's vendor code 17002 (not 170002). And such a message is thrown by SQL Developer , unfortunately very generic for any kind of connection problems.
    Start sqlplus and try to connect, very likely you get a better error message.
    Recently I had such a connection problem and the reason was - No Listener.
    Werner

  • Error connecting 10g DB through 9i client

    I have one 10g database on a remote machine and I want to connect this database through 9i client.
    Would some please tell me the procedure for connection.
    Running netca didn't is not solving my problem.
    Thanks,
    Bikash

    Thanks ...
    Yes, I do have a valid netalias configured on the 9i client.
    Result of tnsping against a remote 10g database is as below:
    ===========================================================
    C:\oracle\ora902\bin>tnsping usunnbd24.us.oracle.com 10
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 25-AUG-2
    05 20:54:54
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    C:\oracle\ora902\network\admin\sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=usunnbd24
    us.oracle.com))(ADDRESS=(PROTOCOL=TCP)(HOST=usunnbd24.us.oracle.com)(PORT=1521)
    OK (610 msec)
    OK (610 msec)
    OK (630 msec)
    OK (590 msec)
    OK (610 msec)
    OK (610 msec)
    OK (610 msec)
    OK (590 msec)
    OK (610 msec)
    OK (610 msec)
    ===========================================================
    I am trying to connect through sqlplus.
    Hope I answered all your questions.Please let me know the worlaround needed.
    Thanks,
    -Bikash

  • Sys User cannot connect to DataBase10g through ODBC

    Hi guys ,
    am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
    ORA-01017:invalid username/password ;login denied.
    with the same user /password i connect many times at sql* plus.
    Please guide me why its all happening.
    Note=ODBC connection with other user HR/Scott have no problem.

    Using sql can very well mislead. See below,
    E:\Documents and Settings\aristadba>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> sqlplus shakeel/khan as sysdba
    SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
    SQL> connect shakeel/khan as sysdba
    Connected.
    SQL> connect tom/kyte as sysdba
    Connected.
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
    HTH
    Aman....

  • How to Connect my N79 through Internet on Laptop?

    Hi Friends ,
    i am facing a problem while connecting my N79 through Internet on my laptop . i am using USB Modem for Internet Connectivity. And i want to share this Internet on my N79 through Wireless LAN . i am using Windows Vista . Please tell me how to Configure my WLAN on my laptop . so that i can use it to browse through my N79.
    Please Help Me Guys .....................!!!!!!

    Yes, it can be done.
    1) Enable "Internet Connection Sharing" on the laptop and share the connection that refers to your USB modem.
    2) Ask your ISP what the IP addresses of their nameservers are and make a note of them.
    3) Configure the laptop's wireless adapter in ad-hoc mode and assign it a static address on the wireless network.
    4) Configure the N79 in ad-hoc mode as well, and give it a static address on the wireless network. Enter manual settings telling it to use the IP address of the laptop as its default gateway and to use the IP addresses given to you by your ISP as its nameservers.
    With this, you can use the laptop as your phone's portal to the Internet, but only with your phone. This will only work with one device at a time. If you want to use more than one device at the same time you're better off buying a real wireless router to which you will be able to connect your laptop, your phone and any other wifi-aware device you might have.
    NB: I don't use Windows on my machines and therefore can't give any specific information about doing this. The advanced settings needed for the phone will be described in the manual.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • I have two children each with an ipod which has FaceTime - I have the iphone 4s with FaceTime.  All of these devices are connected to itunes through the one account.  How do I set up the FaceTime on the two ipods so as it doesn't ring both of them?

    I have two children each with an ipod which has FaceTime - I have the iphone 4s with FaceTime.  All of these devices are connected to itunes through the one account.  How do I set up the FaceTime on the two ipods so as it doesn't ring both of them?

    I started to do that then it said that this will become their apple I.D or similar and then I thought that will disconnect them from the same iTunes?  I want them still on my iTunes as they are only young (8 and 10)?  Or have I got this all wrong and even if I do set them up with a different e-mail will they still be on my itunes?  For example if they want to purchase an App will it still go through my account even if they use their ipod?

  • I've connected my device through a wifi network and i accidentally signed out my apple ID for imessage then when I signed back in i cant seem to get connected though my wifi connection is working just fine. can anybody help me?

    I've connected my device through a wifi network and i accidentally signed out my apple ID for imessage then when I signed back in i cant seem to get connected though my wifi connection is working just fine. can anybody help me?

    I am having the same problem with my ipod nano
    I have been trying since Xmas

  • Can't connect to Facebook through WiFi - Lumina 92...

    Both my teenagers have just had upgrades to Nokia Lumina's at the weekend, from an HTC and a Huawei. Both phones are WM8 and both have the Amber update pre-installed.
    Unfortunately neither phone can connect with Facebook through the Wi-Fi but CAN connect through 3G. As both tariffs are on low monthly data usage, you can begin to imagine the annoyance they are displaying at having to switch off Wi-Fi just to make Facebook sync.
    Everything else works fine and I have trawled through numerous web pages and tried everything imaginable to get this to work, but no luck.
    If anybody else has had similar problems across their Wi-Fi, please can you share the solution and help restore some peace back to our household.
    Alas, both the previous WM8 phones worked flawlessly and my ancient HTC HD7 also works without a blip.

    Hi Squirrel23,
    Welcome to the Nokia forum.
    Are you using a Facebook app or you've setup your account via E-mail+accounts? Is this happening to just one specific Wi-Fi connection? Have you tried to connect to other Wi-Fi? Have you tried rebooting your phone? ^AR

  • Can't connect to PPPoE through Linksys anymore....

    I've been running my Earthlink DSL through a router for 9 months without any problems. (Model: Linksys WRT54G v3.1)
    But yesterday it seemed to just not work anymore.
    When I connect the ethernet directly to my Netopia modem from my G4 MDD Powermac, I can connect easily with the 'automatic' settings.
    HOWEVER... no matter how many different settings I try, I can't get the connection to work through the Linksys router. I keep getting the message 'Could not find PPPoE server'. The Network Settings says the ethernet is set up and trying to connect, but it can't seem to.
    I've tried unplugging, pushing in the reset buttons and all sorts of other things, but nothing works.
    I contacted Linksys and they claim you can reload the router firmware with a Mac. But after downloading their firmware update, I found it can't be opened by my Mac.
    But I'm wondering if the firmware is even the problem?
    Any clues much appreciated....

    That sounds like the exceptional tech support experience.
    Frankly I'm shocked at how bad the earthlink tech support experience was. In the past it wasn't that bad. It used to be a 3 minute wait and then someone halfway knowledgeable would be there.
    This time I waited through 4 minutes of brainless telephone ads until they put me through to the Phillipines to Moron #1 who started off asking in an almost impossilbe to understand accent "What eees your father's middle name?" and then "What ees your credit card number?"
    I explained to him that he was supposed to as for the mother's maiden name and that I would NEVER give him my credit card number. And then... after another 3 minutes of telephone ads I got connected to another identical 3rd world slave labor tech person who simply asked me all the same questions over again
    Needless to say, the experience was a sad reflection of corporate strategy... thinking this is going to get them customers.
    Rant over... thank gosh for the Apple discussion boards!

  • I wanted to know whether i can diffuse music to the bluetooth only speakers from a airport extreme-connected hard drive through my mac?

    I'm interested in the new soundlink mini Bose wireless speakers that function only via bluetooth. I wanted to diffuse music to them from an airport extreme connected hard drive through my macbook air. I don't want to stoc music on my mac given the limited flash drive and don't want to go though wires again. Is that possible? Also I can't go with airport express since those speakers don't have the airplay function.
    Thanks a lot for your help or ideas

    Hello jeri004,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes for Mac: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1449
    Best of luck,
    Mario

  • How do you access files from an external harddrive connected to TC through USB from iPad or windows computer?

    How do you access external hard drive data that is connected to TimeCapsule through USB from iPad or knows based computer?

    Filebrowser for the iPad does this very well.
    FileBrowser - Access files on remote computers for iPhone, iPod ...
    Cannot help on Windows, but another PC guy might be able to answer. Some possible clues here:
    http://support.apple.com/kb/HT1331

  • Hi, we are using mac mini's for our developement purpose. connecting the same through using Real VNC. Mac mini's are late 2009 and 2010. Now we have upgraded them to 10.8.5. after upgrading having display issues after launching the simulators

    hi, we are using mac mini's for our developement purpose. connecting the same through using Real VNC. Mac mini's are late 2009 and 2010. Now we have upgraded them to 10.8.5. after upgrading having display issues after launching the simulators, we are unable to view the icons we need to move the simulator (into different places) to view the icons.
    Also we are having Mac book pro's (Late 2009 & 2010) after upgrading them to 10.8.5. Unable to launch the mac, getting only white screen with apple icon.
    Let me know is there any specific Hardware (Graphic Cards) we need to use for the same.
    Please provide me the early solutions.
    Regards,
    Suresh.

    Hi, try this first...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.

Maybe you are looking for