Unable to use SQL Plus (Windows 2003 x64 Server)

Hi all
I have some trouble with tnsname.ora ...
I have installed Oracle Client 10.2.0.1.0 with the ODBC Driver and SQLplus etc.
Now I have configured in the "Net Manager" some "Service Naming" as I did
on other servers before. Then I Test the connection in the "Net Manager" it
seams to work fine.
When I now try to connect in SQL Plus the following error comes up:
ORA-12154: TNS:could not resolve the connect identifier specified
I did already do this:
- Add "...\NETWORK\ADMIN" to the Path Variable of the server
- sqlnet.ora looks like:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES)
- tnsnames.ora looks like:
MyName.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myDomain.net)(PORT = 1521))
(CONNECT_DATA =
(SID = DBSIDxx)
I am accessing like MyName.WORLD ...
What do I have to do to get this working ???
Thanks for any comments!
Best regards
Frank Uray

1) Please verify that there is only one tnsnames.ora file on your system.
If there are several (other than in 'samples' directories), please make them all look the same and try again.
2) If not, please post the contents of your tnsnames.ora AND sqlnet.ora files.
Message was edited by:
forbrich
Re-read your original message and noteiced you posted the tnsnames.ora stuff.
Your alias is 'MyName.world', therefore you want to access using the connect string such as
SQLPLUS system/[email protected]
If you want to use SQLPLUS system/password@myname (no .world) then either remove it from the alias or add the default_domain info in sqlnet.ora

Similar Messages

  • Oracle ODBC Driver (Windows 2003 x64 Server)

    Hi all
    I have some trouble with this ODBC Driver ...
    I have installed Oracle Client 10.2.0.1.0 with the ODBC Driver and SQLplus etc.
    Now I have configured in the "Net Manager" some "Service Naming" as I did
    on other servers before. Then I Test the connection in the "Net Manager" it
    seams to work fine.
    When I now try to connect in SQL Plus the following error comes up:
    ORA-12154: TNS:could not resolve the connect identifier specified
    I did already do this:
    - Add "...\NETWORK\ADMIN" to the Path Variable of the server
    - sqlnet.ora looks like:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    - tnsnames.ora looks like:
    MyName.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myDomain.net)(PORT = 1521))
    (CONNECT_DATA =
    (SID = DBSIDxx)
    What do I have to do to get this working ???
    Thanks for any comments!
    Best regards
    Frank Uray

    Nevermind, I think I'm to assume that this is the same as:
    Re: unable to use SQL Plus (Windows 2003 x64 Server)

  • How to configure windows 2003 x64 server to run CFUSION MX7

    1.If you install Internet Information Services (IIS) on a
    computer that is
    running Windows Server 2003 x64 Edition, IIS must be
    configured to run in
    32-bit emulation mode. To do this, follow these steps on each
    front-end Web
    server that is running Windows Server 2003 x64 Edition:a.
    Click Start,
    click Run, type cmd, and then click OK.
    b. At the command prompt, move to the
    %drive%:\Inetpub\Adminscripts
    folder. Note that %drive% is the drive on which Windows
    Server 2003 is
    installed.
    c. In the Adminscripts folder, type the following command,
    and then
    press ENTER:
    cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64
    1
    Note The value "1" for Enable32bitAppOnWin64 specifies
    32-bit mode.
    The value "0" specifies 64-bit mode.
    d. Type iisreset, and then press ENTER.
    e. Close the Command Prompt window.

    Thank you sir.
    BTW, if this enables 32 bit emulation mode, does that mean it
    runs both 32 bit & 64 bit extensions, or just 32 bit
    extensions?

  • SQL Developer on Windows 2003 x64 Edition "failed to initialize..."

    I am trying to run sqldeveloper on Windows server 2003 x64 and I get the following error:
    The application failed to initialize properly (0xc0000018). Click on OK to terminate the application.
    I get this error with the version with jre, and with the version without the jre.
    I have Java 1.6 installed on that server (applet shows up under x86 control panels)
    I can reproduce this on two different win 2003 x64 servers, but it works fine on a windows 2003 standard (32 bit)
    Any idea how to fix this?
    thanks.

    This might not be the right place to post this question, but will give it a shot . . .
    I've installed JDK 1.5 and downloaded/unzipped SQL Developer on my Windows 2003 x64 server, then launched sqldevelper.bat from the advice given above -- but I get an error saying:
    'java' is not recognized as an internal or external command,operable program or batch file.
    I made sure I have java installed:
    C:\Program Files (x86)\Java>dir
    Volume in drive C has no label.
    Volume Serial Number is A86A-1831
    Directory of C:\Program Files (x86)\Java
    03/29/2007 07:29 PM <DIR> .
    03/29/2007 07:29 PM <DIR> ..
    03/26/2007 06:01 PM <DIR> j2re1.4.2_12
    03/29/2007 07:24 PM <DIR> jdk1.5.0_05
    03/29/2007 07:25 PM <DIR> jre1.5.0_05
    03/29/2007 07:29 PM <DIR> jre1.5.0_11
    What am I doing wrong, that would cause 'java' is not recognized as an internal or external command,operable program or batch file?

  • Oracle 11.1.0.7.0 patch 5 for windows 2003 x64.. Please help.

    Hello All
    I have Oracle EE 11.1.0.7.0 running on Windows 2003 x64 server plus ASM, and I want to apply patch 5, so that it becomes 11.1.0.7.5.
    I came to know from Oracle Support Services, Windows patche comes as bundled patchset, but I am not sure which patch to apply, there are 38 of them. Is 11.1.0.7.5P the correct one?.
    Patchset Avaialble:
    11.1.0.7.0 Patch 38 (11.1.0.7.38P) 32-Bit Patch:11741169 64-Bit (x64) Patch:11741170
    11.1.0.7.0 Patch 37 (11.1.0.7.37P) 32-Bit Patch:10636464 64-Bit (x64) Patch:10636465
    11.1.0.7.0 Patch 36 (11.1.0.7.36P) 32-Bit Patch:10350787 64-Bit (x64) Patch:10350788
    11.1.0.7.0 Patch 35 (11.1.0.7.35P) 32-Bit Patch:10245099 64-Bit (x64) Patch:10245101
    11.1.0.7.0 Patch 34 (11.1.0.7.34P) 32-Bit Patch:10168052 64-Bit (x64) Patch:10168056
    11.1.0.7.0 Patch 33 (11.1.0.7.33P) 32-Bit Patch:9773817 64-Bit (x64) Patch:9773825
    11.1.0.7.0 Patch 32 (11.1.0.7.32P) 32-Bit Patch:9930894 64-Bit (x64) Patch:9930895
    11.1.0.7.0 Patch 31 (11.1.0.7.31P) 32-Bit Patch:9846179 64-Bit (x64) Patch:9846180
    11.1.0.7.0 Patch 30 (11.1.0.7.30P) 32-Bit Patch:9869911 64-Bit (x64) Patch:9869912
    11.1.0.7.0 Patch 29 (11.1.0.7.29P) 32-Bit Patch:9718019 64-Bit (x64) Patch:9718020
    11.1.0.7.0 Patch 28 (11.1.0.7.28P) 32-Bit Patch:9707661 64-Bit (x64) Patch:9707665
    11.1.0.7.0 Patch 27 (11.1.0.7.27P) 32-Bit Patch:9604444 64-Bit (x64) Patch:9604446
    11.1.0.7.0 Patch 26 (11.1.0.7.26P) 32-Bit Patch:9523179 64-Bit (x64) Patch:9523181
    11.1.0.7.0 Patch 25 (11.1.0.7.25P) 32-Bit Patch:9392331 64-Bit (x64) Patch:9392335
    11.1.0.7.0 Patch 24 (11.1.0.7.24P) 32-Bit Patch:9384493 64-Bit (x64) Patch:9384497
    11.1.0.7.0 Patch 23 (11.1.0.7.23P) 32-Bit Patch:9264211 64-Bit (x64) Patch:9264214
    11.1.0.7.0 Patch 22 (11.1.0.7.22P) 32-Bit Patch:9166858 64-Bit (x64) Patch:9166861
    11.1.0.7.0 Patch 21 (11.1.0.7.21P) 32-Bit Patch:9082702 64-Bit (x64) Patch:9082709
    11.1.0.7.0 Patch 20 (11.1.0.7.20P) 32-Bit Patch:9025140 64-Bit (x64) Patch:9025144
    11.1.0.7.0 Patch 19 (11.1.0.7.19P) 32-Bit Patch:8928976 64-Bit (x64) Patch:8928977
    11.1.0.7.0 Patch 18 (11.1.0.7.18P) 32-Bit Patch:8832980 64-Bit (x64) Patch:8832986
    11.1.0.7.0 Patch 17 (11.1.0.7.17P) 32-Bit Patch:8783655 64-Bit (x64) Patch:8783657
    11.1.0.7.0 Patch 16 (11.1.0.7.16P) 32-Bit Patch:8689191 64-Bit (x64) Patch:8689199
    11.1.0.7.0 Patch 15 (11.1.0.7.15P) 32-Bit Patch:8655458 64-Bit (x64) Patch:8655460
    11.1.0.7.0 Patch 14 (11.1.0.7.14P) 32-Bit Patch:8603948 64-Bit (x64) Patch:8603952
    11.1.0.7.0 Patch 13 (11.1.0.7.13P) 32-Bit Patch:8553512 64-Bit (x64) Patch:8553515
    11.1.0.7.0 Patch 12 (11.1.0.7.12P) 32-Bit Patch:8508245 64-Bit (x64) Patch:8508247
    11.1.0.7.0 Patch 11 (11.1.0.7.11P) 32-Bit Patch:8451592 64-Bit (x64) Patch:8451598
    11.1.0.7.0 Patch 10 (11.1.0.7.10P) 32-Bit Patch:8416539 64-Bit (x64) Patch:8416540
    11.1.0.7.0 Patch 9 (11.1.0.7.9P) 32-Bit Patch:8343061 64-Bit (x64) Patch:8343070
    11.1.0.7.0 Patch 8 (11.1.0.7.8P) 32-Bit Patch:8297200 64-Bit (x64) Patch:8297201
    11.1.0.7.0 Patch 7 (11.1.0.7.7P) 32-Bit Patch:8260294 64-Bit (x64) Patch:8260301
    11.1.0.7.0 Patch 6 (11.1.0.7.6P) 32-Bit Patch:8219259 64-Bit (x64) Patch:8219268
    *11.1.0.7.0 Patch 5 (11.1.0.7.5P) 32-Bit Patch:7712568 64-Bit (x64) Patch:7712570*
    11.1.0.7.0 Patch 4 (11.1.0.7.4P) 32-Bit Patch:7682184 64-Bit (x64) Patch:7682189
    11.1.0.7.0 Patch 3 (11.1.0.7.3P) 32-Bit Patch:7664953 64-Bit (x64) Patch:7675231
    11.1.0.7.0 Patch 2 (11.1.0.7.2P) 32-Bit Patch:7586190 64-Bit (x64) Patch:7586195
    11.1.0.7.0 Patch 1 (11.1.0.7.1P) Only available in 32-Bit Patch:7540527
    Any help would be great.
    Regards
    Amit

    Hi All
    I have applied this patch 38 for Oracle 11.1.0.7.0 on Windows 2003 x64 bit server today but the database version from v$version didn't change at all and still its showing 11.1.0.7.0, I expected it to show 11.1.0.7.5.
    Any suggestions.
    Regards
    Amit

  • Connecting Oracle using SQL Plus in command window through LDAP settings?

    Hi
    Just like to know if it is possible to connect Oracle using SQL Plus with connection type as LDAP.
    Generally we connect to Oracle in cmd window as
    username/password@DBServiceName
    Similarly is it possible to connect Oracle using SQL plus cmd window using LDAP configuration settings.
    Eg:-
    If my LDAP server is oid:123:456
    Context is: cn=OracleContext,dc=abcdefgh,dc=com
    DBService is: xyz
    Regards
    jc

    Specify the -L command line option to SQL*Plus, i.e.:
    sqlplus -L username/password@db @blah.sql
    (this will prevent the second prompt for username/password if the initial login is unsuccessful for any reason, like an invalid password).

  • High swap file utilization - 11g on windows 2003 x64

    Hi,
    I'm running database 11.1.0.6 patch set 10 on
    Windows Server 2003 x64 standard
    HP DL380 dual quad core + 8GB RAM
    2 x 72GB 15K SAS mirror for OS
    6 x 72GB 15k SAS RAID-5 for data + logs (i know ideally logs need to move to a RAID-1 set etc)
    dedicated mode
    database is about 10GB (main set of tables about 1GB)
    SGA + PGA 4GB (auto memory management)
    server has been set to network application mode such that less mem is allocated to the system cache etc.
    Large Page support has been enabled (not confirmed if this is working, any ideas how to?)
    Looking at the page faults and page out perf mon stats it looks too high/ too much given the arrangement above. The majority of the page faults are coming from the Oracle.exe process. But I cannot explain why specially if Large Page is setup then the SGA etc should be locked in to RAM as I understand.
    side note I was seeing similar behaviour on the older 10.2.0.1 DB that had same mem config for the same set of data.
    Any ideas people?
    Thanks

    JA,
    On the server, open Task Manager and then select the Processes tab. Make certain that it is configured to show the Page Faults column and click on the entry for the Oracle instance so that it is highlighted. Then, open a command prompt and start SQL*Plus with the /NOLOG command line parameter. Make note of the current value of Page Faults and then connect to the database instance using SQL*Plus using the SYS user account (or some other account). You will probably find that the Page Faults value jumped by about 302 as a result of the login, and the value just might jump again when you disconnect from the database. Keep in mind that each session connecting to an Oracle instance running on Windows will require at least 1MB of memory immediately on connection as an additional thread is created (assuming shared server is not used). If each memory page were 4KB in size (as is the standard in Windows), there would likely be at least 256 (1MB / 4KB) page faults for each login, and possibly the same amount per disconnect. With this in mind, I am not so certain that 500 page faults per second is a high value for a Oracle process running on Windows if users/applications are constantly connecting and disconnecting from the Oracle database instance.
    To determine if there is a performance problem caused by memory utilization, what you may want to do is take a look at the PF Usage value on the Performance tab of Task Manager. This is NOT the page file usage, regardless of the warnings that appear in Enterprise Manager - this is total memory allocation including RAM and swap file usage. There is an interesting thread where I discovered the actual meaning of PF Usage here:
    http://groups.google.com/group/comp.databases.oracle.server/browse_thread/thread/b62c4d761cace2a6
    If the PF Usage is considerably less than the amount of the RAM in the server (8GB RAM -> PF near 7GB is OK), you will likely be OK, as long as you do not attempt to move multi-gigabyte files around - doing so could cause short term memory starvation issues for Oracle. You might want to verify that the File and Printer Sharing option of the network card is set to "Maximize throughput for network applications" so that Windows will limit the memory used for file caching.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Can Rapid Installer be used in a Windows AMD X64 Environment?

    Can Rapid Installer be used in a Windows AMD X64 environment to install 64-bit versions of EP 7.0/ESS/MSS, SAP Java AS, and MS SQL 2005; and if not, does Rapid Installer 32-bit have to be executed remotely from a 32-bit system?

    Please check this link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/503f02a7-1244-2a10-afa2-af1e8e5e4773

  • Can v read a client text file using SQL*plus??

    We have a requirement like this: We need to read a text file to find spelling mistakes. Problem is the file has to be always moved to the DB machine, which is a Linux box and then run a stored procedure which uses UTL_FILE. Now in order to show the spelling mistakes of the file the user will have to again copy the file with the spelling mistakses (output file) from Linux to Windows.
    Is there a way to do it using SQL*Plus, where the text file is in the client machine???? Then users don't have to copy the file to and from the Linux box.

    SQL*Plus is a client software and whatever code you write using SQL*Plus, it ultimately run on the server. So the answers to your question is "no".

  • Netweaver 04 on Windows 2003 x64 (amd64)

    Hi all,
    Can anybody tells me where I can find the corresponding Installation Master Software and the SAP Kernel 6.40 Unicode for installation on Windows 2003 x64 (amd64).
    I can not find it on the SAP Marketplace myself.
    On the PAM (Product Avalability Matrix) the software should be available but I can not find it.
    Please help. It becomes very urgent.
    Kind Regards
    Paul VAn Daele
    [email protected]

    Hi Paul,
    Normally you should find it on the following path:
    (http://service.sap.com/swdc)
    Download => Installations and Upgrades => Entry by Application Group => SAP NetWeaver => SAP NETWEAVER => SAP NETWEAVER 04 => Installation and Upgrade => Windows Server => <your DB>.....
    Installation Master MS SQL (for example) for the Windows X64 is a CD named 51031282...
    Hope you can find the one you are looking for....
    Regards
    Rolf
    Ps.: If you can't see or find the right CD/DVD's it could also point to missing authorization on the Marketplace...

  • Windows 2003 x64

    Hello, I use windows 2003 x64 where is installed itunes 10.5.2.11; with ipad2 no problems to sycronize data; but the iphone is not recognized from windows (is recognized only as imaging device).  Any suggerstion found over internet don't run; if I move my iphone to another pc, running windows seven64 run  correctly.
    What I can do ?
    Thanks

    Hello,
    Unless you find Windows XP 64 Bit Edition device drivers for the X220, it is likely many of the ThinkPad specific features will not work, or only provide basic functionality.  You can always disable the Desktop Composition and Themes services to give the operating system a more Classic Windows feel.
    Regards,
    Aryeh Goretsky
    I am a volunteer and neither a Lenovo nor a Microsoft employee. • Dexter is a good dog • Dexter je dobrý pes
    S230u (3347-4HU) • X220 (4286-CTO) • W510 (4318-CTO) • W530 (2441-4R3) • X100e (3508-CTO) • X120e (0596-CTO) • T61p (6459-CTO) • T43p (2678-H7U) • T42 (2378-R4U) • T23 (2648-LU7)
      Deutsche Community   Comunidad en Español Русскоязычное Сообщество

  • Can I use SQL *Plus 11.1.0.7.0 to connect Oracle Express 10g

    Hi guys:
    I download "Oracle 11g ODAC *11.1.0.7.20* with Oracle Developer Tools for Visual Studio", trying to use SQL *plus to see if configuration is alright.
    But after entering account/pwd, I got a error:
    ORA-12560: TNS:protocol adapter error
    What is wrong with my environment?
    Thanks,
    Ricky

    user12086319 wrote:
    Hi EdStevens,
    Following the instructions in previous post, I can connect with SQL plus (the database is on the same box* as your sqlplus client); I just enter sqlplus in windows console.
    In addition, i am still curious about how SQL plus connect to a remote* box. Could you shed more light on that?SQLPlus connects to a remote db the same way any other app does. After all, sqlplus is just another client app.
    It's all in the connect string. So say, at a command prompt you enter
    $> sqlplus scott/tiger@mydbso in the above example, 'scott' is the user, 'tiger' is the password, and 'mydb' is the tns service name. Of course, the OS passes all that to sqlplus as a command line parameter. Internally, sqlplus makes a call to the tns layer and passes it the connect information it has. TNS will take a look at the tnsnames.ora file and find an entry for 'mydb', and from there it will get the name or ip address of the host server, a port number, and a service name. That information will be passed on down the network stack for routing. (If a name was provided instead of an ip address, the OS network stack will use whatever means are at its disposal - a hosts file, a dns lookup, or whatever, to get an ip address). The request will arrive at the specified host and placed on the specified port. If everything was configured correctly, there will be an oracle listener process monitoring that port. It will pick up the request and see if it recognizes the service name. If it does, it will spawn a user server process on a different port to complete the connection, then get out of the way and continue listening for more requests.
    This is how it happens most of the time. There are a lot of other variants, but that's the gist of it.
    More information can be found in the fine documentation at tahiti.oracle.com.

  • Using sql*plus to login to oracle 9i

    I have installed Oracle 9i for windows and am trying to login using SQL*PLUS
    user: system
    pwd: manager
    Host String: BHURU
    It says TNS could resolve service name.
    I have all the services running in the admin monitor.
    Am I missing something?

    This is not a right forum to post your problem. This is SQL PL/SQL forum.
    Please post it in Database General Forum.
    Regards.
    Satyaki De.

  • Logging into ORACLE 9I using SQL*PLUS.TNS Error

    I have installed Oracle 9i for windows and am trying to login using SQL*PLUS
    user: system
    pwd: manager
    Host String: BHURU
    It says TNS could resolve service name.
    I have all the services running in the admin monitor.
    Am I missing something? Please advise.

    Can you post your tnsnames.ora file contents and listener.ora contents here?
    There may be tons of things wrong with the error actually,
    ORA-12154:     TNS:could not resolve the connect identifier specified
    Cause:     A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:     
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
    HTH
    Aman....
    Edited by: Aman.... on Oct 7, 2008 5:46 PM
    Added error info

  • Create database table using Forms Developer 6/6i without using SQL*Plus

    hello there,
    I need help in creating tables in Oracle using Forms Developer 6/6i without using SQL*Plus interface.
    your help is appreciated
    email: [email protected]

    please use Forms_ddl package to create a table dynamically
    from the Developer6/6i.
    you can check the success or failure by using the
    form_success builtin.
    if u want to avoid using the Forms_ddl package
    use stored procedure or create a sql querry record group.
    regards
    sriram.

Maybe you are looking for

  • Open PO report for Services.

    Hi, Can any one help me with developing a report for Open PO for services with the below fields. 1. PO number 2. PO line item 3. Vendor code 4. Plant code 5. Main item text 6. Purchase Org 7. Purchase Group 8. Service code 9. Service description. 10.

  • Unexpected error message when connecting iPod touch to mac

    Just recently i've started getting an alert from the Sophos anti-virus software i'm running. It only happens when I connect my iPod touch to the mac, and as far as i can see it's coming from the mobilesync backup. Any ideas if i should worry about th

  • Automatic itunes sync?

    Hi, what i want to be able to do seems complex to me, but probably not to many others. Currently I have my itunes library, which is full of music, on my internal hard drive, and another itunes library, full of video, on an external hard drive. What i

  • CS6 Indesign documents do not recognize fonts

    To my surprise, when i open a document and type text, the text is highlighted and says, something like, "font not found." Every other application, including Microsoft Office Professional, can find, use, and apply the font. Anybody else?  Got a sugges

  • Reinstall Acrobat 8 Professional, Macintosh

    Acrobat 8 Professional, Macintosh I have my license and I need to reintall due to a hard drive failaure. (I am reinstalling all my software.) I can not find a link to download. Thanks