Sqlplus error

Hi Gurus,
i have installed IDES 5.0 and solution manager on the same system.
But ides 5 have oracle 9i and for solution manager i have installed 10G
When i try to connect oracle from sqlplus /nolog; its given an following error
C:\Documents and Settings\Administrator>sqlplus /nolog;
SQL*Plus: Release 10.2.0.2.0 - Production on Sun Dec 19 10:38:23 2010
Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
SQL*Plus: Release 10.2.0.2.0 - Production
Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
Usage 1: sqlplus -H | -V
    -H             Displays the SQL*Plus version and the
                   usage help.
    -V             Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
  <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
    -C <version>   Sets the compatibility of affected commands to the
                   version specified by <version>.  The version has
                   the form "x.y[.z]".  For example, -C 10.2.0
    -L             Attempts to log on just once, instead of
                   reprompting on error.
    -M "<options>" Sets automatic HTML markup of output.  The options
                   have the form:
                   HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                   [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
    -R <level>     Sets restricted mode to disable SQL*Plus commands
                   that interact with the file system.  The level can
                   be 1, 2 or 3.  The most restrictive is -R 3 which
                   disables all user commands interacting with the
                   file system.
    -S             Sets silent mode which suppresses the display of
                   the SQL*Plus banner, prompts, and echoing of
                   commands.
  <logon> is: (<username>[/<password>][@<connect_identifier>] | /)
              [AS SYSDBA | AS SYSOPER] | /NOLOG
    Specifies the database account username, password and connect
    identifier for the database connection.  Without a connect
    identifier, SQL*Plus connects to the default database.
    The AS SYSDBA and AS SYSOPER options are database administration
    privileges.
    The /NOLOG option starts SQL*Plus without connecting to a
    database.
  <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
    Runs the specified SQL*Plus script from a web server (URL) or the
    local file system (filename.ext) with specified parameters that
    will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run.  The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
Regards
Hemant Gade
Basis Consultant

hemantg wrote:
> I have different oracle for IDES 5.0 and solution manager.
> I have also tried from <SID>adm.
> but its didn't work.
Well,
your "Administrator" can call SQLPLUS without a full qualified path.
With two Oracle Homes, this clearly indicates a faulty setup, because no part of any ORACLE_HOME
should be part of the system PATH environment in this case.
Again: Check the installation guide for the section to install multiple ORACLE_HOMEs.
Open a CMD.exe for BOTH sidadm-users and post output of the following commands:
PATH
set ORA
(which should deliver at least ORACLE_HOME / ORACLE_SID / ORA_NLS33)
set TNS
Best regards
Volker

Similar Messages

  • Sqlplus: Error while loading shared libraries: libsqlplus.so:

    Hi
    The Error is as follows:
    sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
    Installed R12 with RUP2.
    User Oracle already exists.
    I tried to create a user appsdev as follows:
    #adduser appsdev
    #passwd appsdev
    #cd /home
    #chmod 500 appsdev
    login as user appsdev/appsdev
    run the env file from $ORACLE_HOME
    $sqlplus
    sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
    if run the env file and sqlplus from user ORACLE.i don't get the error.
    but from the appsdev user i get the error.
    what should i do to execute sqlplus successfully from appsdev user.
    regards,
    charan

    if run the env file and sqlplus from user ORACLE.i don't get the error.
    but from the appsdev user i get the error.Is the "appsdev" user the owner of the application tier? If so, source the env file under %APPL_TOP% and check then.
    Did you specify the dba group as the primary group for "appsdev" user?

  • Error sqlplus: error while loading shared libraries:

    Hi
    i installed centos 5.4 in my laptop, i installed 11g R1. it installed properly, but when i start
    sqlplus it gives me the folloing error.
    [oracle@localhost bin]$ sqlplus
    sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
    [oracle@localhost bin]$
    Regards
    Saqib

    Saqib Alam wrote:
    Hi
    i installed centos 5.4 in my laptop, i installed 11g R1. it installed properly, but when i start
    sqlplus it gives me the folloing error.
    [oracle@localhost bin]$ sqlplus
    sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
    [oracle@localhost bin]$
    Regards
    Saqibid
    echo $ORACLE_HOME
    ls -l $ORACLE_HOME/bin/ora*

  • SqlPlus error messages are daunting, aren't they?

    Hello guys,
    I am trying to understand the logic of SQLPLUS error messages. I read the User's Guide and Reference but I still don't understand how these line numbers are calculated!!
    I make an example. I am writing some stored procedures in a file merge_procedures.sql, that I am editing in my favourite text editor (Crimson editor). Beside, I have SQL Plus running in a dos windows in XP.
    The file defines 2 packages and various procedures and functions.
    CREATE OR REPLACE PACKAGE STRING_FNC
    AS
    END STRING_FNC;
    CREATE OR REPLACE PACKAGE BODY STRING_FNC
    AS
    END STRING_FNC;
    CREATE OR REPLACE PACKAGE moveSections
    AS
    end moveSections;
    When I run one of the procedures using EXEC procName(args) I get an error:
    SQL> EXEC moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','
    *01.G1','G101','01.G1.G1')*
    BEGIN moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','01.G
    *1','G101','01.G1.G1'); END;*
    ERROR at line 1:
    ORA-00001: unique constraint (DEV_XCSA.SYS_C008826) violated
    ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 68
    ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 88
    ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 156
    ORA-06512: at line 1
    I don't understand how those line numbers are calculated. I mean, why does it claim there is an error at line 1? And how are the subsequent line numbers calculated? i am getting lost since I cannot find any error at the lines indicated.
    Please help me. Also references to documentation would be appreciated.
    Thanks
    TN

    Hi,
    Tremal Naik wrote:
    I am trying to understand the logic of SQLPLUS error messages. I read the User's Guide and Reference but I still don't understand how these line numbers are calculated!!
    SQL> EXEC moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','
    *01.G1','G101','01.G1.G1')*
    BEGIN moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','01.G
    *1','G101','01.G1.G1'); END;*
    ERROR at line 1:
    ORA-00001: unique constraint (DEV_XCSA.SYS_C008826) violated
    ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 68
    ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 88
    ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 156
    ORA-06512: at line 1
    I don't understand how those line numbers are calculated. I mean, why does it claim there is an error at line 1? And how are the subsequent line numbers calculated? i am getting lost since I cannot find any error at the lines indicated.ORA-06512 errors are additional information about where the error occurred.
    Like Danny, I find it helpful to read messages like this from the top down.
    The stack above says that the real error, ORA-00001, occurred at line 68 of movesections.
    The procedure at line 68 was called from line 88 of movesections. The real error may have occured around this point; for example, if you passed a bad parameter at line 88, then the code around line 68 may be perfect.
    The procedure at line 88 was called form lline 156 of movesections. Again, the real error may be at line 156, or somewhere leading up to line 156.
    The procedure at line 156 was called from line 1 of some anonymous code, such as
    EXEC moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','01.G1','G101','01.G1.G1');

  • Instant Client sqlplus: error while loading shared libraries: libsqlplus.so

    os : Linux ch5dlfp090 2.6.18-128.el5 #1 SMP Wed Dec 17 11:58:23 EST 2008 ppc64 ppc64 ppc64 GNU/Linux
    Oracle : Instant client
    [oracle@ch5dlfp090 instantclient_10_2]$ pwd
    /shared/instantclient/64bit/instantclient_10_2
    [oracle@ch5dlfp090 instantclient_10_2]$ ls -ltr
    total 108288
    -rwxrwxr-x 1 oracle dba 72658720 Dec 27  2008 libociei.so
    -rwxrwxr-x 1 oracle dba    41007 Dec 27  2008 genezi
    -rw-rw-r-- 1 oracle dba      237 Dec 27  2008 BASIC_README
    -r-xr-xr-x 1 oracle dba  3790338 Dec 27  2008 libnnz10.so
    -rwxrwxr-x 1 oracle dba 23543028 Dec 27  2008 libclntsh.so.10.1
    -r--r--r-- 1 oracle dba  1555682 Dec 27  2008 ojdbc14.jar
    -r-xr-xr-x 1 oracle dba   164432 Dec 27  2008 libocijdbc10.so
    -rwxrwxr-x 1 oracle dba  3014136 Dec 27  2008 libocci.so.10.1
    -r--r--r-- 1 oracle dba  1609607 Dec 27  2008 classes12.jar
    -r--r--r-- 1 oracle dba  1646178 Dec 27  2008 orai18n.jar
    -r-xr-xr-x 1 oracle dba    48473 Dec 27  2008 libheteroxa10.so
    -rw-rw-r-- 1 oracle dba      235 Dec 27  2008 JDBC_README
    -rw-rw-r-- 1 oracle dba      241 Dec 27  2008 SQLPLUS_README
    -r-xr-xr-x 1 oracle dba    15629 Dec 27  2008 sqlplus
    -r-xr-xr-x 1 oracle dba  1183998 Dec 27  2008 libsqlplus.so
    -r-xr-xr-x 1 oracle dba  1443102 Dec 27  2008 libsqlplusic.so
    -r--r--r-- 1 oracle dba     1525 Dec 27  2008 glogin.sql
    drwxrwxr-x 4 oracle dba    16384 Dec 27  2008 sdk
    [oracle@ch5dlfp090 instantclient_10_2]$
    Issue : When I tried to connect Sqlplus
    [oracle@ch5dlfp090 instantclient_10_2]$ sqlplus
    sqlplus: error while loading shared libraries: libsqlplus.so: wrong ELF class: ELFCLASS64
    When I connect with 32 bit instant client of Power Linux version I am able to connect
    When Hardware is 64 os 64 Bit Instnat client 64 bit not working
    what could be the reason ? How to resolve this ?

    Pl post in the Instant Client forum - Instant Client
    What does "which sqlplus" return ?
    This thread may be relevant - Instant client for Solaris AMD x64
    HTH
    Srini

  • Sqlplus error w/ 8i & Caldera 2.2

    With some difficulty I have been able to install Oracle 8i, but
    when I attempt to run sqlplus I get the following error:
    sqlplus: error in loading shared libraries:
    /u01/orabase/orahome/lib/libclntsh.so.8.0: undefined symbol:
    nauzaoss
    HELP!
    null

    Craig Parker (guest) wrote:
    : With some difficulty I have been able to install Oracle 8i, but
    : when I attempt to run sqlplus I get the following error:
    : sqlplus: error in loading shared libraries:
    : /u01/orabase/orahome/lib/libclntsh.so.8.0: undefined symbol:
    : nauzaoss
    : HELP!
    In the first, insert $ORACLE_HOME/lib into the
    file /etc/ld.so.conf.
    After this, run the ldconfig.
    </yhkang>
    null

  • SQLPlus error while trying to log in

    I have installed Oracle 9.2 RH9. When I run SQLPLUS and try to login I get the following error:
    ORA_07217: sltln: environment variable cannot be evaluated.
    What causes this error and how do you get around it?

    Leonard, apply this command and reply the results:
    [oracle@ozawa oracle]$ env
    HOSTNAME=ozawa
    TERM=xterm
    SHELL=/bin/bash
    HISTSIZE=1000
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    SSH_CLIENT=192.168.0.176 3494 22
    ORACLE_OWNER=oracle
    SSH_TTY=/dev/pts/2
    USER=oracle
    LD_LIBRARY_PATH=/opt/ora9/product/9.2/lib:
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=LDEVCNS0
    ORACLE_BASE=/opt/ora9
    TNS_ADMIN=/opt/ora9/product/9.2/network/admin
    MAIL=/var/spool/mail/oracle
    PATH=/opt/ora9/product/9.2/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
    INPUTRC=/etc/inputrc
    PWD=/home/oracle
    EDITOR=vi
    THREADS_FLAG=native
    LANG=en_US.UTF-8
    ORACLE_TERM=xterm
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/oracle
    LD_ASSUME_KERNEL=2.4.1
    dump=/var/opt/oracle/dump
    LOGNAME=oracle
    SSH_CONNECTION=192.168.0.176 3494 192.168.0.97 22
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/opt/ora9/product/9.2
    G_BROKEN_FILENAMES=1
    _=/bin/env
    [oracle@ozawa oracle]$
    Joel Pérez

  • Re:SQLPLUS error

    I Installed 11.2.0.1 on one machine first, that time sqlplus and everything is working fine. I Installed 10.2.0.1 software on same machine and want to create 10gr2 database. when changing ORACLE_HOME and doing sqlplus getting below error. Any one of them faced this kind of problems.
    echo $ORACLE_HOME/u01/app/oracle/product/11.2/db_1
    export ORACLE_HOME=/u01/app/oracle/product/10.2/db_1
    sqlplus /nologSP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly

    Please refer following thread
    SP2-1503 when starting sqlplus (privilege problem)

  • Sqlplus error - instant client 10.1.0.2 with 8.1.7.4

    Hi,
    I've installed the instant client basic & sql plus from rpm on a debian system. When I try to connect with sqlplus I get
    SP2-0642: SQL*Plus internal error state 2165, context 4294967295:0:0
    The sqlplus cmd line I use should have everything it needs cause I don't have a tnsnames.ora. Here's the cmd line with user & password as xxx
    sqlplus xxx/xxx@"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.178.191)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=PWDEV03)))"
    Can someone please give me an idea how to figure this out?
    Thanks,
    Scott

    Did you read the Release Notes? It often includes some basic setup instructions.
    If you also have DB 8.1.7 installed, which includes Client and RSFs, the problem could be with env setup. Be sure paths (eg. PATH) do not include any reference to 8.1.7 files. (so you're not running a mix-up of different installations)
    It is usually a good idea to use an env script for each "oracle home", if you want to run two or more installations (from same user).
    Instant Client product home
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
    Instant Client OTN forum
    Instant Client

  • Cannot load program sqlplus, error Symbol ___strcmp64 is not exported from dependent module /usr/lib/libc.a[shr_64.o]

    Dear all,
    We are expriencing an error after a redirected restore, we are restored a backup of a prod system on a new host.
    While running a 'brrestore' command to get the restore, it returns the following error:
    BR0401I BRRESTORE 7.40 (8)
    BR0169I Value 'util_file_online' of parameter/option 'backup_dev_type/-d' ignored for 'brrestore' - 'util_file' assumed
    BR0405I Start of file restore: reojarkx.rsb 2014-07-23 16:48:47
    BR0484I BRRESTORE log file: /oracle/SID/sapbackup/reojarkx.rsb
    BR0278E Command output of '/oracle/SID/112_64/bin/sqlplus':
    exec(): 0509-036 Cannot load program sqlplus because of the following errors:
            0509-130 Symbol resolution failed for sqlplus because:
            0509-136   Symbol ___strcmp64 (number 71) is not exported from
                       dependent module /usr/lib/libc.a[shr_64.o].
            0509-136   Symbol ___strcpy64 (number 76) is not exported from
                       dependent module /usr/lib/libc.a[shr_64.o].
            0509-136   Symbol __setjmp (number 78) is not exported from
                       dependent module /usr/lib/libc.a[shr_64.o].
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.
    BR0280I BRRESTORE time stamp: 2014-07-23 16:48:47
    BR0279E Return code from '/oracle/SID/112_64/bin/sqlplus': 255
    BR0302E SQLPLUS call for database instance SID failed
    BR0406I End of file restore: reojarkx.rsb 2014-07-23 16:48:47
    BR0280I BRRESTORE time stamp: 2014-07-23 16:48:47
    BR0404I BRRESTORE terminated with errors
    Can someone help to get the reason of this issue.
    Thanks, regards

    Roman,
    how can you know that it is about AIX? The OP didn't tell us.
    Besides that, I agree that different OS versions may be the root cause.
    regards

  • Sqlplus error in UNIX

    Hello,
    I am having a weird error invoking sqlplus in UNIX. It works fine when I invoke it with the account that I installed Oracle client. However, when I login using a different account, it gives me with the following error:
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    when I do echo $ORACLE_HOME, it displays the oracle home.
    I tried export ORACLE_HOME=/opt/bin/ssaps/oracle/client
    When I run sqlplus, it still gives me the same error. what am I missing here?
    thanks

    BSK wrote:
    Hello,
    I am having a weird error invoking sqlplus in UNIX. It works fine when I invoke it with the account that I installed Oracle client. However, when I login using a different account, it gives me with the following error:
    Error 6 initializing SQL*Plus
    <font face="tahoma,verdana,sans-serif" size="1" color="#000">Message</font> file sp1<LANG>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    when I do echo $ORACLE_HOME, it displays the oracle home.
    I tried export ORACLE_HOME=/opt/bin/ssaps/oracle/client
    When I run sqlplus, it still gives me the same error. what am I missing here?
    thanksIt will be better for helping you, You can give a more complete description of your needs.

  • Sqlplus, error with some chars at begining of line

    I have a file test.sql with:
    DECLARE
        x varchar(4000);
    BEGIN
        x := 'my test
    # line error 1
    @ line error 2
    end of test';
        dbms_output.put_line(x);
    END;at sqlplus i run it like this
    SQL>@test.sql
    SP2-0734: unknown command beginning "line error..." - rest of line ignored.
    SP2-0310: unable to open file "line.sql"
      8  How can I make sqlplus ignore # and @?
    Add --@ or --# does not solve my problem, because its part of a text.

    >
    How can I make sqlplus ignore # and @?
    >
    It is the @ that is the problem.
    Put an escape character (default \) before the @ or set a new escape char.
    See SET ESCCHAR in the SQL*PLUS doc
    http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve040.htm#sthref2081
    >
    SET ESCCHAR {@ | ? | % | $ | OFF}
    Specifies a character to be escaped and not interpreted when used in a file name for
    the SPOOL, START, @, RUN and EDIT commands. These special characters are
    translated to the following:
    ■ @ in a filename will be translated to Oracle SID
    ■ ? is translated to Oracle Home in Unix
    ■ % is translated to Oracle Home in Windows
    ■ $ is translated to Oracle Home in certain platforms
    While it is not recommended that these characters are used in filenames, if you have
    legacy files that do use them, it might be useful to include a SET ESCCHAR command
    in your GLogin file to implement it across your site.
    If not escaped, the characters @, ?, % and $ have significance when interpreted and
    cause errors for the SPOOL, START, @, RUN and EDIT commands.
    SET ESCCHAR is set OFF by default.
    Example
    If you include the character ’$’ in your filename, then
    SET ESCCHAR $
    RUN MYFILE$
    behaves normally.

  • Sqlplus error in Putty

    I am trying to invoke the sqlplus utility from the command prompt in Putty and I keep getting the following error:
    -bash-3.00$ sqlplus
    ld.so.1: sqlplus: fatal: /d03/oracle/product/10.2.0/PWCGTST/lib/libsqlplus.so: Permission denied
    Killed
    Prior to running the sqlplus command, I set both the PATH and ORACLE_HOME variables appropriately as follows,
    PATH=$PATH:/d01/oracle/product/10.2.0/PWTS/bin/
    export ORACLE_HOME=/d01/oracle/product/10.2.0/PWTS/
    As you notice, I'm specifying /d01 in my settings and in the error it mentions a completely different path altogether. I'm curious as to why it is going to a different location to look for the library. Any ideas how to get the sqlplus to work?

    /d03/oracle/product/10.2.0/PWCGTST/lib/libsqlpl us.so: Permission denied
    /d01/oracle/product/10.2.0/PWTS/bin/Looks like you might have two different ORACLE_HOME.
    Check your path and see whether it refers to the d03 BEFORE the d01 that you added.
    Check your LD_LIBRARY_PATH
    If your ORACLE_SID values are in the /etc/oratab file (automatic if you use DBCA) then consider using the /usr/local/bin/oraenv script to set things up properly. oraenv will strip out conflicting ORACLE_HOME settings from your PATH.

  • Sqlplus: error while loading shared libraries: libsqlplus.so: wrong ELF cla

    Hi,
    I have installed AS10.1.2.0.2 software for linux 32 bit on linux x86-64 bit OS. i have installed the infra structure and middle tier homes. Everything installed with out error. Then i applied the Oracle Database Update (10.1.0.5) patch set to infra structure home by dwonloading the patch p4505133_10105_LINUX.zip for X86-64 bit. Is this is the problem, i need to download for x86 32bit patch.
    The above error is getting when i execute the following command sqlplus "/as sysdba' to connect database.
    Please suggest me how to resolve this.
    Best Regards,
    Anil

    Hi,
    If you have installed 32 Bit version of Oracle AS10.1.2.0.2,
    Then i applied the Oracle Database Update (10.1.0.5) patch set to infra structure home by dwonloading the patch p4505133_10105_LINUX.zip for X86-64 bitthen you should apply 32 bit version of patch p4505133_10105_LINUX.zip
    Please also see
    Install of OracleAS / Oracle Server on RHEL 4.0 / AMD 64bit Fails with Link Errors [ID 368365.1]
    Thanks
    Edited by: user11970143 on Aug 2, 2011 5:46 AM

  • OSX SQLPLUS error:ORA-12162:TNS:net service name is incorrectly specified

    Dear oracle community,
    just stepped today into oracle world.
    Installed OracleXE on my remote UBUNTU server.
    From the server, sqlplus works perfectly.
    From my client (followed this tutorial http://www.danilovizzarro.it/?p=10 ), i can connect via the
    sqlplus connection string: #sqlplus hr/PASS@HOSTipADDRESS/XE .
    But when i try just sqlplus and enter username/password later on, i get
    ORA-12162:TNS:net service name is incorrectly specified .
    My config:
    OS - MAC OS X LEOPARD 10.5.5
    #echo $ORACLE_SID
    XE
    #echo $ORACLE_HOME
    /opt/oracle/instantclient_10_2/
    #echo $TNS_ADMIN
    /opt/oracle/tns/
    # cat /opt/oracle/tns/tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOSTipADDRESS)(PORT = 1521))
    (CONNECT_DATA =
    (SID = XE)
    Any ideas - is it that sqlplus doesn't locate my tnsnames.ora file, or, maybe, there's an error in it?
    thanks for any ideas, recipies, suggestions :)
    enjoy the day,
    james

    If I understand you correctly you only give userid and password,but no connect string. That would be a LOCAL connection,which will not work,because you issue the command on the client,not the database server. For local connections you have to specify a value for ORACLE_SID. If you do that on your client (doesn't make sense , because you don't have a database here), you should see a message like 'Oracle not available'. If ORACLE_SID is not defined you get ORA-12162,which is a little misleading.
    Werner

Maybe you are looking for

  • ITunes 8.0 - damaged library (.itl) file

    Help! Last night I downloaded iTunes 8 (8.0.1 I believe). The first time I opened iTunes, it created two library database (.itl) files. One is now called "iTunes Library (damaged)" and the other is "iTunes Library." The damaged file seeems to be unus

  • I'm no longer able to use themes and transitions

    I've been using IMovie successfully for a year but all of a sudden, with a new movie, any time I drop in a theme or transition, it goes white and poof ! it disappears. I even reloaded IMovie from the CDRom but to no avail. Are there any patches or fi

  • IS BIND() & COALESCE() supported in SEM_MATCH and if not what's alternative?

    I want to get rid of all these UNIONs and USE virtual model VISION instead of all these models: COMPASS, PROCESS, LIMS_ANALYTIC, CLOVER in SEM_MODEL() function... Jena:       VERSION: 2.11.1 ARQ:       VERSION: 2.11.1 RIOT:       VERSION: 2.11.1 I kn

  • Computer won't fully start... strange flashing error HELP!!!!

    when i start my computer... it plays the opening sound... the apple appears and it spins... but then it goes to a black screen... for a minute i can type in letters (similar to MS-DOS mode on a PC).. but then it freaks out and this error starts flash

  • New Mac Pro (2010) Configuration for Photoshop

    Multiple questions for this august body of knowledge holders... Consider the following problem statement: ---->> "To purchase a new Mac Pro as a *Photoshop / Aperture* rocket sled." Now the questions: 1 Is the 6 core 3.33 GHz option the best CPU opti