Cant connect to sqlplus

hi everyone,
I have succeffully configured Oracle RAC on Linux on VMWare server and its working fine, I have configured TAF and loadbalancing also. but when I try to connect sqlplus I get the following error
sequence of my commands is as follows as oracle user:
./sqlplus /nolog
SQL>connect / as sysdba
Error:
ORA-12162: TNS:net service name is incorrectyly specified.
plz tell me what's the mistake and how to rectify it.

Hi
You'd really need to supply more info for me to be sure of this but the first thing I'd check are the values for the following environment variables.
echo $ORACLE_SID
echo $ORACLE_HOME
If these aren't set correctly then set them (and possibly add them to your .profile) then try the command again.
Cheers
Steve

Similar Messages

  • I cant connect my localhost except sqlplus

    hi everybody. i can connect my localhost via sqlplus.
    C:\sqplus <enter>
    username
    password
    okey
    SQL>...
    i can connect, there is no problem.
    But, if i want to connect except sqlplus for example with plsql developer, i cant connect the database.( also i cant connect with jdbc )
    Firstly, i was getting the ora-12545 error:
    "ORA-12545: Connect failed because target host or object does not ..."
    then, i am trying the edit tnsnames.ora and listener.ora, i changed the host as a 127.0.0.1 .
    so, again i am trying the connect to the server with plsql developer, this time i am encountering this error :
    "ORA-12514 : Tns: listener does not currently know of service requested in connect descriptor."
    how can i solve this problem? as i said top of the page, i can connect with sqlplus.
    thanx

    result of lsnrctl status:
    >>
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-ÌUB-2008 22:45
    :14
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 06-ÌUB-2008 18:14:23
    Uptime 0 days 4 hr. 30 min. 51 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File E:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File E:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    >>
    the content of listener.ora :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    the content of tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    thank you for responses.

  • Connect to SqlPLus

    Hi to everybody
    I installed oracle Client 10g-home2 in my laptop having the Windows 7 Home premium OS.. But I cant able to connect with
    SQLPLUS. After entering the Username,password,hoststring it is exiting.. It doesn't show any errors..
    Can anyone tel whats the problem also whats the username,password and host string need to give??
    How can I check If oracle Database is installed or not??
    Thanks in advance

    There are several issues with the information you have posted.
    First, you have installed the client - this is software needed to access a database on a remote computer. This does not include the software needed to create a database. For this, you will need to install the full blown software (which also includes the client piece) and create a database.
    Second, no Oracle software is supported/certified on any Windows Home version. You will need to upgrade to Win 7 Professional or higher, or downgrade to Win XP Pro.
    The database software download for 11gR2 is available here - http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    The Install Guide for 11gR2 is here (for Win) - http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/toc.htm
    When you install the software on a supported OS, one of the options is to create a database (typically named "orcl") during the install process - you select a password when creating the database. Or you could install the software first, then create a database using DBCA (database creation assistant) - pl review the Guide posted above
    HTH
    Srini

  • Cant connect to DB after shutdown

    Hi everyone,
    to sync the standby > restoring incremetal backup in the standby database and recover in noredo and the shutdown the DB to start it in nomount mode.
    but after shutdown cant connect to DB.
    bash-3.00$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jul 19 14:58:35 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01012: not logged on
    SQL>

    Hi,
    you are already connected but your instance is not running you have to start it again. You try query dynami performance view on instance which is down.
    Your instance is in the mode wher accept connection but has no opened files (control, parameter, data) has no allocation memory like SGA etc. So you have to to start it up. You can use several option reagrds your needs e.g. STARTUP, STARTUP NOMOUNT etc.
    Docu: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#i1006133
    Regards,
    JK.

  • Safari cant connect to a server.

    I have Safari Version 7.0.2 (9537.74.9)  Running on a powerbook  with   10.9.2
    message. when I open google, facebook or twitter...  "Safari cant connect to server."
    and firefox .. but I can open almost any other website. 
    This is the message I get in Firefox.
    Unable to connect
    Firefox can't establish a connection to the server at www.google.com.
        The site could be temporarily unavailable or too busy. Try again in a few moments.
        If you are unable to load any pages, check your computer's network connection.
        If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
    Sometimes when I restart the computer it works for a few minutes then it gets blocked again...
    I have tried restarding the browsers, deleting the cookies and a few other stuff but nothing seems to be working..
    This is a new Mac ANd I havent installed many programms in it.   

    You, or someone using your computer, changed the network settings in an attempt to bypass copyright restrictions on Netflix. The illegal DNS server you're using should never have been trusted and now doesn't work. 
    Delete all the DNS servers by selecting them and clicking the minus-sign button at the bottom of the list. You may have to unlock the settings first by clicking the padlock icon in the lower left corner of the preference pane and entering your administrator login password when prompted.
    If the server addresses are grayed out and can't be deleted, even with the preference pane unlocked, then the change was made on your router. Refer to its documentation to find out how to reverse the change. The router should get its DNS settings automatically from the ISP.
    Click OK, then Apply. The DNS server list should be repopulated automatically with the address of your router, or the addresses of the DNS servers provided by your ISP. If that doesn't happen, open the TCP/IP tab of the preferences and click Renew DHCP Lease. If you're not using DHCP, manually enter the DNS server addresses you got from your ISP, or else use these temporarily:
    8.8.8.8
    8.8.4.4

  • I have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me

    i have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me???

    If Join was on then your home wi-fi must be set to Non-Broadcast.  If you did not set this up (maybe your provider did) then you will need to find the Network Name they used, and any password they used.  The SSID is Security Set ID and to see more try http://en.wikipedia.org/wiki/SSID .  Basically it is the name used to identify your router/network.  A lot of times the installer will leave it set as LinkSys, or Broadcom or whatever the manufacturer set it as for default.  Your best bet is to get whoever installed it to walk you through how they set it up, giving you id's and passwords so you can get in.  HOWEVER, if you are not comfortable with this (if you set security wrong, etc.) you would be well ahead of the game to hire a local computer tech (networking) to get this working for you.  You can also contact the vendor of your router and get help (if it is still in warranty), or at least get copies of the manuals as pdf files.  Sorry I can't give you more help, I hope this gives you an idea where to go from here to find more.

  • What does this message mean:  this apple ID has not yet been used in the iTunes store"? I cant connect using my iphone. But it works in iTunes on my laptop.

    what does this message mean:  this apple ID has not yet been used in the iTunes store"? I cant connect using my iphone. But it works in iTunes on my laptop.

    FAQ apple id http://support.apple.com/kb/HT5622?viewlocale=en_US
    http://support.apple.com/kb/HT1311

  • Cant connect my ios devices to my mac book air

    I cant connect my IOS devices (iphone 4s + ipad 2) to my macbook air mid/2013 by usb or bluetooth.
    when connecting by usb the devices dose not charge or sync with itunes. it charges for split a second and disconnect anther time and it go forever in the his loop.
    I tried using two cables.
    The devices are working on my windows pc.
    my macbook works with usb sticks and other android phones.
    note:
    -both devices are on ios 8.1
    -my macbook is on Yosemite
    -my ipad 2 worked well before updating  my mac to yosemite

    iPods that have the Window format should continue to work on a Mac, because Macs can read/write the Windows format used on iPods.  (The opposite is not true - Windows cannot read the Mac format.)
    You can change the formatting, by doing a Restore on the iPod, but that is done in iTunes, so iTunes needs to see the iPod when you connect it.  The Restore will also erase the iPod.
    Since it continues to work on your friends Windows PC, your iPod itself is probably OK, so you may want to first look at the connection to the Mac.
    Did you use the same USB docking cable when you connected it to your friend's PC?  If so, you can rule out the USB cable as the cause.  If not, it's possible that your USB cable is faulty.
    If you are connecting the iPod to a USB hub, try a direct connection to the Mac's USB port.  If other USB devices are connected at the same time, try disconnecting the other devices (except for standard keyboard and mouse if normally used).  You may also want to shut down (power off) the Mac, if you have not done so in a while.  Also, do this to Reset the iPod
    http://support.apple.com/kb/ht1320
    Start up the Mac, run iTunes, and connect the iPod by itself to a direct USB port.

  • I cant connect to WiFi on my iPod Touch 1G?

    I have had an iPod Touch 1G for quite some time now, but I recently upgraded the iOS firmware to 3.1.3, and I just noticed that I cant connect to wifi! Nothing is grayed out, but it cannot find any connections. Ive tried resetting my router and wifi settings, but that diddnt seem to work either.

    So it is not this problem:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem.
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Teh try:
    Does the iPod connect to other networks? (noit clear if you have access to more than one)
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect?
    Did the iPod connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • When i go in my settings on my ipod touch 3gen it says no wi-fi as in i cant connect to any wi-fi at all i tried to restore but did not work HELP PLEASE

    when i go in my settings on my ipod touch 3gen it says no wi-fi as in i cant connect to any wi-fi at all i tried to restore but did not work HELP PLEASE

    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • I am getting error while connecting to sqlplus by using apps account in 11i

    i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
    [applmgr@appsc05t01 admin]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

    yes.
    login as: gorantla
    [email protected]'s password:
    Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
    [gorantla@appsc05t01 ~]$ sudo su - applmgr
    [applmgr@appsc05t01 ~]$ ora_setup
    Available databases:
    x = ATUXX
    y = ATUYY
    z = ATUZZ
    Select database: \c
    y
    ORACLE_SID=ATUYY
    IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
    ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
    APPL_TOP=/apps/ATUYY/atuyyappl
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$ tnsping ATUYY
    TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
    OK (0 msec)
    [applmgr@appsc05t01 ~]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

  • Why my ipod touch 4th gen. cant connect to application store? it just keep on loading. ive done rebooting,hard reset. and restore my ipod can somebody help me please....

    i have an ipod touch 4th gen. it cant connect to itunes, apps store? ive tried rebooting, system restore, even erase all my apps.. can sombody help me please...

    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors | iPad Insight
    Can't connect to the iTunes Store
    Does Safari work?
    Have you tried when connected to another network?
    have you restored to factory settings/new iPod?

  • Error message when trying to do an update on itunes and cant connect my iphone anymore

    My itunes says that i need to update it. So i click the update button but it comes up with a error message and wont update it but now i cant connect my iphone to my computer either. can someone please help me. i have restarted my phone and my computer and still nothing...

    your phone is in recovery mode, which means your data is already lost.  hopefuly you've been keeping regular backups

  • I just bought an airport express. i set it up and was able to be detected by my macbook, but i still cant connect wirelessly. the same goes when i tried my iphone. please help!

    i just bought an airport express. i set it up and was able to be detected by my macbook, but i still cant connect wirelessly. the same goes when i tried my iphone. please help!

    Is the status light green?
    Your Airport device may be in Bridge Mode.
    Airport Utility 6:
    Open Airport Utility, select the Airport Express and click Edit. Navigate to the Network tab and change Router Mode to DHCP and NAT. Then click Update on the bottom right.
    Airport Utility 5:
    Open Airport Utility and click Manual Setup. Navigate to the Internet icon and change Connection Sharing to Share a Public IP Address. Then click Update on the bottom right.

  • Cant connect wirelessly to internet after installing iphoto 9.2.1

    I recently upgraede my system to 10.6.8. Today I downloaded and installed iPhoto 9.2.1 (going from 6.0.6). Now I cant connect to the internet wirelessly. Ethernet works. Could these actions have something to do with causing this problem?

    Probsbly good to post in the OS forum along with the error message when it failes to connect
    Is this failure only from iPhoto or from all software on teh Mac?
    LN

Maybe you are looking for

  • Cannot delete networks from already removed Demo VM's

    I have 2 networks that were created when I spun up 2 demo VM many months back and for some reason I cannot delete them give the below error Virtual network 'AX2012R3-Demo-R3DemoErik-0d6514cdf4197127' is in use and cannot be deleted. Virtual network '

  • No inspection lot can be opened for this material and vendor -QA228

    Hi every one ! Iam  getting  Error while doing Migo -"No inspection lot can be opened for this material and vendor-QA228" we analyze the issue asfollow - 1.checked Quality Lot-Available 2.Quality info record- Availble 3. Quality plan is exist. But st

  • Error in Local Message System: RFC destination MB3AP1039 does not exist.

    Error in Local Message System: RFC destination MB3AP1039 does not exist. Message was Not Created Message no. BCOS088 Hi,      When iam creating a message from any system from HELP-CREATE SUPPORT MESSAGE it is throwing the above error message. Actuall

  • RME Fireface 800 and Final Cut Pro

    Hi Forum I have a RME Fireface 800. Trying to make it record in Final Cut Pro 6.05 and Soundtrack Pro. I't won't. Only through built in Mic can I record in FCP (or Line-in in iMac) When using Fireface as default sound device, I see an input signal on

  • Where do I get just the jvm

    Hi all I always do development with the sdk -- if I want to include the jvm in my software, which files do I need for this...and where to get? thanx