What is SQL Plus trying to connect to? I don't have a database on my machine.

Strange because I don't know what I'm doing.  I have a Linux box.  It has a fresh install of 11gR2 for learning.  I'm now on my Windows machine.  I thought I could connect to the Linux machine.  On the Windows machine when I start SQL Plus it is asking for a username and password.
Why is it doing this? I'm not connected to anything that I know of.  There is a production site and I have tnsnames.ora for other things like ODBC, JDBC, etc. but I've never even used SQL Plus on this machine (Windows).  Thanks for help.
It is from instant client 11.2.

user5381503 wrote:
Ok.  Thanks.  I'm trying to locate the manual so I don't ask any more stupid questions.
In addition to the official docs at docs.oracle.com, you might find the following enlightening for your current issue:
see: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/  (Help! I can’t connect to my database  )
see: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/  ( Help! I can’t connect to my database (part duex) )

Similar Messages

  • I don't have a database connection

    I am 17 just learning sql in schooland hence I downloaded sql developer.
    I am afraid i don't have a database connection.
    cud anyone explain to me what it is & if possible give me instructions on how to establish one.

    The wonderful thing about these forums is there is a search facility, so that's a great place to start. Welcome to the world of databases and SQL! There is lots of experience in these forums and you can learn a lot.You shouyld search tem whenever you have a question. Take a look at my response to another beginner in this thread.
    am a beginner
    The tutorial I mention helps you create a connection.
    Have fun
    Sue

  • The SQL*PLUS cannot be connected

    The SQL*PLUS cannot be connected.
    When I try to connect to sqlplus, I get the following error message: ORA-12560: TNS:protocol adapter error
    I trouble shoot it according to the following steps, but have not found any problems:
    C:\Documents and Settings\Administrator>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Tue Apr 27 09:45:51 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    C:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 27-APR-2010 09:37:56
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
    Start Date                27-APR-2010 09:35:08
    Uptime                    0 days 0 hr. 2 min. 48 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   F:\app\oracle\product\11.1.0\db_1\network\admin\listener.ora
    Listener Log File         f:\app\oracle\diag\tnslsnr\HOST1\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HOST1)(PORT=1521)))
    Services Summary...
    Service "db1" has 1 instance(s).
      Instance "db1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\Administrator>tnsping db1
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 27-APR-2010 09:38:46
    Copyright (c) 1997, 2007, Oracle.  All rights reserved.
    Used parameter files:
    F:\app\oracle\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICA
    TED) (SERVICE_NAME = db1)))
    OK (500 msec)
    C:\Documents and Settings\Administrator>echo %oracle_sid%
    db1Both the OracleServiceDB1 service and the OracleOraDb11g_home1TNSListener service are already started.

    The following is from F:\app\oracle\diag\tnslsnr\HOST1\listener\trace\listener.log
    System parameter file is F:\app\oracle\product\11.1.0\db_1\network\admin\listener.ora
    Log messages written to f:\app\oracle\diag\tnslsnr\HOST1\listener\alert\log.xml
    Trace information written to f:\app\oracle\diag\tnslsnr\HOST1\listener\trace\ora_2020_1660.trc
    Trace level is currently 0
    Started with pid=2020
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HOST1)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    Tue Apr 27 09:21:18 2010
    System parameter file is F:\app\oracle\product\11.1.0\db_1\network\admin\listener.ora
    Log messages written to f:\app\oracle\diag\tnslsnr\HOST1\listener\alert\log.xml
    Trace information written to f:\app\oracle\diag\tnslsnr\HOST1\listener\trace\ora_1984_2004.trc
    Trace level is currently 0
    Started with pid=1984
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HOST1)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    Tue Apr 27 09:35:08 2010
    System parameter file is F:\app\oracle\product\11.1.0\db_1\network\admin\listener.ora
    Log messages written to f:\app\oracle\diag\tnslsnr\HOST1\listener\alert\log.xml
    Trace information written to f:\app\oracle\diag\tnslsnr\HOST1\listener\trace\ora_3740_3788.trc
    Trace level is currently 0
    Started with pid=3740
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HOST1)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    Tue Apr 27 09:37:56 2010
    WARNING: Subscription for node down event still pending
    27-APR-2010 09:37:56 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=185599488)) * status * 0
    Tue Apr 27 09:38:49 2010
    27-APR-2010 09:38:49 * ping * 0
    Tue Apr 27 10:48:44 2010
    27-APR-2010 10:48:44 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1)(CID=(PROGRAM=F:\app\oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=HOST1)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.2)(PORT=2030)) * establish * db1 * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
      TNS-00530: Protocol adapter error
       32-bit Windows Error: 2: No such file or directory
    Tue Apr 27 10:49:26 2010
    System parameter file is F:\app\oracle\product\11.1.0\db_1\network\admin\listener.ora
    Log messages written to f:\app\oracle\diag\tnslsnr\HOST1\listener\alert\log.xml
    Trace information written to f:\app\oracle\diag\tnslsnr\HOST1\listener\trace\ora_3948_1304.trc
    Trace level is currently 0
    Started with pid=3948
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HOST1)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    Tue Apr 27 10:50:24 2010
    27-APR-2010 10:50:24 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1)(CID=(PROGRAM=F:\app\oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=HOST1)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.2)(PORT=2045)) * establish * db1 * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
      TNS-00530: Protocol adapter error
       32-bit Windows Error: 2: No such file or directory

  • HT4557 I have iPad 2 and trying to connect to apple tv. Have gone into videos and music and put in my apple id and password but won't work. Pick up my PC fine though

    I have iPad 2 and trying to connect to apple tv. Have gone into videos and music and put in my apple id and password but won't work. Pick up my PC fine though.
    Any ideas? Have tried usual switching on and off again but no change

    Here’s what you need to do to turn on AirPlay Mirroring on your iPad 2:
    – Have iOS 5 installed on your iPad 2
    – Make sure your Apple TV software is up-to-date. You can check for updates on the Apple TV by going to Settings > General > Update Software.
    – Have your TV turned with Apple TV active and showing.
    – Double-tap the home button on the iPad to bring up the Multitasking Bar.
    – Swipe to move to the left of the Multitasking Bar, so you can see the set of controls just to the left of the volume adjustment slider.
    – The button just to the right of the Fast Forward button – the one that has a rectangle with a solid, upward-facing arrow in it – is the AirPlay button. Tap to switch from iPad to Apple TV.
    – Once you do that you’ll see the Mirroring section appear just below the entry for Apple TV. Just tap to turn that On, and the iPad 2 will immediately begin mirroring to your TV screen.

  • Hi, I am trying to connect a WD Mybook for Mac to my airport/time machine device.  On the AirPort Utility it listed under Disks at 0 Mb.  I enabled file sharing.  But nothing happens.  If I plug it directly into my MacBook it works fine.  How do I fix it?

    I am trying to connect a WD Mybook for Mac to my airport/time machine device.  On the AirPort Utility it listed under Disks at 0 Mb.  I enabled file sharing.  And also followed all the steps - "secured disk access: with a disk passord", "Airport disk guest access: read and write", "Share disks over WAN". But nothing happens.  If I plug it directly into my MacBook it works fine.  How do I fix it?  Also, its connected via a powered usb hub.

    I assume that you are using  Mac operating system 10.4.11, as your profile indicates.
    The instructions that you referenced are for use with AirPort Utility....not AirPort Admin Utility.
    Suggest that you download and install AirPort Utility 5.4.2 for Mac , which will run on 10.4.11.
    Also noticed that the instructions do not tell you that the hard drive should be formatted in Mac OS Extended (Journaled) to work with the AirPort Extreme, but they should.

  • When trying to save it says don't have enough access privileges. what that mean please and how to remedy?

    when trying to save it says don't have enough access privileges. what that mean please and how to remedy?

    It means just that.
    You don't have privilege to write to your harddisk
    Check your user account.
    Which system is it?
    Which version of Illustrator?

  • On OSX10.8, friend logged in using his appleID now the app store is trying to update apps I don't have.

    On OSX10.8, friend logged in using his appleID now the app store is trying to update apps I don't have.  How can I clean this up?  I don't see the usual ignore update like I did back on older versions of the OS.  I don't really want to just ignore it I want to clean it all up.  How can I make sure there is nothing under his name or ID on my new laptop?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    The MAS doesn't usually offer updates for apps not present or not in your purchased list. Are you sure that the apps are not to be found on a mounted drive or partition, such as a backup?

  • SQL*Plus hangs when connecting to remote DB (Solaris, 10gR2)

    First of all the particulars:
    Local System:
    Solaris 8, Oracle 10.2.0.4, October CPU
    Remote System:
    Solaris 10, Oracle 10.2.0.4, July CPU
    We are trying to initiate a connection from our local system to our remote system using a DB Link. After opening SQL*Plus, we log in with <user>@<dblink>, are asked for a password, and after entering the password, SQL Plus hangs indefinitely (we typically have to kill the sqlplus process to regain our session). Also, logging into the local system with a local account, and then querying using the db link (select * from dual@<link>) gives the same result.
    From the remote system, we CAN log into the local system using the same process, and we can also query the local system. in other words, it works in one direction, but not the other.
    We have checked all the usual suspects: tnsnames, sqlnet, db_domain, global_names, and all are set correct for our setup (although I of course welcome suggestions to check something else in the files). Also have confirmed validity of /etc/hosts entries, and permissions on those files for the 'oracle' user. A 'tnsping' and 'ping' are both successful in both directions, though I understand these only check the listener and hardware layer.
    Our Sys Admin has checked firewall connections between the two systems, and stated that they're open on the listener port (1521).
    Listener log files on the remote host, when the hang happens, show an established connection from the local host.
    Does anyone have any suggestions as to what to check for next?
    Thank you in advance for the assist!

    Whew, that truss output is enough to make your eyes bleed!
    This system is on a closed network, so I cannot post the files here, nor would I wish reading those things on anyone nice enough to spend a minute here helping me out!@
    But comparing the truss from the "broken" system, and the working one, the sqlplus that hangs returns a:
    ERR #134 ENOTCONN on a getpeernam() thread.
    The other truss (working side), does not throw that particular line, and the truss output varies widely after that line in the output fille.
    After a few moments letting the sqlplus process "hang", I get:
    ERR #62 ETIME
    Outside of that, lust a lot of hex values!

  • Sql plus can't connect to server From windows vista - VISTA 2007

    ERROR-12154:TNS Could not resolve service name
    SERVER OPERATING SYSTEM UNIXWARE 7.1.4
    ORACLE 8i
    D2K- RELEASE 2.1- SQL Plus 3.3
    Loaded in front end on VISTA
    NET EASY CONFIGURATION Closes, can't configure
    I have done configuration manually.
    I thing VISTA Not supporting or some protocol to be configured in VISTA
    Please help me to solve the poblem.

    So your 8i db is on unixware and you are trying to connect to it from you local vista machine ?
    What Oracle client version are you using on vista ?
    Lowest 8i that support 10g client connection is 8 1 7 3 , 11g will not connect at all, and i think all 9i's will work,
    but it seems that you have wrongly defined entry in tnsnames for the db you are trying to connect to.

  • SQL*Plus sysdba remote connection

    Hello all,
    I'm attempting to connect to a remote database via splplus as the sys as sysdba user and am unable to do so. However, I am able to connect as a non-sysdba user. When I attempt to connect as sysdba, I receive no error but only the sqlplus Usage message. Here is some initial information:
    Client
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    U:\>sqlplus regular_user/password@mySID
    SQL*Plus: Release 9.2.0.1.0 - Production on Thu Jul 2 10:05:29 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    U:\>sqlplus sys/password@mySID as sysdba
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
          <logon>  ::= <username>[/<password>][@<connect_string>] | / | /NOLOG
          <start>  ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
            "-H" displays the SQL*Plus version banner and usage syntax
            "-V" displays the SQL*Plus version banner
            "-L" attempts log on just once
            "-M <o>" uses HTML markup options <o>
            "-R <n>" uses restricted mode <n>
            "-S" uses silent modeServer
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    U:\>sqlplus sys/password@mySID as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 2 10:21:01 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL>Based upon what I read here: I've found that the server has a PWDmySID.ora file in %ORACLE_HOME%\database. I've updated the %ORACLE_HOME%\database\initmySID.ora file to include the REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE line and have restarted the database.
    Any thoughts? Apparently I'm making some sort of syntax error logging in but I don't know what it is? :) Thanks.
    Edited by: nmd on Jul 2, 2009 9:43 AM

    HI,
    can you please try it like first entrying into the sqlplus and then enter the username and password..
    Also it should be sqlplus "sys/password as sysdba"
    Regards

  • Hello!, Trying to connect to my wifi, i have no idea what to do

    Hey everyone, I'm new to the mac forums: )
    Anyway I was hoping someone could help me work out my wifi issues
    Basically I will see my wireless network appear and when I click it it works for a few moments trying to connect but produces the error "could not connect to network Name". I'm not really sure what to do I tried resetting my router still no luck.
    Any thoughts?
    Thanks!

    Well Im not without complete knowledge of routing I have some cisco training infact..go figure : P. Anyway I tried some other suggestions like resetting to factory defaults on my router...no luck...changed the MTU from 1500 to 600 no luck...I don't know how to disable MAC adress filtering on this particular router...its a netgear wpn824. That is if that is the issue...I also tried to statically assign an adress to my pod, that matched mine I didnt get that to work either.. I do plan to visit some kind of hotspot today..but any ideas? sorry the first post was vauge.

  • I am trying to download the new version of Firefox but when I try its says to close all firefox connections but I don't have any open. The only open window is the one to start the download only

    I am trying to download new version of Firefox. After I try to run the program it states to close all Firefox versions but there is no Firefox open except for the download. What else can I do

    Do you have the "Green Arrow" icon on one of your toolbars? That usually will list your most recent downloads with a button to open the folder where they are saved.
    If you don't have that, you can open the full download list using either:
    * Ctrl+j
    * Tools > Downloads
    * History > Show All History, then click Downloads in the left column
    Can you find the download listed there and click the "Open Containing Folder" button?
    Are you downloading Flash or Acrobat/Reader?
    For Flash try: http://get.adobe.com/flashplayer/
    For Acrobat/Reader, you may not need an update.
    Firefox's plugin check site only recognizes the Adobe XI (11) series as current, but if you have checked for updates in your Adobe Reader X or Adobe Acrobat X product (Help > Check for Updates) then you do not need to update the plugin. For this older Reader/Acrobat version, please rely on Adobe for information on available updates and not the plugin check site.

  • Stop itunes trying to connect to the store (i have no internet)

    I've read several posts on this, found nothing on stoping when there is no internet connection...
    The PC that this itunes is on will not be connected to the internet. I've just downloaded the itunes installation file, stuck it on a USB stick transfered it to the other PC
    I literaly opened itunes, and it's trying to connect to the store! There is NO music on there yet as I've only just installed windows 7 on it!
    How can I stop the thing trying to connect ?
    thanks

    Have you had a look here,
    Can't connect to the iTunes Store
    From here
    http://www.apple.com/support/itunes/troubleshooting/

  • I cannot download my purchase, check your connection and you don´t have the privileges to download that music

    i have problems to download my resent purchased music and videos on my Mac, they wont download because an error, it sais that i don´t have priviliges and conection erros is marked....

    Hey Jethoo.
    At first blush, what you've written looks fine to me (assuming all the correct grants, etc. work in other business areas in the EUL).
    So, let me just go over it.
    1. You granted security (not privs) on the business area to a role 'B_User'. That means that anyone going into Disco using that role will let them see the underlying data.
    2. You've granted privs to the role 'B_User' to be able to play with Disco. That looks fine.
    3. You've written workbooks that have been shared with the role 'B_User'. That means that the end user can run a workbook.
    So what I'd look at are:
    4. I assume you only have 1 EUL and if not, are pointing to the correct one (in Tools -> Options -> EUL.
    5. Did you create the workbooks in Disco Plus or Disco Desktop?
    6. Have you tried to run the same workbooks in Disco Desktop?
    7. When you did all the Admin stuff, did you reconnect in Disco Plus / Desktop before going on?
    8. Did you assign the role to the user - at the database level you're having problems with?
    9. Was it Friday the 13th. when you did all this - okay, maybe that's not an issue, but reaching here.
    Russ
    Message was edited by:
    russ_proudman

  • IPhone tries to iMessage people who don't have ios5

    This is the situation- I have an iPhone 4s and my friend had a 3GS with ios 5. We could iMessage back and forth until their phone broke and they downgraded to a 3G. No more iMessage. My phone still recognizes their number as someone who had iMessage though and tries to iMessage them. Then I have to go through the long process of it trying and failing to send an iMessage to them and then me having to press the error button and send it as a text, every time I want to text them. Any suggestions? I've tried turning off and turning back on iMessage but nothing changed.

    iMessage allows you to send unlimited text, photos, videos, locations, and contacts using Wi-Fi or 3G* from your iPhone, iPad, or iPod touch to other iOS 5 users. "
    http://support.apple.com/kb/HT3529
    What is the issue with facetime?

Maybe you are looking for

  • Error in uploading a File

    Hi All, when uploading a file i got a Exception <b>"Parse method is not possible for this type"</b> 1)i used only two UIs in view 2)FileUpload UI and Button 3)For FileUpload UI i assigned the FileResource context attribute value for data property 4)a

  • Programming for College with Windows Apps on bootcamp HELP?

    Hello everyone I come to you for help after a long search for the perfect laptop. Right now I am using a macbook late 2009 with multitouch. I love the features but after signing up for some programming classes for college I had to revise what laptop

  • Error in Weblogic Server 8.1

    Hi, I have deployed a web application in Weblogic. When i am trying to access the first page, i am getting the following exception:-- java.lang.IllegalStateException: Attempt to change ContentType after calling getWriter() (cannot change charset from

  • [Solved] Openbox-Message: Failed to open the display from the ....

    ArchLinuxForums_Suck wrote: Hey, I'm new to Arch and I've been working on setting it up on my Laptop and so far I haven't had very many problems save one.  I can't get any of the available Window Managers.  Whenever I try running them I get a message

  • Total no of pages in spool

    i need to print  total no of pages in the classical report output in the spool . i have implemented the below code but its calculating incorrect page numbers. CALL FUNCTION 'DISPLAY_PAGENUMBER' EXPORTING     LINES_TOTAL        = LW_TOT_LINES_5     LI