Not able to connect sqlplus in linux

Hi,
I am using Enterprise Linux 5. I am not able to connect database using sqlplus.
After entering sqlplus command, getting following error:
[ra10g@blue ~] sqlplus / as sysdba
/oracle/oa10g/10204/bin/sqlplus: Line 41: syntex error near unexpected token 'set'
/oracle/oa10g/10204/bin/sqlplus: Line 41: 'if ("$ORASID" == '') set ORASID="*"'
I had checked all the enviorment variables.
ORACLE_HOME = /oracle/oa10g/10204
ORASID = orcl
LD_LIBRARY_PATH = /oracle/oa10g/10204/lib:/lib:/usr/lib
Please give me any solution regarding this.
Thanks in advance.
Would appriciate your prompt response.
Regards,
Vishal Patel

user11796357 wrote:
Re:
may be some enviromnet variable setting problem
ty this
export ORACLE_HOME=/oracle/oa10g/10204
export Oracle_SID=orclIf you actually did this, then you will fail. The variable is ORACLE_SID and the variable name is case sensitive.
If the database was already created with the SID orcl, check whether the SID exists in oratab (command -> tail /etc/oratab) and then you can source the oraenv file as follows
. oraenv
orcl
Note that sourcing is using the dot (period) and space before command. If you do not know what "source a file" means in bash, I strongly encourage you to spend some time with the bash tutorial on the net.

Similar Messages

  • I am not able to connect sqlplus

    i have oracle 8i,try to connect sq plusl its kept saying protocol adapter error?

    Hi,
    Did you gave the host address??
    Oracle 8i datbase is in your machine?? or seperate server??
    Did you check that whether the database service is started??
    Check the status of all!!!
    Besf of luck!!!
    Nats

  • Not able to connect linux database instance in another machine

    Hi,
    I have installed oracle 10g database server in Linux, and i created one database instance. and i have added tns entry and listener entry.
    I am to connect the database on that machine. but not in different machine. i am able to access/ping linux machine in another machine also.
    while creating tns entry for linux database instance in another machine using "netca" i am getting this error.
    Connecting...ORA-12560: TNS:protocol adapter error
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Click Back to review the information provided for net service name, or Change Login to change username.
    I verified listener and tns entry ( i think for this listener configuration is enough) also. and database is up.
    If anybody knows why i am not able to connect linux database in another machine. is there any network configurations other than listener configuration.
    Thanks in advance.

    yes i tried to connect with ORACLE_SID, its successful. and using tnsname like you said.
    Instead of using netca to create the tnsnames.ora entry on the second server, copy the tnsnames.ora entry from the DB server. Then use tnsping to test connection :-i done above but not able to ping the tns name, i am getting this error.
    TNS-12560: TNS:protocol adapter error
    ------------------------------------------------

  • Not able to connect to DB in Redhat Linux - intermittent wired problem

    Hi,
    I need some help from you if possible please help me. There is a wired problem in the Linux based Oracle server.
    OS: Redhat Linux 8
    Database: Oracle Enterprise server 9.2
    There is an intermittent wired problem.
    After some time (it happen twice last Saturday and Yesterday), either from application or from SQL Plus we are not able to connect it from outside. But we are able to connect to the oracle server on Linux server.
    We checked the Listener status on the server and it was UP and running.
    We can ping the server from outside.
    We are not able to do an FTP from inside the server or from Outside to the Linux server.
    During this time the http protocol is working we can upload any file to the other sites.
    We tried to shutdown the oracle server and even we tried to restart the OS itself and not able to resole this issue.
    If we create a new Listener and starts the server and all blocking thing were released and now working.
    Currently we are monitoring the server at ALIF’s premises if it going to happen for the third time or not.
    Thanks a lot
    Regards
    Kumar

    What is the error that you get when you try to get connection ?
    to check the log file is a good option: <ORACLE_HOME>/network/log/listener.log
    Joel Pérez

  • Not able to connect database from another os user using externally?

    Hi,
    I want to connect database from another os user. i am able to connect database from oracle externally. but not able to connect different OS user.
    As ORACLE User:
    [oracle@test1 admin]$ sqlplus /
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:41:57 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    Non ORACLE user:
    [sample@test1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
    [sample@test1 ~]$ export ORACLE_SID=rman
    [sample@test1 ~]$ export PATH=$ORACLE_HOME/bin:$PATH
    [sample@test1 ~]$ sqlplus /
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:37:42 2012
    Copyright (c) 1982, 2010, 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
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    Thanks

    You didn't install Oracle correctly, especially you didn't run the root.sh and rootpre.sh scripts.
    If you would have read the error message at all, and researched it, you would have known this.
    Regrettably however you decided to ignore Forums Etiquette and to abuse this forum with Yet Another Doc Question.
    Sybrand Bakker
    Senior Oracle DBA

  • Enterprise Manager is not able to connect to the database instance. The sta

    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Listener is shown as unavailable.
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-NOV-2012 11:52:40
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=freds-server.i-surname.co.uk)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-NOV-2012 11:50:02
    Uptime 0 days 0 hr. 2 min. 37 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/11g/network/admin/listener.ora
    Listener Log File /opt/oracle/diag/tnslsnr/freds-server/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "GWORCL.i-surname.co.uk" has 2 instance(s).
    Instance "GWORCL", status UNKNOWN, has 1 handler(s) for this service...
    Instance "GWORCL", status READY, has 1 handler(s) for this service...
    Service "GWORCLXDB.i-status.co.uk" has 1 instance(s).
    Instance "GWORCL", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I suspect that this is not just an OEM issue.
    see
    Listener working but not working for Enterprise manager oracle 11gr2 Linux.
    for configuration files
    Edited by: Neill_R on Nov 27, 2012 11:51 AM

    This was solved by : Osama_mustafa
    in the general questions forum
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create

  • Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.

    Dear all,
    I have trouble to connect em console to database instance. My database is 11.2.0.3 and before this I did the patching from version 11.2.0.1, and now i cannot get fully functionality of em console.
    error is:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    It shows that agent is connected, database and listener is up.
    I did recreation, dropping and recreating with emca, but no success.
    Did anyone have similar problems with em console?
    Regards,

    You need to first of all, Connect to the Database as SYSDBA (because your were not connected), then start the database (because it is not started).
    If you already used the username and password in the command prompt and you are sure that the database is already stared, then you need to set the ORACLE_SID before you open SQLPlus. This is because if SQLPlus does not know the SID you are connecting to, it simply thinks it is not up or has no service hence the message "Connected to an idle instance".

  • Enterprise manager is not able to connect to database instance

    Hi
    I am having a problem with Oracle EM. I would appreciate very much if anyone can help me.
    I installed Oracle on XP which runs on virtual pc on XP as well. Everything is fine, I can connect to database with sqlplus, and there were no errors during installation.
    But the problem is that, when I try to connect to database with EM, it says:
    Enterprise manager is not able to connect to database instance . The state of the components are listed below.
    Can anoyone help me?

    user10637311 wrote:
    When you want OEM DB , your existing DB should be created by DBCA or if suppose manually creaed DB then you have to configure that DB to EM by
    "emca -config dbcontrol db -repos create". for these two cases istener should be running.
    emctl start dbconsole -> to start dbconsole service
    emctl status dbconsole-> status of servicesI am sorry, I was looking at $ORACLE_HOME\admin . And in the proper path, both listener.ora and tnsnames.ora do exist.
    emca -config dbcontrol db -repos create :
    <last part>:
    INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollog
    s\emca\orcl\emca_2010-02-18_02-01-40-AM.log.
    Feb 18, 2010 2:02:46 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
    cl\emca_repos_create_<date>.log for more details.
    Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
    a_2010-02-18_02-01-40-AM.log for more details.
    Could not complete the configuration. Refer to the log file at C:\oracle\product
    \10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-02-18_02-01-40-AM.log for more deta
    ils.
    C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
    cl\emca_repos_create_<date>.log:
    Check if repos user already exists.
    old 6: WHERE username=UPPER('&EM_REPOS_USER');
    new 6: WHERE username=UPPER('SYSMAN');
    old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
    new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
    old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
    new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
    old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
    new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
    old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
    new 17: raise_application_error(-20001, 'SYSMAN already exists..');
    old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
    new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
    DECLARE
    ERROR at line 1:
    ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17

  • Enterprise Manager is not able to connect to the database instance. Open??

    Hello there,
    After I installed oracle database and tried to start Enterprise Manager, I got the message:
    Enterprise Manager is not able to connect to the database instance.
    All statuses are OK (green and up) except database instance. It is also green and up but open. (Details: The instance is open.)
    Can anyone help me about it?
    I use Windows XP x64 with all patches installed. Oracle database R11g x64.
    I tried with different database versions and different machines and different OS and loopback adapter and... my EM still want to log in.
    I can log in with sqlplus. It accepts any pass for sys (as sysdba). Why?
    My log files are available here: http://195.66.185.187/log.zip

    You are using a bequeath connection when logging in with SQL*Plus on the server so the password is not validated.
    Log in using SQL*Plus this way:
    sqlplus /nolog
    followed by
    conn sys@<service_name> AS SYSDBA
    and provide the correct password
    My guess it it will fail.
    If so then you need to use the correct password and if you don't know what it is set it when logged on as SYS.

  • Problem: Enterprise Manager is not able to connect to the database instance

    Hello,
    I've got problem with EM. When I try to connect to it I get the following error:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Database Instance, Listener and Agent are all green.
    Few more information:
    OS: Win7 64 bit
    -installed loopback adapter. I can ping my computer name (J-PC) without problem and it pings back 10.10.10.10 address.
    -I have set the ORACLE_HOME and ORACLE_SID env variables
    -I can login to sqlplus with sysman account
    -emctl status dbconsole shows that the EM 11g is running
    I've been struggling for some time trying to get EM running as it should, but no luck so far.
    If you need any more info, do ask. Tnx.

    Hi,
    Regarding causes:
    1. This is inside listener.ora file:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\app\J\product\11.2.0\dbhome_1)+
    +(PROGRAM = extproc)+
    +(ENVS = "EXTPROC_DLLS=ONLY:C:\app\J\product\11.2.0\dbhome_1\bin\oraclr11.dll")+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = J-PC)(PORT = 1521))+
    +)+
    +)+
    ADR_BASE_LISTENER = C:\app\J
    ...and this is examples of errors in emoms.trc:
    +2012-05-25 00:29:28,782 [HTTPThreadGroup-49] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized+
    +2012-05-25 00:29:28,798 [HTTPThreadGroup-49] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = http://J-PC:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Locale not recognized)+
    +2012-05-25 00:29:28,860 [HTTPThreadGroup-49] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized+
    +2012-05-25 00:29:28,872 [HTTPThreadGroup-49] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = http://J-PC:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Locale not recognized)+
    +2012-05-25 00:29:40,908 [HTTPThreadGroup-49] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized+
    +2012-05-25 00:29:40,924 [HTTPThreadGroup-49] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = http://J-PC:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Locale not recognized)+
    +2012-05-25 00:29:52,811 [SystemThreadGroup-8] ERROR app.SessionObjectManager sessionDestroyed.128 - java.sql.SQLException: Locale not recognized+
    java.sql.SQLException: Locale not recognized
    2.
    Running lsnrctl status:
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 25-MAY-2012 07:54:17
    Uptime 0 days 0 hr. 21 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\J\product\11.2.0\dbhome_1\network\admin\listene
    r.ora
    Listener Log File c:\app\j\diag\tnslsnr\J-PC\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Tnx for the help.

  • 11g R2(11.2.0.2)-Not able to connect using SID - Win 7 32 bit

    Hi Experts,
    I have installed 11gR2(11.2.0.2) on Win 7 32 bit OS.
    I am able to start database and listener services without any problem. ORACLE_BASE and ORACLE_HOME variables are set.
    I am even able to connect to database using "sqlplus user/pass". (With ORACLE_SID variable set)
    However, sqlplus command hangs when I try to connect using SID "sqlplus user/pass@o11gr2".
    (No error, after waiting for >20 minutes I have to kill the command.)
    =================
    Following in "C:\Oracle\product\11.2.0.2\dbhome_3\RDBMS\trace\o11gr2_ora_6352.trc"
    - "2012-04-05 09:50:55.846: [ default]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\ocr cannot be opened. error 2"
    Following in "C:\Oracle\product\11.2.0.2\dbhome_3\log\machinename\client"
    - 2012-04-26 14:35:18.781: [ default][1216]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
    [    CLSE][1216]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr registry key. The system cannot find the file specified.
    "tnsping" returns OK for "tnsping o11gr2", "tnsping localhost", "tnsping 127.0.0.1", "tnsping 192.168.0.1"
    Output of LSNRCTL:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date 26-APR-2012 14:35:17
    Uptime 0 days 0 hr. 4 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\product\11.2.0.2\dbhome_3\network\admin\listener.ora
    Listener Log File C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
    Services Summary...
    Service "O11GR2" has 2 instance(s).
    Instance "O11GR2", status UNKNOWN, has 1 handler(s) for this service...
    Instance "O11GR2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    =================
    This was working earlier. One day it stopped working all of a suddent and I am not able to connect using SID till now.
    I tried re-installing in different home multiple times. But no luck even after disabling firewall completely.
    Any suggest/help is greatly appreciated on this.

    ------------------------------tnsping-------------------------
    C:\>tnsping o11gr2
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 26-APR-2012 14:54:32
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\11.2.0.2\dbhome_3\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = J1009615W7LT.jda.corp.local)(PORT = 1521
    ))) (CONNECT_DATA = (SERVICE_NAME = O11GR2)))
    OK (30 msec)
    C:\>
    -----------------------------ping-------------------------------
    C:\>ping J1009615W7LT.jda.corp.local
    Pinging J1009615W7LT.jda.corp.local [fe80::20c9:b748:311a:95e4%14] with 32 bytes of data:
    Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
    Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
    Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
    Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
    Ping statistics for fe80::20c9:b748:311a:95e4%14:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\>ping 10.60.200.221
    Pinging 10.60.200.221 with 32 bytes of data:
    Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
    Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
    Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
    Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
    Ping statistics for 10.60.200.221:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\>
    -----------------------------C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\alert\log.xml---------------------------------
    </msg>
    <msg time='2012-04-26T14:35:18.855-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    </txt>
    </msg>
    <msg time='2012-04-26T14:35:26.200-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:35:26 * ping * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:35:43.204-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:35:43 * ping * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:35:55.952-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
    </txt>
    </msg>
    <msg time='2012-04-26T14:35:55.953-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:35:55 * service_register * O11GR2 * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:37:08.732-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:37:08 * ping * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:38:34.943-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:38:34 * (CONNECT_DATA=(SERVICE_NAME=O11GR2)(CID=(PROGRAM=C:\oracle\product\11.2.0.2\dbhome_3\bin\sqlplus.exe)(HOST=J1009615W7LT)(USER=j1009615))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::20c9:b748:311a:95e4%14)(PORT=51907)) * establish * O11GR2 * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:39:23.627-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>WARNING: Subscription for node down event still pending
    </txt>
    </msg>
    <msg time='2012-04-26T14:39:23.628-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:39:23 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=j1009615))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.550-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>System parameter file is C:\Oracle\product\11.2.0.2\dbhome_3\network\admin\listener.ora
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.551-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Log messages written to C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\alert\log.xml
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.552-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Trace information written to C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\trace\ora_11640_3776.trc
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.553-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Trace level is currently 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.553-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.555-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Started with pid=11640
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:25.560-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:26.695-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Listener completed notification to CRS on start
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:26.712-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:29.880-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:29.881-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:54:29 * service_register * O11GR2 * 0
    </txt>
    </msg>
    <msg time='2012-04-26T14:54:32.090-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='J1009615W7LT'
    host_addr='fe80::20c9:b748:311a:95e4%14'>
    <txt>26-APR-2012 14:54:32 * ping * 0
    </txt>
    </msg>
    Edited by: 850920 on Apr 26, 2012 11:59 AM

  • Not able to connect RAC database

    hi all
    i am using oracle 10.2 RAC on suse enterprse linux server 10.1
    from node 1 i am able to connect database but from node 2 i m not able to connect..
    when try to connect system/test.. its hang and didnt dispaly any error messg..
    even yesterday i was able to connect on node2 but at that i was not able to execute query like..select * from all_users...its just hang..but i was able to execute select username from all_users... and it was working wothour any error..

    thanx
    output of crs_stat -t
    Name Type Target State Host
    ora.rubikon.db application ONLINE ONLINE rubikon121
    ora....ikon.cs application ONLINE ONLINE rubikon120
    ora....on1.srv application ONLINE ONLINE rubikon120
    ora....on2.srv application ONLINE ONLINE rubikon121
    ora....n1.inst application ONLINE ONLINE rubikon120
    ora....n2.inst application ONLINE ONLINE rubikon121
    ora....SM1.asm application ONLINE ONLINE rubikon120
    ora....20.lsnr application ONLINE ONLINE rubikon120
    ora....120.gsd application ONLINE ONLINE rubikon120
    ora....120.ons application ONLINE OFFLINE
    ora....120.vip application ONLINE ONLINE rubikon120
    ora....SM2.asm application ONLINE ONLINE rubikon121
    ora....21.lsnr application ONLINE ONLINE rubikon121
    ora....121.gsd application ONLINE ONLINE rubikon121
    ora....121.ons application OFFLINE OFFLINE
    ora....121.vip application ONLINE ONLINE rubikon121
    output of alter.log file
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 12:53:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:05:40 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:20:52 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:36:04 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:38:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 13:51:16 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:06:28 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:21:40 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:23:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:36:52 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 14:52:04 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:07:16 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:08:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:22:28 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:37:40 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:52:52 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_smon_12332.trc:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04021: timeout occurred while waiting to lock object
    Mon Sep 20 15:53:12 2010
    Errors in file /opt/app/oracle/admin/rubikon/bdump/rubikon2_reco_12334.trc:
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04021: timeout occurred while waiting to lock object

  • Not able to connect RAC database from client

    Hi there
    Recently I have configured RAC in test environment. version 11.2.0.1. OS Redhat 5.9. Everything seems to be fine except not able to connect rac database from client.  Error is as under :
    C:\Documents and Settings\pbl>sqlplus test1/test1@myrac
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 17 14:29:06 2014
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name:
    myrac =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = racdb.testdb.com.bd)
    Please give me your valuable suggestion to  overcome the issue.
    Regards
    Jewel

    user13134974 wrote:
    ORA-12545: Connect failed because target host or object does not exist
    This error means that the hostname or IP address used in the TNS connection string, failed to resolve or connect.
    Your client is making two connections. The first connection is to the SCAN listener. It matches a db instance for your connection request based on service requested, available registered service handlers, load balancing, and so on. It then send a redirect to your client informing it of the handler for that service.
    Your client then does a second connection to this service (a local RAC listener that will provide you with a connection to the local RAC instance). This is what seems to be failing in your case.
    The SCAN listener's redirect uses the hostname of the server that the local listener is running on. Your client needs to resolve that hostname (of a RAC node) to an IP address. This likely fails.
    You can add the RAC node hostnames to your client platforms hosts file. The appropriate action however would be to ensure that DNS is used for name resolution instead.

  • Not able to connect as sysoper in sql*plus

    Friends,
    Why i am not able to connect as sysoper?
    OS: win 2000
    Oracle db: oracle 9i
    tool is sql*plus
    SQL> connect / as sysdba
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> connect / as sysoper
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL>
    where i am making mistake?
    Thanks
    Sathyguy

    In Linux i know to add.
    But in windows....i dont know.
    could you please tell me how to add this group.
    Actually we will login to the os using our company name as a group.

  • 11i does not allow incoming connections (sqlplus)

    I just installed Oracle EBS 11i on RHEL AS4. I have a laptop(windows running oracle client tools) that I use to connect all my oracle-db instances. However, my newly installed apps 11i won't let me connect using sqlplus or any other client from my laptop (or any other client machine for that matter). Again, I am trying to access the tables not the forms interface using jinitiator. Here is the error message I keep getting: "TNS 12537 Connection closed"
    I see that discoverer related processes started when I started the apps. Is there a discoverer admin console that I can use? Also can I install discoverer plus or discoverer desktop to connect to the descoverer running on the apps server? Can I view the existing Discoverer reports using a browser?

    Thanks for your reply. My SQLnet access option is set to "ALLOW_ALL" and I was still not able to connect. That is why I manually added a line to "sqlnet.ora" file. I bounced the listner and now it is allowing the connections from client machines.
    I am able to see the discoverer reports using the "Discoverer Viewer 4i" that comes with the EBS. I want to set up new reports or edit the existing ones. Do I do this using any interface provided by EBS or do I have to use the discoverer desctop or discoverer plus on a seperate client machine? Also, how do I access the discoverer admin that comes with EBS?
    Thanks!

Maybe you are looking for

  • I have a PDF file which displays an error message. It's fine, how do I get rid of the message?

    I have combined a new PDF (printed from a Word file) and an older PDF (from an InDesign document). I see an error message on the first page of the older PDF. It says: Could not find the XObject named 'Fm0'. I click OK to clear the error, and there is

  • Response of async web service

    Hi there, I've created a function module which calls a synchronous BAPI. I released this function module as a webservice. When I call the web service it always gives a response although I don't need it in case of an async call. Is it normal that even

  • My Magic Trackpad won't work on my Mac Mini?

    My Magic Trackpad won't work on my Mac Mini? The cursor moves a little and then will not respond at all. Gestures do not work

  • Y2K bug in Oracle installer = v3.3.1.1.???

    In newsgroup comp.databases.oracle.misc I've read the following messages: I've heard about a Y2K-Bug in the common Oracle-Installer for NT. It was said, that installing any Oracle-product after the 1/1/2000 will cause system-errors and you will need

  • Assigning parameters to custom page types

    I am creating a custom portlet that displays a banner at the top of a page. The banner that the portlet displays is dependant on the value of a parameter being passed into it. So for example if I set the parameter to equal 'finance' it would display