805 SQLPlus to Sun 7.3.4: ORA-12162

Hi,
I have installed Net8 and SQL*Plus from 8.0.5 on SuSE Linux 6.0.
Using SQL*Plus from Linux to a Server V7.3.4.2 on Win NT works
OK, but using it against a Server V7.3.4.0.1 on Solaris 2.6
gives the error
ORA-12162: TNS: service name is incorrectly specified
The listener logfile on the Solaris server shows that tnsping
and the connection startup from SQL*Plus go through.
The connection string traced by the listener looks the same
as when connecting to the same instance from a HP-UX client.
The Linux client logfile cli.trc contains the following error
trace:
nioqbr: entry
nioqbr: state = normal (0)
nioqsm: entry
nioqsm: Sending break packet (1)...
nsdo: entry
nsdo: cid=0, opcode=67, bl=1, what=18, uflgs=0x100, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=8, flg=0x420d, mvd=0
nsdo: gtn=127, gtc=127, ptn=10, ptc=2047
nsdo: sending ATTN
nsdo: transport write error
nserror: entry
nserror: nsres: id=0, op=67, ns=12571, ns2=12560; nt[0]=504,
nt[1]=0, nt[2]=0
nsdo: nsctxrnk=0
nsdo: error exit
nioqsm: send-break: failed to send OOB break...
nioqper: error from send-marker
nioqper: nr err code: 0
nioqper: ns main err code: 12571
nioqper: ns (2) err code: 12560
nioqper: nt main err code: 504
nioqper: nt (2) err code: 0
nioqper: nt OS err code: 0
nioqer: entry
nioqer: incoming err = 12152
niqme: entry
niqme: reporting ns (2) error: (12571) as rdbms err (12571)
niqme: exit
nioqce: entry
nioqce: exit
nioqer: returning err = 12571
nioqer: exit
nioqbr: returning 12571
nioqbr: exit
nioqds: entry
nioqds: disconnecting...
The V7 documentation lists 12571 as an internal error when
sending the packet, but gives no hint for a fix.
(The Connection from Linux Net8 to a V7 Server on HP-UX fails
with the same message.)
Can anybody tell me the fix for this?
Thank you,
Mathias
null

I can confirm that the "disable_oob = ON" suggestion works for me
as well. At last!
/jde
Anwar (guest) wrote:
: Try adding
: disable_oob = ON
: to your sqlnet.ora. Works for me.
: Anwar.
: Mathias Naumann (guest) wrote:
: : Hi,
: : I have installed Net8 and SQL*Plus from 8.0.5 on SuSE Linux
: 6.0.
: : Using SQL*Plus from Linux to a Server V7.3.4.2 on Win NT
works
: : OK, but using it against a Server V7.3.4.0.1 on Solaris 2.6
: : gives the error
: : ORA-12162: TNS: service name is incorrectly specified
: : The listener logfile on the Solaris server shows that tnsping
: : and the connection startup from SQL*Plus go through.
: : The connection string traced by the listener looks the same
: : as when connecting to the same instance from a HP-UX client.
: : The Linux client logfile cli.trc contains the following error
: : trace:
: : nioqbr: entry
: : nioqbr: state = normal (0)
: : nioqsm: entry
: : nioqsm: Sending break packet (1)...
: : nsdo: entry
: : nsdo: cid=0, opcode=67, bl=1, what=18, uflgs=0x100,
cflgs=0x3
: : nsdo: rank=64, nsctxrnk=0
: : nsdo: nsctx: state=8, flg=0x420d, mvd=0
: : nsdo: gtn=127, gtc=127, ptn=10, ptc=2047
: : nsdo: sending ATTN
: : nsdo: transport write error
: : nserror: entry
: : nserror: nsres: id=0, op=67, ns=12571, ns2=12560; nt[0]=504,
: : nt[1]=0, nt[2]=0
: : nsdo: nsctxrnk=0
: : nsdo: error exit
: : nioqsm: send-break: failed to send OOB break...
: : nioqper: error from send-marker
: : nioqper: nr err code: 0
: : nioqper: ns main err code: 12571
: : nioqper: ns (2) err code: 12560
: : nioqper: nt main err code: 504
: : nioqper: nt (2) err code: 0
: : nioqper: nt OS err code: 0
: : nioqer: entry
: : nioqer: incoming err = 12152
: : niqme: entry
: : niqme: reporting ns (2) error: (12571) as rdbms err (12571)
: : niqme: exit
: : nioqce: entry
: : nioqce: exit
: : nioqer: returning err = 12571
: : nioqer: exit
: : nioqbr: returning 12571
: : nioqbr: exit
: : nioqds: entry
: : nioqds: disconnecting...
: : The V7 documentation lists 12571 as an internal error when
: : sending the packet, but gives no hint for a fix.
: : (The Connection from Linux Net8 to a V7 Server on HP-UX fails
: : with the same message.)
: : Can anybody tell me the fix for this?
: : Thank you,
: : Mathias
null

Similar Messages

  • Error ORA-12162 with sqlplus

    Hi everybody,
    When I open sqlplus64, I take the user-name ans password and I have the error message
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    But while processing the user-name and password are the same I made ...
    I don't understand.
    Best regards,
    Transact
    Edited by: transact on 4 déc. 2010 13:36

    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • 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

  • Error while trying to retrieve text for error ORA-12162

    I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
    I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
    It says check privileges, but when I try
    GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
    Password:
    ERROR: Did not recognize parameter argument.
    Don't work this way, not the other way mentioned below
    GGSCI (XXXXXX) 2> dblogin userid sys
    Password:
    ERROR: Unable to connect to database using user sys. Please check privileges.
    Error while trying to retrieve text for error ORA-12162.
    I can do a normal Login using SQLPLUS but Not through GGate :(
    Please guide me

    Lother wrote:
    I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
    I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
    It says check privileges, but when I try
    GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
    Password:
    ERROR: Did not recognize parameter argument.
    Don't work this way, not the other way mentioned below
    GGSCI (XXXXXX) 2> dblogin userid sys
    Password:
    ERROR: Unable to connect to database using user sys. Please check privileges.
    Error while trying to retrieve text for error ORA-12162.
    I can do a normal Login using SQLPLUS but Not through GGate :(
    Please guide mei wouldnt use SYS in the first place and rather create a new user to work with GG, but try this one:
    dblogin userid sys, password <password> sysdba

  • Ora-12162 TNS: net service name is incorrectly specified

    hi ,
    i have installed oracle 11g on an AIX node and configured asm as well. when i su - oracle and give sid as +ASM am able to get in to sqlplus as ASM and oracle home is ASM.
    but when i give oracle_home to db i get the error. the thing is that these files were not created wen i installed oracle. i created them manually :(
    thanks in advance
    --------- listener.ora-------------
    # listener.ora.rac01 Network Configuration File: /u01/oracle/product/11.1.0.7/db
    /network/admin/listener.ora.rac01
    # Generated by Oracle configuration tools.
    LISTENER=
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rvn14)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.160.103.46)(PORT = 1521)(IP = FIRST))
    (SID_LIST_LISTENER=
    (SID_LIST=
    (SID_NAME=sys)
    ADR_BASE_LISTENER_RAC01=/u02
    ---------- sqlnet.ora------------
    names.default_domain = world
    names.directory_path = (TNSNAMES)
    trace_level_client = off
    tcp.nodelay = yes
    bequeath_detach = yes
    sqlnet.expire_time = 10
    sqlnet.inbound_connect_timeout = 0
    adr_base=/u02
    --------tnsnames.ora----------
    LISTENER=
    (DESCRIPTION=
    (ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)
    (Host=10.160.103.46)(Port=1521)))
    (CONNECT_DATA=(SID=sys)

    Hi;
    Please see:
    ORA-12162 When Logging in Using BEQ (no tnsnames alias) [ID 312348.1]
    Similar issue also mention before here. Please see:
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ora-12162+&objID=c18&dateRange=all&userID=&numResults=15
    Regard
    Helios

  • ORA-12162 TNS

    Hi,
    I am getting bellow error.Any idea?
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: "/as sysdba"
    Enter password:
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    Thanks,
    Mk

    [oracle@oracle ~]$ sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:41 2009
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    Enter user-name:
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    Enter user-name: [oracle@oracle ~]$
    [oracle@oracle ~]$ export ORACLE_SID=DB112
    [oracle@oracle ~]$ sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:59 2009
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connecte a :
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>

  • Report error : REP-771: and ORA-12162:

    Hi , i run report and it terminated with error message
    The report terminated with error:
    REP-771: A fatal PL/SQL error occurred in program unit afterpform.
    ORA-12162: TNS:net service name is incorrectly specified
    does anyone know how to fix this issue
    thx

    ORA-12162: TNS:net service name is incorrectly specified
    $ oerr ora 12162
    12162, 00000, "TNS:net service name is incorrectly specified"
    // *Cause:  The connect descriptor corresponding to the net service name in
    // TNSNAMES.ORA or in the directory server (Oracle Internet Directory) is
    // incorrectly specified.
    // *Action: If using local naming make sure there are no syntax errors in
    // the corresponding connect descriptor in the TNSNAMES.ORA file. If using
    // directory naming check the information provided through the administration
    // used for directory naming.
    $How do you connect to the database ? Did you try connecting from Sql*Plus using the same connection string ? Result ?

  • Sqlplus doesn't accept any login - ORA-27101 ORA-01034

    Hello there, I eventually decided to write to this forum after
    having read tons of documentation and newsgroup posts without any
    result.
    I still keep getting the infamous messagge
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    any time a try to log into sqlplus.
    My envinronment variable are correct, (including
    ORACLE_SID) the db is up and running.
    I don't know what else I could do now. BTW, what file
    the system cannot find? the "2" file?????
    Is there anyone that can help me?
    Thank you in advance.
    Roberto Baglioni
    ===============================
    Roberto Baglioni
    Network administrator
    Universita' di Firenze
    ================================

    Unfortunately this is NOT the "final solution" because I had already done all those modifications to the kernel parameters
    and still had the problem.
    So, I agree with Rob: if you don't modify the kernel parameters
    oracle won't work. But for me this wasn'sufficient: i.e. necesssary but not sufficient.
    My little step was to modify the startup script
    $ORACLE_HOME/bin/dbstart. Here I changed the line
    startup DBNAME
    with
    startup open DBNAME
    Since then I haven't had any problem in starting oracle and
    connecting to it with sqlplus.
    Perhaps I have found a solution without any intelligence of
    the problem...
    Roberto Baglioni
    [email protected]

  • Failed to sqlplus into ASM  with the notorious ORA-12505 error

    Hi guys,
    I have a 2-node RAC testing environment and i have been having trouble trying to LOCALLY sqlplus into the ASM instance.
    If I do "sqlplus sys/xxxxx@asm1", it just throws "ORA-12505:TNS: listener does not currently know of SID given in connect descriptor".
    If I do "sqlplus / as SYSASM", it says "ORA-01031: insufficient privileges".
    Can' figure out where I did wrong so really appreciate some help here (maybe in the listener file, i should give the GRID home for one of the ORACLE_HOME parameters)?
    Here is the tns and listener file:
    tnsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    ASM1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = +ASM1)
    listener.ora:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line a
    dded by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    SID_LIST_LISTENER_ASM=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=extproc)
    (SID_DESC=
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME=+ASM1)
    )

    user11957149 wrote:
    Hi guys,
    I have a 2-node RAC testing environment and i have been having trouble trying to LOCALLY sqlplus into the ASM instance.
    If I do "sqlplus sys/xxxxx@asm1", it just throws "ORA-12505:TNS: listener does not currently know of SID given in connect descriptor".
    If I do "sqlplus / as SYSASM", it says "ORA-01031: insufficient privileges".
    Can' figure out where I did wrong so really appreciate some help here (maybe in the listener file, i should give the GRID home for one of the ORACLE_HOME parameters)?
    Here is the tns and listener file:
    tnsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    ASM1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vbox-cluster)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = +ASM1)
    listener.ora:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line a
    dded by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    SID_LIST_LISTENER_ASM=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=extproc)
    (SID_DESC=
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME=+ASM1)
    )with regard to ASM instance, it is NEVER "online"
    There is never any requirement to connect to ASM instance via SQL*Net.
    Log onto DB Server directly & just start ASM instance

  • No TNS after Migration. SQLPLUS returns 12545, DAD-Connect shows ora-12505

    Hello World,
    actually we're having some trouble after oracle migration.
    Our HTMLDB HOME is located on Machine one named linux.mydomain.de ip x.x.16.83. ORACLE-VERSION is 9.2.0.7.
    Our STANDALONE OHS-HOME is located on Machine two named linux2.mydomain.de. This one is comletely renewed.
    After system change from Standalone OHS 9.x to 10.2.0.1 on machine two we do not get the connection to the ORACLE_HOME.
    Trying to connect via SQLPLUS returns ORA-12545;
    Connection attempt via DAD returns ora-12505, even the ohs-page is acceptet.
    Before upgrading nearly everything went ok.
    Badly the older version of OHS does not accept the new OS.
    I'm not yet very well trained in 10g-Systems.
    I guess, the main problem is in network area, but im not shure...
    My primary question:
    How can I establish an oracle-connection from machine two towards machine one?
    hoping for some guidance
    regards
    Franz Langner

    Hello,
    thank you for replying me.
    1) Of course I had a close look into the local help before posting this into forum
    - ORA-12505 = NLS_LANG ; settings are identical ;
    but OHS-Standalone OS LANG shows AMERICA_AMERICAN.WEISO8815P15 instead of AMERICA_AMERICAN.WEISO8815P1 which is shown by the ORACLE NLS_PARAM.
    - ORA-12545 = there is a problem with TNS.
    This ones is from the beginning of the new system.
    I copied TNSNAMES.ORA from the backup of the former installation ( Elder OS, elder version)
    2) - hosts are known by each other
    3) Unfortunately OHS Standalone 10.2.0.1 from Companion CD doesnt use tnsping. The tool isn't included neither from Install CD Set nor from the downloaded version.
    So tnsping from OHS-Host to DB-Host does not work.
    I'm not shure that there is tns on the OHS Standalone Host, there is no database instance, $ORACLE_HOME/network doesn't contain necessary files..
    4)Posting tnsnames.ora and sqlnet.ora will do a little efford, caused by intranet location of both Hosts.
    Here we are:
    ENVIRONMENT of the Datatbase Host
    HOSTNAME=linux
    HOSTTYPE=i386
    ORACLE_BASE=/opt/oracle
    ORACLE_HOME=/opt/oracle/product/9ir2
    ORACLE_SID=oemrep
    ORA_NLS33=/opt/oracle/product/9ir2/ocommon/nls/admin/data
    OSTYPE=linux
    PAGER=less
    PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:/opt/oracle/product/9ir2/bin
    TNS_ADMIN=/opt/oracle/product/9ir2/network/admin
    ENVIRONMENT of the OHS Host
    ## AGENT_HOME=/opt/oracle/product/agent
    CLASSPATH=/opt/oracle/oracle/product/10.2.0/db/JRE:/opt/oracle/oracle/product/10.2.0/db/jlib:/opt/oracle/oracle/product/10.2.0/db/rdbms/jlib:/opt/oracle/oracle/product/10.2.0/db/network/jlib
    HOSTNAME=linux2
    HOSTTYPE=i386
    LD_LIBRARY_PATH=/opt/oracle/oracle/product/10.2.0/db/lib:/opt/oracle/oracle/product/10.2.0/dbnetwork/lib
    NLS_LANG=AMERICAN_AMERICA.WEISO8859P15
    ORACLE_BASE=/opt/oracle
    ORACLE_HOME=/opt/oracle/oracle/product/10.2.0/db
    ORACLE_SID=LKADB
    ORA_NLS10=/opt/oracle/oracle/product/10.2.0/db/nls/data
    ORA_NLS_33=/opt/oracle/oracle/product/10.2.0/db/nls/data
    TNS_ADMIN=/opt/oracle/oracle/product/10.2.0/db/network/admin
    /*** TNSNAMES.ORA of the DATABASE HOST
    # TNSNAMES.ORA Network Configuration File: /opt/oracle/product/9ir2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    LKADB.LINUX.mydomain.DE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux.mydomain.de)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = lkadb.lka.polizei.nrw.de)
    # this one is in use for jobs that need exclusive privs
    LKA_DED.LINUX.mydomain.DE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (CONNECT_DATA =
    (SID = lkadb)
    (SERVER = DEDICATED)
    /*** TNSNAMES.ORA of the OHS HOST
    HTMLDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux.mydomain.de)(PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = lkadb)
    /**** SQLNET.ORA of the DATABASE HOST
    # SQLNET.ORA Network Configuration File: /opt/oracle/product/9ir2/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = linux.duesseldorf-lka.polizei.nrw.de
    NAMES.MESSAGE_POOL_START_SIZE = 15
    NAMES.DIRECTORY_PATH= (ONAMES, TNSNAMES, HOSTNAME)
    NAMES.MAX_OPEN_CONNECTIONS = 5
    /*** SQLNET.ORA of the OHS HOST ( copied from former version )
    # SQLNET.ORA Network Configuration File: /opt/oracle/product/9ir2/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = lka.polizei.nrw.de
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    regards
    Franz Langner
    Message was edited by:
    [email protected]

  • Connect with sqlplus to Fresh Install R12 Vision ORA-12154

    Summary:
    Trying to connect with sqlplus to R12 Vision fresh install gives me ORA-12154.
    Context:
    Installed R12 12.1.1 Vision instance on Oracle Enterprise Linux 5.4 x86-64 (SElinux disabled / no virtualisation). Followed [761566.1] and http://www.oraclenerd.com/2009/12/ebs-install-guide-part-1.html. I also followed instructions from [761566.1] on networking files to the best of my ability. Stuck as closely as possible to those two documents and also stuck to defaults as much as possible. All goes well with all tiers on the same machine (A). Startup and shutdown OK.
    Extended description:
    Now trying to connect using (latest) sqlplus on the same machine with the following:
    ======================================================================
    [root@vizz u01]# ./ebs/R12VIS/db/tech_st/11.1.0/bin/sqlplus sys/change_on_install@VIS as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Wed Jun 27 23:36:07 2012
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    ======================================================================
    Also tried this with oravis and applvis, the two accounts managing the instance with identical results
    The notoriously generic ORA-12154......
    All the tnsnames.ora I can find give me VIS as the SID:
    ./ebs/R12VIS/inst/apps/VIS_vizz/admin/out/06260806/tnsnames.ora
    ./ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.2/network/admin/tnsnames.ora
    ./ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.3/network/admin/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.2/inventory/Templates/network/admin/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.2/network/admin/samples/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.2/network/admin/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.3/network/admin/samples/tnsnames.ora
    ./ebs/R12VIS/apps/apps_st/appl/ad/12.0.0/admin/template/tnsnames.ora
    ./ebs/R12VIS/db/tech_st/11.1.0/owb/network/admin/tnsnames.ora
    ./ebs/R12VIS/db/tech_st/11.1.0/network/admin/VIS_vizz/tnsnames.ora
    ./ebs/R12VIS/db/tech_st/11.1.0/network/admin/samples/tnsnames.ora
    Just as those generated scripts (e.g. addbctl.sh) for starting and stopping the instance.
    What am I missing here?
    Edited by: rjvencken on Jun 27, 2012 12:47 PM
    Edited by: rjvencken on Jun 27, 2012 12:47 PM
    Edited by: rjvencken on Jun 27, 2012 12:54 PM

    AD_APPS_JDBC_URL=(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=vizz.local)(PORT=1576)))(CONNECT_DATA=(SID=VIS)))
    ADJREOPTS=-ms128m -mx256m
    ADJRIOPTS=-mx512m
    ADJVAPRG=/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java
    ADMIN_SCRIPTS_HOME=/u01/ebs/R12VIS/inst/apps/VIS_vizz/admin/scripts
    ADPERLPRG=/u01/ebs/R12VIS/apps/tech_st/10.1.3/perl/bin/perl
    AD_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ad/12.0.0
    AF_CLASSPATH=/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/u01/ebs/R12VIS/apps/apps_st/comn/java/lib/appsborg2.zip:/u01/ebs/R12VIS/apps/apps_st/comn/java/classes
    AFJCPARG=-client
    AF_JLIB=/u01/ebs/R12VIS/apps/apps_st/comn/java/lib
    AF_JRE_TOP=/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre
    AFJSMARG=-server -Xmx384m -XX:NewRatio=2 -XX:+UseSerialGC -Doracle.apps.fnd.common.Pool.leak.mode=stderr:off -verbose:gc
    AFJVAPRG=/u01/ebs/R12VIS/inst/apps/VIS_vizz/admin/scripts/java.sh
    AF_LD_LIBRARY_PATH=/u01/ebs/R12VIS/apps/tech_st/10.1.3/lib32:/u01/ebs/R12VIS/apps/tech_st/10.1.3/lib:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/u01/ebs/R12VIS/apps/apps_st/appl/cz/12.0.0/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/u01/ebs/R12VIS/apps/apps_st/appl/cz/12.0.0/bin::/u01/ebs/R12VIS/apps/apps_st/appl/pon/12.0.0/bin
    AHL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ahl/12.0.0
    AK_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ak/12.0.0
    ALR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/alr/12.0.0
    AME_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ame/12.0.0
    AMS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ams/12.0.0
    AMV_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/amv/12.0.0
    AMW_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/amw/12.0.0
    ANT_HOME=/u01/ebs/R12VIS/apps/tech_st/10.1.3/ant
    APPCPNAM=REQID
    APPLBIN=bin
    APPL_CONFIG_HOME=/u01/ebs/R12VIS/apps/apps_st/appl
    APPL_CPLEX_LICDIR=/u01/ebs/R12VIS/apps/apps_st/appl/admin/cplex
    APPLCSF=/u01/ebs/R12VIS/inst/apps/VIS_vizz/logs/appl/conc
    APPLDCP=OFF
    APPLDOC=docs
    APPLFENV=VIS_vizz.env
    APPLFRM=forms
    APPLGRAF=graphs
    APPLIMG=images
    APPLINC=include
    APPLLIB=lib
    APPLLOG=log
    APPLMAIL=NONE
    APPLMSG=mesg
    APPLORB=/u01/ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.2/bin/appsrwrun.sh
    APPLORC=/u01/ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.2/bin/appsrwrun.sh
    APPLOUT=out
    APPLPLS=plsql
    APPLPTMP=/usr/tmp
    APPLREG=regress
    APPLREP=reports
    APPLRGF=/u01/ebs/R12VIS/inst/apps/VIS_vizz/logs/appl/rgf
    APPLRGT=regress
    APPLRSC=resource
    APPLSAV=save
    APPLSQL=sql
    APPLTMP=/u01/ebs/R12VIS/inst/apps/VIS_vizz/appltmp
    APPL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl
    APPLUSR=usrxit
    APPS_JDBC_URL=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=vizz.local)(PORT=1576)))(CONNECT_DATA=(SID=VIS)))
    APPSJREOPT=
    APPS_VERSION=12.1.1
    AP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ap/12.0.0
    AR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ar/12.0.0
    ASF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/asf/12.0.0
    ASG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/asg/12.0.0
    ASL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/asl/12.0.0
    ASN_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/asn/12.0.0
    ASO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/aso/12.0.0
    ASP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/asp/12.0.0
    AS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/as/12.0.0
    AST_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ast/12.0.0
    AU_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0
    AX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ax/12.0.0
    AZ_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/az/12.0.0
    BEN_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ben/12.0.0
    BIC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bic/12.0.0
    BIL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bil/12.0.0
    BIM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bim/12.0.0
    _=/bin/env
    BIS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bis/12.0.0
    BIV_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/biv/12.0.0
    BIX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bix/12.0.0
    BNE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bne/12.0.0
    BOM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bom/12.0.0
    BSC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/bsc/12.0.0
    CC=cc
    CCT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cct/12.0.0
    CE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ce/12.0.0
    CFLAGS=$(INCLUDE_FLAGS) -Dlinux -DLINUX -DNLS_ASIA -D_GNU_SOURCE
    CHMOD=chmod
    CHV_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/chv/12.0.0
    CLASSPATH=/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/u01/ebs/R12VIS/apps/apps_st/comn/java/lib/appsborg.zip:/u01/ebs/R12VIS/apps/tech_st/10.1.2/forms/java:/u01/ebs/R12VIS/apps/tech_st/10.1.2/forms/java/frmall.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jlib/ewt3.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/ebs/R12VIS/apps/apps_st/comn/java/classes
    CLN_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cln/12.0.0
    CNTL_BREAK=ON
    CN_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cn/12.0.0
    COLORTERM=gnome-terminal
    COMMON_TOP=/u01/ebs/R12VIS/apps/apps_st/comn
    CONTEXT_FILE=/u01/ebs/R12VIS/inst/apps/VIS_vizz/appl/admin/VIS_vizz.xml
    CONTEXT_NAME=VIS_vizz
    CP=cp
    CRP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/crp/12.0.0
    CSC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csc/12.0.0
    CSD_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csd/12.0.0
    CSE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cse/12.0.0
    CSF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csf/12.0.0
    CSI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csi/12.0.0
    CSL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csl/12.0.0
    CSM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csm/12.0.0
    CSP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csp/12.0.0
    CSR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/csr/12.0.0
    CS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cs/12.0.0
    CUA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cua/12.0.0
    CUF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cuf/12.0.0
    CUG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cug/12.0.0
    CUI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cui/12.0.0
    CUP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cup/12.0.0
    CUS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cus/12.0.0
    CZ_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/cz/12.0.0
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-T6METAvwV4,guid=26f775c9eee214498d5f76004feb35b7
    DDD_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ddd/12.0.0
    DDR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ddr/12.0.0
    DE_DISABLE_PLS_512=1
    DESKTOP_SESSION=default
    DESKTOP_STARTUP_ID=
    DISPLAY=:0.0
    DNA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/dna/12.0.0
    DOM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/dom/12.0.0
    DPP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/dpp/12.0.0
    DT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/dt/12.0.0
    EAM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/eam/12.0.0
    EBI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ebi/12.0.0
    EC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ec/12.0.0
    ECX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ecx/12.0.0
    EDR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/edr/12.0.0
    EGO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ego/12.0.0
    ENG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/eng/12.0.0
    ENI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/eni/12.0.0
    EVENT_10932=8
    FA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fa/12.0.0
    FEM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fem/12.0.0
    FF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ff/12.0.0
    FII_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fii/12.0.0
    FLM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/flm/12.0.0
    FNDNAM=APPS
    FNDREVIVERPID=/u01/ebs/R12VIS/inst/apps/VIS_vizz/pids/appl/reviver.sh_VIS_vizz.pid
    FND_SECURE=/u01/ebs/R12VIS/inst/apps/VIS_vizz/appl/fnd/12.0.0/secure
    FND_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0
    FORMS_APPSLIBS=APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER
    FORMS_BLOCKING_LONGLIST=FALSE
    FORMS_CATCHTERM=1
    FORMS_DISABLE_UNPAD_LOV=TRUE
    FORMS_FLAG_DIFFERENT_SUBORD=1
    FORMS_FORCE_MENU_MNEMONICS=0
    FORMS_LOV_INITIAL=5000
    FORMS_MESSAGE_ENCRYPTION=TRUE
    FORMS_MODULE_PATH=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/forms
    FORMS_OAM_FRD=OFF
    FORMS_OVERRIDE_ENV=NLS_LANG,NLS_NUMERIC_CHARACTERS,NLS_SORT,NLS_DATE_LANGUAGE,NLS_DATE_FORMAT,FORMS_USER_DATE_FORMAT,FORMS_USER_DATETIME_FORMAT,FORMS_OUTPUT_DATE_FORMAT,FORMS_OUTPUT_DATETIME_FORMAT,FORMS_ERROR_DATE_FORMAT,FORMS_ERROR_DATETIME_FORMAT,FORMS_TZFILE,FORMS_DATETIME_SERVER_TZ,FORMS_DATETIME_LOCAL_TZ,FORMS_USER_CALENDAR
    FORMS_PATH=/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0/resource:/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0/resource/stub
    FORMS_REJECT_GO_DISABLED_ITEM=0
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    FORMS_RTI_DIR=/u01/ebs/R12VIS/inst/apps/VIS_vizz/logs/ora/10.1.2/forms
    FORMS_SESSION=TRUE
    FORMS_TIMEOUT=5
    FORMS_TRACE_DIR=/u01/ebs/R12VIS/inst/apps/VIS_vizz/logs/ora/10.1.2/forms
    FORMS_WEB_CONFIG_FILE=/u01/ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.2/forms/server/appsweb.cfg
    FPA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fpa/12.0.0
    FRM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/frm/12.0.0
    FTE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fte/12.0.0
    FTP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ftp/12.0.0
    FUN_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fun/12.0.0
    FV_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/fv/12.0.0
    G_BROKEN_FILENAMES=1
    GCS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gcs/12.0.0
    GDMSESSION=default
    GDM_XSERVER_LOCATION=local
    GHR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ghr/12.0.0
    GL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gl/12.0.0
    GMA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gma/12.0.0
    GMD_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gmd/12.0.0
    GME_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gme/12.0.0
    GMF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gmf/12.0.0
    GMI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gmi/12.0.0
    GML_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gml/12.0.0
    GMO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gmo/12.0.0
    GMP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gmp/12.0.0
    GMS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gms/12.0.0
    GNOME_DESKTOP_SESSION_ID=Default
    GNOME_KEYRING_SOCKET=/tmp/keyring-mJ1svZ/socket
    GR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/gr/12.0.0
    GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
    GWYUID=APPLSYSPUB/PUB
    HISTSIZE=1000
    HOME=/root
    HOSTNAME=vizz.local
    HRI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/hri/12.0.0
    HXC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/hxc/12.0.0
    HXT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/hxt/12.0.0
    IAS_ORACLE_HOME=/u01/ebs/R12VIS/apps/tech_st/10.1.3
    IA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ia/12.0.0
    IBC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ibc/12.0.0
    IBE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ibe/12.0.0
    IBP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ibp/12.0.0
    IBU_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ibu/12.0.0
    IBW_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ibw/12.0.0
    IBY_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/iby/12.0.0
    ICX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/icx/12.0.0
    IEB_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ieb/12.0.0
    IEC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/iec/12.0.0
    IEM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/iem/12.0.0
    IEO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ieo/12.0.0
    IES_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ies/12.0.0
    IEU_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ieu/12.0.0
    IEX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/iex/12.0.0
    IGC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/igc/12.0.0
    IGF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/igf/12.0.0
    IGI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/igi/12.0.0
    IGS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/igs/12.0.0
    IGW_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/igw/12.0.0
    IMC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/imc/12.0.0
    INCLUDE_FLAGS=-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo
    INL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/inl/12.0.0
    INPUTRC=/etc/inputrc
    INST_TOP=/u01/ebs/R12VIS/inst/apps/VIS_vizz
    INV_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/inv/12.0.0
    IPA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ipa/12.0.0
    IPM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ipm/12.0.0
    IRC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/irc/12.0.0
    ISC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/isc/12.0.0
    ITA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ita/12.0.0
    ITG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/itg/12.0.0
    IZU_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/izu/12.0.0
    JA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ja/12.0.0
    JAVA_BASE=/u01/ebs/R12VIS/apps/apps_st/comn/java
    JAVA_TOP=/u01/ebs/R12VIS/apps/apps_st/comn/java/classes
    JE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/je/12.0.0
    JG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/jg/12.0.0
    JL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/jl/12.0.0
    JMF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/jmf/12.0.0
    JTF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/jtf/12.0.0
    JTM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/jtm/12.0.0
    LANG=en_US.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LNS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/lns/12.0.0
    LOG_HOME=/u01/ebs/R12VIS/inst/apps/VIS_vizz/logs
    LOGNAME=applvis
    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:
    LUSRIAP=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/usrxit/xitusr.o
    LUSRLIB=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/usrxit/libusr.a
    LUSRPRG=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/usrxit/prglib.o /u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/usrxit/prgcat.o /u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/usrxit/EXPROG.o
    LUSRSRW=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/usrxit/xirusr.o
    MAIL=/var/spool/mail/root
    MCS=echo mcs
    MFG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/mfg/12.0.0
    MRP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/mrp/12.0.0
    MSC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/msc/12.0.0
    MSD_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/msd/12.0.0
    MSO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/mso/12.0.0
    MSR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/msr/12.0.0
    MST_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/mst/12.0.0
    MTH_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/mth/12.0.0
    MWA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/mwa/12.0.0
    NLS_DATE_FORMAT=DD-MON-RR
    NLS_DATE_LANGUAGE=
    NLS_LANG=American_America.AL32UTF8
    NLS_NUMERIC_CHARACTERS=.,
    NLS_SORT=BINARY
    OA_DOC=/u01/ebs/R12VIS/apps/apps_st/comn/doc
    OAD_TOP=/u01/ebs/R12VIS/apps/apps_st/comn
    OA_HTML=/u01/ebs/R12VIS/apps/apps_st/comn/webapps/oacore/html
    OAH_TOP=/u01/ebs/R12VIS/apps/apps_st/comn/webapps/oacore
    OA_JAVA=/u01/ebs/R12VIS/apps/apps_st/comn/java/classes
    OA_JRE_TOP=/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre
    OA_MEDIA=/u01/ebs/R12VIS/apps/apps_st/comn/java/classes/oracle/apps/media
    OAM_TOP=/u01/ebs/R12VIS/apps/apps_st/comn/java/classes/oracle/apps
    OA_SECURE=/u01/ebs/R12VIS/apps/apps_st/comn/secure
    OE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/oe/12.0.0
    OKC_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/okc/12.0.0
    OKE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/oke/12.0.0
    OKI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/oki/12.0.0
    OKL_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/okl/12.0.0
    OKS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/oks/12.0.0
    OKX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/okx/12.0.0
    ONT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ont/12.0.0
    OPI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/opi/12.0.0
    ORACLE_HOME=/u01/ebs/R12VIS/db/tech_st/11.1.0
    ORACLE_TERM=vt220
    ORA_CONFIG_HOME=/u01/ebs/R12VIS/inst/apps/VIS_vizz/ora
    OTA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ota/12.0.0
    OZF_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ozf/12.0.0
    PATH=/u01/ebs/R12VIS/apps/tech_st/10.1.3/perl/bin:/bin:/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/bin:/u01/ebs/R12VIS/apps/apps_st/appl/ad/12.0.0/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/u01/ebs/R12VIS/apps/apps_st/comn/util/unzip/unzip::/u01/ebs/R12VIS/apps/tech_st/10.1.3/perl/bin:/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/u01/ebs/R12VIS/apps/apps_st/comn/util/unzip/unzip:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.3/ant/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.3/appsutil/jdk/bin:/u01/ebs/R12VIS/apps/tech_st/10.1.3/ant/bin:/u01/ebs/R12VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_vizz
    PA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pa/12.0.0
    PAY_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pay/12.0.0
    PCCFLAGS=include=$(PCCINC) ireclen=161 sqlcheck=none dbms=v6
    PCCINC=. include=$(FND_TOP)/include include=$(ORACLE_HOME)/precomp/public
    PCC=$(ORACLE_HOME)/bin/proc
    PERL5LIB=/u01/ebs/R12VIS/apps/tech_st/10.1.3/perl/lib/5.8.3:/u01/ebs/R12VIS/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3:/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0/perl:/u01/ebs/R12VIS/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi
    PER_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/per/12.0.0
    PFT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pft/12.0.0
    PJI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pji/12.0.0
    PJM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pjm/12.0.0
    PLATFORM=LINUX
    PMI_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pmi/12.0.0
    PN_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pn/12.0.0
    POA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/poa/12.0.0
    POM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pom/12.0.0
    PON_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pon/12.0.0
    POS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pos/12.0.0
    PO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/po/12.0.0
    PQH_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pqh/12.0.0
    PQP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pqp/12.0.0
    PRP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/prp/12.0.0
    PSA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/psa/12.0.0
    PSB_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/psb/12.0.0
    PSP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/psp/12.0.0
    PV_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/pv/12.0.0
    PWD=/u01
    QA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/qa/12.0.0
    QOT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/qot/12.0.0
    QPR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/qpr/12.0.0
    QP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/qp/12.0.0
    QRM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/qrm/12.0.0
    REPORTS_CLASSPATH=/u01/ebs/R12VIS/apps/tech_st/10.1.2/reports/jlib/rwbuilder.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.2/reports/jlib/rwrun.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.2/jlib/zrclient.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.2/j2ee/home/oc4j.jar:/u01/ebs/R12VIS/apps/tech_st/10.1.2/j2ee/home/lib/ojsp.jar
    REPORTS_NO_DUMMY_PRINTER=TRUE
    REPORTS_PATH=/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0/plsql:/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/reports:/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0/reports:/u01/ebs/R12VIS/apps/apps_st/appl/au/12.0.0/graphs
    REPORTS_POST=&5556
    REPORTS_PRE=&5555
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
    REPORTS_TMP=/u01/ebs/R12VIS/inst/apps/VIS_vizz/temp
    REPORTS_USEREXITS=/u01/ebs/R12VIS/apps/apps_st/appl/fnd/12.0.0/bin/fndrwxit.so
    RG_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/rg/12.0.0
    RLM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/rlm/12.0.0
    RM=rm -f
    RRS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/rrs/12.0.0
    RW=/u01/ebs/R12VIS/apps/tech_st/10.1.2/reports
    SESSION_MANAGER=local/vizz.local:/tmp/.ICE-unix/3013
    SHELL=/bin/bash
    SHLVL=8
    SHT_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/sht/12.0.0
    SSH_AGENT_PID=3049
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-PXPoYb3013/agent.3013
    SSP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/ssp/12.0.0
    TERM=xterm
    TESTVAR=HalloDaar
    TK_ICON=/u01/ebs/R12VIS/apps/tech_st/10.1.2/reports/plugins/resource
    TK_PRINTER=noprint
    TK_PRINT_STATUS=echo %n is valid
    USER=applvis
    VEA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/vea/12.0.0
    VNDARPL=
    VNDARSL=
    VNDPAYPL=
    VNDPAYSL=
    WEBAPPS_TOP=/u01/ebs/R12VIS/apps/apps_st/comn/webapps
    WINDOWID=24205626
    WIP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/wip/12.0.0
    WMS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/wms/12.0.0
    WPS_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/wps/12.0.0
    WSH_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/wsh/12.0.0
    WSM_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/wsm/12.0.0
    XDO_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xdo/12.0.0
    XDP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xdp/12.0.0
    XENVIRONMENT=/u01/ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.2/reports/Tk2Motif_AL32UTF8.rgb
    XLA_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xla/12.0.0
    XLE_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xle/12.0.0
    XMODIFIERS=@im=none
    XNB_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xnb/12.0.0
    XNP_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xnp/12.0.0
    XTR_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/xtr/12.0.0
    ZPB_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/zpb/12.0.0
    ZX_TOP=/u01/ebs/R12VIS/apps/apps_st/appl/zx/12.0.0

  • Connect to sqlplus from sun box

    Can someone please send me a sample script to connect to sqlplus and execute a .sql script.
    Thanks
    Kev

    In this example, the SQL is embedded in the script. If you want to keep it a file, its sqlplus @filename
    The -s switch means silent.
    Also included are some sample Oracle extensions, like set echo off, which are useful when running batch scripts.
    #!/usr/bin/env bash
    ORACLE_HOME=/path/to/oracle
    ORACLE_CREDENTIALS=user/pass@sid
    ORACLE_HOME=$ORACLE_HOME \
    $ORACLE_HOME/bin/sqlplus -s $ORACLE_CREDENTIALS << EOS
    set echo off
    set feedback off
    set heading off
    set linesize 120
    set pagesize 0
    select 'foo' from dual;
    EOS

  • Tns error ora-12162 net service name is incorrectly specified

    Hello gurus ,
    I am trying to connect database using telnet from windows machine ,
    after login os , username ,password
    i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
    I have checked my tnsnames.ora file at the database system , i find all the entries are correct
    plzzz can anybody help me .. how to connect database via telnet

    user10608990 wrote:
    Hello gurus ,
    I am trying to connect database using telnet from windows machine ,
    after login os , username ,password
    i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
    I have checked my tnsnames.ora file at the database system , i find all the entries are correct
    plzzz can anybody help me .. how to connect database via telnet"I have enter username,pwd correctly "
    "i find all the entries are correct "
    And yet, it doesn't work!
    =============
    "I have checked my tnsnames.ora file at the database system "
    when you start sqlplus ... is that on the same machine that is running the db, or some other machine? Remember .. (and I'm really feeling like a broken record on this one) <b><i>TNSNAMES.ORA IS USED BY THE <U>CLIENT</U> PROCESS.</i></b>
    Show us the contents of your listener.ora file -- from the server machine
    Show us the contents of your tnsnames.ora and sqlnet.ora files -- from the client machine.

  • ORA-12560: TNS:protocol adapter error. Running sqlplus in different paths.

    Hi,
    Title: ORA-12560: TNS:protocol adapter error. Running sqlplus in different paths.
    Very strange. We have windows host, 32 bit oracle software 10g, 64 bit sap kernel X64.
    We have done Kernel patch yesterday and it was successful, system up and running.
    Only problem with sqlplus. I have logged in as SIDADM user and when i open command box, the default path is C:\Documents and Settings\SIDADM. when i run sqlplus sys as sysdba, iam able to connnect without any problem but when iam in this path -   /usr/sap/SID/SYS/exe/run and run sqlplus sys as sysdba, it returns ORA-12560 error. Thats why, the BRTOOLS are also not working, giving same error.
    Is there a problem in the kernel? Where could be the problem?
    The environment variables ORACLE_SID, ORACLE_HOME are set properly.
    Many thanks,
    Mohan.

    Hi,
    Please look into below SAP recommendation from SAP note 192822:
    3. Can I run 32-bit applications on my 64-bit platform?
    This depends on the platform you are running on. For all unix- platforms, this  can be done without any problem. Even if the OS is started in 64-bit mode, it is possible to run 32-bit applications (R/3, oracle) on it. there is no need to either upgrade oracle or R/3 toa 64-bit version.
    This, however is NOT the case for windows & Linux. If you have IA64 hardware in place, you do need to run an 64-bit OS as well as all application in 64-bit mode.
    Could you please now share with me your OS (version and whether it is 32 bit or 64 bit as well), database (32 bit or 64 bit), SAP system (32 bit or 64 bit and System release) ?
    Thanks
    Sunny

  • Cant log into SQLPlus receive these error messages ORA-01034 & ORA-27101

    Hi
    just installed the latest release of Oracle DB 10g personal edition Windows XP Professional and Home Edition (seperate PCs). The installation went pretty smoothly. After the installation the db was up and I tried sqlplus and isqlplus and the html em port, everything worked perfectly (that means, all the hardware and kernel parameter requirements were met). But after a reboot, when I tried to run sqlplus again, got message like this:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    I can't even log onto html port
    I googled for solutions, unfortunately no right-to-the-point solution and on other Operating systems
    Anyone who could kindly tell me which file(s) to configure and how please? I would be much obliged!

    First, make sure that Oracle instance is started. Check processes
    Second, make sure that your connection string is correct. Check network configuration files (tnsnames and/or sqlnet .ora)
    Third, check if listener is runing and configure correctly(lstnrctl status)
    http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=ORA-01034
    http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=ORA-27101
    Edited by: alshan5 on Mar 20, 2009 2:13 PM
    Edited by: alshan5 on Mar 20, 2009 2:15 PM

Maybe you are looking for

  • Installing FF to a new hard disk, how to transfer passwords from the old installation?

    I have FF installed to Win2k on a hard disk. I have installed Win7 on a new hard disk and I want to move passwords from the old installation to the new one. It would be great if I could move all the links I get when I click the http://........ field

  • Lion reformat hard drive

    I want to reformat the hard drive on my MacBook Pro.  How do I load Lion?

  • Problems using "decode"

    What I'm trying to do is: For each employee list the value of all pending orders, the value of all completed orders and the value of all orders issued by the employee. Using these tables: Orders Name ORD_ID SUPPLIER_ID ISSUING_EMP_ID ORDER_DATE ORDER

  • PO confirmation XML not created

    Good day We are experiencing some issues with our PO confirmations. When I say confirmations it is not the SES or GRN. In our system we create a SC in SRM this then gets approved in SRM and then a PO is created in the ECC backend. The XML is passed f

  • T430 - maximum supported memory size?

    Hello Everyone! I got the the thinkpad t430 with lenovo 23511A8 motherboard, also i have 4GB ram...what is the maximum supported memory ram size ? thx..