Can network setting cause sql*plus logon failure?

During install of verizon service the techs had to alter some network setting to allow the cable connection to work. Afterwards I was unable to connect to oracle database using pl*sql, getting instead an ORA 12514 error.
Is it possible the altered network settings caused this problem? I am running oracle 10g on XP windows.

1. you're not using pl*sql to connect. you're using SQLPLUS to connect.
2. ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
so, verizon changed something, perhaps the "windows\system32\drivers\etc\hosts" file, so that now your TNSNAMES.ORA has the wrong info. check tnsnames.ora, and see if it's using machine name, IP, or "localhost", then give the new, correct info.

Similar Messages

  • Is there some time setting in sql*plus or Oracle9i

    Hi guys,
    I just run the following simple query in sql*plus in oracle 9i:
    select * from pers ;
    The table is around 190k rows. But it always stops running after 28-30minutes. No error message displayed and the whole sql*plus just hang on there.... The only thing I can do is to restart the sql*plus.
    I got this problem when I run some other query, so I use this simple query just to test if it will stop after running 30m. Now it does. I'm thinking there is some setting in sql*plus or ORACL9i I need to do. Could someone help me to solve this problem?
    Thanks in advance,

    Hi,
    you can check out this information in the user_resource_limits table.
    select * from user_resource_limits;
    COMPOSITE_LIMIT UNLIMITED
    SESSIONS_PER_USER UNLIMITED
    CPU_PER_SESSION UNLIMITED
    CPU_PER_CALL UNLIMITED
    LOGICAL_READS_PER_SESSION UNLIMITED
    LOGICAL_READS_PER_CALL UNLIMITED
    IDLE_TIME UNLIMITED
    CONNECT_TIME UNLIMITED
    PRIVATE_SGA UNLIMITED
    Thanks.

  • Set Up SQL*Plus Issue

    Folks,
    Hello. My Operating System is Oracle Linux 5. Database is Oracle DB 11gR1.
    I have tried to set up SQL*Plus in the following way:
    My directory: /home/myOracle/OracleDB_Home/bin
    SYSTEM_PASS=SYSTEM/SYSTEM
    export SYSTEM_PASS
    ./sqlplus SYSTEM/SYSTEM
    But this message comes up:
    Error 6 initializing SQL*Plus
    Message file sql<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle Software directory.
    Where is message file sql<lang>.msb ? What is Oracle Software directory ?
    Can any folk help to solve this issue ?

    Duplicate post
    Re: Set Up SQL*Plus Issue

  • SQL*Plus logon attempt counter

    Hi,
    I would like to use SQL*Plus to run some script agains DB. And I want to run it through script.
    So, I can set following parameters for sqlplus: logon and SQL-script name.
    But I have a problem how to check that this SQL has been run. For example DB is staying in RESTRICTED mode. Command:
    sqlplus user/password@db @test.sql
    will return ORA-01035: "ORACLE only available to users with RESTRICTED SESSION privelege" and will wait for second attempt to connect.
    But it is not possible to do it from script.
    Any ideas how to disable 3 attempts to connect and check EXIT ERROR CODE?
    Thanks a lot,
    Boris

    1. you're not using pl*sql to connect. you're using SQLPLUS to connect.
    2. ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    so, verizon changed something, perhaps the "windows\system32\drivers\etc\hosts" file, so that now your TNSNAMES.ORA has the wrong info. check tnsnames.ora, and see if it's using machine name, IP, or "localhost", then give the new, correct info.

  • Can I set up SQL Trace or Audit to connect to servers

    I have a server (2003) with SQL (2005) on it. 
    If i install MS SQL Management Studio 2012 on my PC, can I audit what SQL on that server is doing by connecting to it from the PC ?
    Or would it be better to set up SQL Trace on the server itself ?
    Thanks
    Pete

    So if I install SSMS 2012 on my PC, I can connect to the databases on different servers from 1 place. 
    Yes, as long as there is network connection.  In SSMS open up the Registered Servers window and register all servers:
    http://technet.microsoft.com/en-us/library/ms188231.aspx
    Related thread:
    http://social.msdn.microsoft.com/forums/sqlserver/en-US/8209ad2c-6efd-49d6-9605-b7f348eb56bb/how-to-connect-sql-database-on-different-network
    Setting up server-side tracing:
    http://www.sqlusa.com/bestpractices/createtrace/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Detecting clientside NLS_LANG setting in SQL*Plus script

    Our company has developed an application that uses an Oracle database as it backend. Companies can buy our application and run it against their own Oracle installation.
    A new version of our application often requires an update to the Oracle database schema.
    Together with new application files we send our customers an update.sql script they must run against their database using SQL*Plus.
    This update script may contain international characters like é for example:
    UPDATE SHOPS SET DESCRIPTION = 'Café'
    WHERE SHOP_ID=1We save the SQL-script file in windows-1252 encoding so the character é is encoded as 0xE9 in the script file.
    When the DBA running the upgrade script has set NLS_LANG=.WE8MSWIN1252 this works perfectly.
    When the DBA has set his NLS_LANG=US7ASCII the é gets replaced by an upside-down question mark. Other NLS_LANG settings can also be troublesome.
    To prevent this we give very clear installation instructions. However, nobody reads them. This leads to two questions:
    A) Is there a way to prevent this problem so I do not depend on the NLS_LANG setting by the DBA running the upgrade script?
    B) Otherwise: is there a way to test for the NLS_LANG setting inside the script and abort if it is not WE8MSWIN1252?
    Info:
    Database is 10.2.0.3/10.2.0.4 and sometimes 10.2.0.5, always database character set WE8MSWIN1252.
    Client software: I do not know what each DBA uses but it will be mostly 10g client software
    Client OS: Some DBA's will be running the script from Windows, others from some Unix variety. I cannot control that.

    I agree with Sergiusz. You're much better off if you can remove character set dependencies from your scripts by using commands like this.
    UPDATE SHOPS SET DESCRIPTION =  unistr( 'Caf\00E9' )
    WHERE SHOP_ID=1 ;If that's not possible however you can try this approach to determine the session's character set.
    SQL> column USERENV_LANGUAGE format a30
    SQL> column oracle_charset   format a20
    SQL> r
      1  select
      2    userenv_language
      3  , substr
      4    ( userenv_language
      5    , instr( userenv_language, '.' ) + 1
      6    ) as oracle_charset
      7  from
      8  ( select sys_context( 'USERENV', 'LANGUAGE' ) as userenv_language
      9    from dual
    10* )
    USERENV_LANGUAGE               ORACLE_CHARSET
    AMERICAN_AMERICA.AL32UTF8      AL32UTF8 --
    Joe

  • Can't connect to SQL Plus after installation...

    Windows XP (Admin account)
    installed 10g XE
    I have no other ORACLE_HOME or TNS files.
    All services are started
    here is the listener
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Beta
    Start Date 17-NOV-2005 23:34:31
    Uptime 0 days 0 hr. 5 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VANDERBI-M8R870)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 3 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
    when I try to connect with SQL PLUS
    SQL*Plus: Release 10.2.0.1.0 - Beta on Thu Nov 17 23:44:45 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    I do have the entry in TNSNAMES.ORA
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = VANDERBI-M8R870)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    any ideas?

    The TNS-12154 (ORA-12154) error appears when SQL*Net cannot find the alias specified for a connection in the TNSNAMES.ORA file or other naming adapter.
    Since we can clearly see the XE entry in your TNSNAMES.ORA file from your further post, the message implies that you are not using the TNSNAMES.ORA that contains the entry, or something is changing the lookup so the entry is not found.
    Using a different TNSNAMES.ORA can occur under the following situations:
    1) You have a TNS_ADMIN environment variable or registry entry that points somewhere other than this TNSNAMES.ORA
    2) You are on Windows NT and are using a SQLPLus that is in a different ORACLE_HOME. The WIndows environment forces the use of the networking subsystem in the ORACLE_HOME as the client program (such as SQLPLUS), which defaults to the TNSNAMES.ORA in the home as the client.
    Things I would check:
    - is there another TNSNAMES.ORA anywhere on the system
    - is there a system environment variable called TNS_ADMIN, or is that string found in the registry
    - is there possibly a second SQLPlus.exe (even on a networked drive) that migt be called before the XE - supplied SQLPLUS
    It is also possible to have a SQLNET.ORA impacting the way TNSNAMES.ORA is used. If all else checks out, we should look at the %ORACLE_HOME%\network\admin\sqlnet.ora in detail as well.
    By the way, the Oracle Network Administration docco has two whole chapters devoted to troubleshooting networking issues, from initial config through data errors in the various config files. If you want to track it faster, check out http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm

  • Set up SQL*plus client

    Hi Friends,
    I download oracle10g release 2 and create a test database. I can connect to database by server side SQL*plus.
    However, I install oracle client 10.2.01.0 in other mechine. I could not connect server.
    TNS as
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    #SQLNET.AUTHENTICATION_SERVICES = (NTS)
    #NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    DS02 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jimmy.mycompany>COM)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME =orcl)
    how to fix it?
    I am new person in DBA.
    Thanks
    JIm

    On your server side do
    lsnrctl status
    what's the result?

  • How can I set New Tab Plus as my default tab?

    When I would open a new tab, New Tab Plus would come up, then I could select from my apps that I had added on there. Tonight we had a quick power outage (under 1 minute) while I was out and when I opened Mozilla (that part came up correctly) and clicked to open a new tab, New Tab Plus should have come up, but didn't. I'm not very computer literate, so I'm not sure how to get New Tab Plus to come up when I open a new tab. I even tried reinstalling but I can't remember how to have it as I had it before.

    I strongly suggest that you buy an Uninterruptible Power Supply (UPS).
    Some of them also have software that, if the UPS is out of juice, it
    will safely shut down the computer.

  • SQL*Plus Not responding when calling edit command

    When I write a Query in SQL Plus 9.2.0.1.0, Installed in Windows XP SP2, and running EDIT command, notepad opens and then SQL Plus and Notepad both hangs. By killing notepad.exe process I can continue working in SQL Plus.
    I tried changing the default editor to ultra edit, wordpad, etc. But It seems to be a SQL Plus error, with all editors I set up, Editor Hangs.
    The same things happende me installing the Oracle 9i client in another machine.
    Need help with this, thanks!!

    Sounds strange - and does not sound like a SQL*Plus problem. SQL*Plus uses the CreateProcess() Win32 API call to create the editor process. Then it waits for this process' process handle to cease to exist before it continues. SQL*Plus does not "hang" - it simply waits for the spawned process to terminate before it continues.
    It is not possible for one process to "hang" another process it created via the CreateProcess() call. It will need to interact with that spawned process in other ways to make it hang. Caveat: unless the spawned process does not "like" the parameters passed to it via the CreateProcess() call...
    The only parameter passed is the filename (usually afiedt.buf) by SQL*Plus - and that should not cause the editor to hang.
    Unless there is a specific Oracle bug you're running in, this problem sounds more like a Windows issue. After using the ED command in SQL*Plus, can you manually view and edit the afiedt.buf file it created?

  • SQL*Plus username/password

    **While leaving the host name blank, I've tried to use the following username/password combinations to no avail:
    scott/tiger
    system/manager
    **I always receive this error message:
    ORA-12560 TNS:protocol adapter error
    **When I looked that error message up with a quick internet search, I came upon this information:
    What causes this error?
    This message indicates that there is a problem at the protocol adapter level. That is, SQL*Net and the Interchange are functioning correctly, but there is something wrong with the protocol adapter that underlies them.
    How to fix it
    Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete or you will use a lot of disk space. The trace file will have details of the problem.
    You may get this error running Oracle 8.1.6 under Win2000 when you try to log in using 'svrmgrl'. You can normally connect using SQL*Plus or any other product, svrmgrl is going to be discontinued.
    **I'm not terribly sure what the "how to fix it" intructions mean. I'd appreciate any help in trying to figure that out.

    I downloaded the database and received the same error message. What do you mean by that? You cannot just download a database. You can download the Oracle server software, install it, and create a database.
    Are you on a network with a database already installed somewhere on that network? In that case, ask the DBA to make your connection to that database.
    can you tell me more about tools that support PL/SQL?PL/SQL is supported in the Oracle database, Forms, Reports, web pages can be created with it etc. You really need to have an idea what you want to do. Oracle is so complex, that you cannot just start somewhere.

  • ORACLE /SQL PLUS/

    I DOWNLOADED 9i DATABASE 9.2.0.1.0 TO ACCESS THE SQL PLUS APPLICATION TO PRACTICE SQL. UPON THE LOGIN SCREEN WHEN IT ASK TO PUT IN USER I.D.,PASSWORD, AND HOST STRING. I RECEIVE AN ERROR MESSAGE THAT SAYS "ORA-12560: TNS: PROTOCOL ADAPTER ERROR" I BELIEVE IT IS SOME TYPE OF CONNECTION ERROR WITH THE NET CONFIGURATION ASSISTANT. SOMEONE PLEASE HELP. THANKS

    Hi
    If your PC is not networking, you can't access database via lisenter. However, you still can access database via sql*plus.
    1.go to Dos Prompt
    2.C:\>sqlplusw /nolog
    3 SQL>conn usaname/password
    Don't forgot startup your database before issue these command
    I'm an OCP, have 7 years database administrate experiences.
    I need a job. I'm in calgary, Canada
    [email protected]

  • SQL*Plus vs web/browser admin interface for 10g Express

    hello, I'm a newbie in Oracle. Seem like I executed the setup script using SQL*Plus successfully (the scrpt CREATE TABLE then INSERT setup data) but seems like Oracle 10g Express web/browser interface tells me the setup data has never been inserted into the tables created?!
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 6 14:10:05 2009
    +                         Copyright (c) 1982, 2005, Oracle. All rights reserved.+
    +                         SQL> connect dev/dev+
    +                         Connected.+
    +                         SQL> set serveroutput on+
    +                         SQL> @C:\dev\...sql\Oracle\SetupSchema\setup.oracle.tables.sql+
    +                         1125 /+
    +                         PL/SQL procedure successfully completed.+
    I verified this from SQL*Plus environmet:
    SQL> select count(1) from GenericCombolistItem
    +2 /+
    COUNT(1)
    +506+
    I then closed SQL*Plus and tried to browse via :
    http://127.0.0.1:8081/apex/f?p=4500:1003:480765345738397::NO:1003::
    (Start>All Programs>Oracle Database 10g Express Edition>Go to Database Home Page)
    I ran the count(1) SQL again just to check. The table is empty?! I logged into SQL*Plus AND 10g web interface using same credential dev/dev. Not sure what's happening why I can see data from SQL*Plus but not web/browser admin interface

    GOT IT! --- I needed COMMIT

  • How to install SQL*Plus help facilities and demos.

    Hi, everyone
    It appears error message say "failure to login" during SQL*Plus
    part of the Oracle8 full installation. I knew that system want
    to install SQL*Plus help and demos through logining one of
    dba account(maybe system user account). However, due to
    password's reason, can not log in SQL*Plus, so installer can't
    execute named pupbld.sql script, result in SQL*Plus help and
    demos can not be installed.
    Now, I am intend to install these stuff lonely.
    Could anyone help me? thank a lot.
    William
    null

    Hi,
    The pupbld.sql isn't the correct script to create the help
    facility, it just creates product and user profile tables.
    The help script is at $ORACLE_HOME/sqlplus/admin/help (run as
    system)
    cd $ORACLE_HOME/sqlplus/admin/help
    sqlplus system/<password> @helptbl
    sqlldr system/<password> control=plushelp.ctl
    sqlldr system/<password> control=plshelp.ctl
    sqlldr system/<password> control=sqlhelp.ctl
    sqlplus system/<password> @helpindx
    I think it is necessary to run the pupbld.sql script, without
    this script everyone who logins in oracle with sqlplus will see
    an error message, but... Run the script again:
    $ORACLE_HOME/sqlplus/admin/pupbld.sql
    Best regards,
    Ari
    William (guest) wrote:
    : Hi, everyone
    : It appears error message say "failure to login" during SQL*Plus
    : part of the Oracle8 full installation. I knew that system want
    : to install SQL*Plus help and demos through logining one of
    : dba account(maybe system user account). However, due to
    : password's reason, can not log in SQL*Plus, so installer can't
    : execute named pupbld.sql script, result in SQL*Plus help and
    : demos can not be installed.
    : Now, I am intend to install these stuff lonely.
    : Could anyone help me? thank a lot.
    : William
    null

  • SQL Plus Log On

    Hi ,
    I have an oracle instance on my laptop . now i log into my laptop as administrator on the laptop's domian . when i log on like this i am able to log into SQL*Plus . but when i log into my laptop on my companies domain and try to start up SQL*PLUS i am unable to do so it says end of file communiction even though the ORacle Server Instance up( i am looking at the instance in the NT Services )
    IS there a settings which has to be set so that i can log on to SQL*Plus when logging to my laptop on my company domian
    Thanks
    Ravinder

    You may want to check to see if the LISTENER is running. Often the administrator of a box can login without the listener running, but anyone else cannot.

Maybe you are looking for

  • Language Translation in BW3.5

    Hi All, We have a requirement to display user interface/reports in Spanish language. We are working on BW 3.5. I am trying to set up the translation environment following the link on sdn     http://help.sap.com/saphelp_nw04/helpdata/en/ad/06dcf4c4be1

  • Photo Syncing [iPhone 3GS iOS4]

    Can anybody please help me on my problem? Before I upgraded to iOS 4, my photos are sorted by file name.. (Actually, I like it this way) But now, since updating my iTunes/iPhone OS, it seems that my photos are sorted by "date taken"... (I dont like t

  • New file location in folders out of view

    +posted by toniemae:+ +When I add a file to an existing or new folder, that file goes to the bottom of the folder out of view, and the folder has a very long scroll bar. That file can be dragged up next to other files near the top of the folder. Or t

  • Open port for one device

    Occasionally I need to open a port to one device on my network so a programmer has access to a home automation controller. Previosly I was using the RVS4000 with no problems. I would just put my port number in and tell the router what IP address the 

  • Serialization of Z message type

    Hi, We have a Zprog  pulls the file from unix and creates the idocs.. it creates multiple types of idocs.  The message type is also customised(Z). The issue is that when idocs are created, they are processed out of order causing the updates to assets