Listener: ORA-00604 ORA-01219

We have a database on 10.2.0.5.0.
Sometimes we are able to login, sometimes we get the error below (this is from the client, on the server it works):
SQL> conn dba@tst
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01219: database not open: queries allowed on fixed tables/views only
When I restart the listener, we are able to login for a few seconds but the error shown above will return very fast. So it looks like a problem with the listener, hereby the listener-entry:
(SID_DESC =
(GLOBAL_DBNAME = TST.world)
(SID_NAME = TST)
(ORACLE_HOME = /data/app/oracle/server/10.2.0.5.0)
(PRESPAWN_MAX = 10)
Anyone an idea what causes this is?

Here is more info.
M:\>tnsping tst
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-JUN-2
012 08:59:49
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
S:\Oracle\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST= (ADDRESS = (protocol=ipc)(ke
y=IPC_bla)) (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = bla
) (Port = 1521))) (CONNECT_DATA = (SERVICE_NAME = TST.WORLD))
OK (80 msec)
M:\>
tnsnames:
TST.WORLD =
(DESCRIPTION =
(ADDRESS_LIST=
(ADDRESS = (protocol=ipc)(key=IPC_bla))
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = bla.ee.intern)
(Port = 1521)
(CONNECT_DATA =
(SERVICE_NAME = TST.WORLD)
listener-logging:
Fri Jun 08 09:04:39 2012
08-JUN-2012 09:04:39 * (CONNECT_DATA=(SERVICE_NAME=TST.WORLD)(CID=(PROGRAM=C:\ORACLE\client112_32\bin\sqlplus.exe)(HOST=LAPTOP)(USER=pven
))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.128.128.16)(PORT=57359)) * establish * TST.WORLD * 0
I just had a succesfull connection and a failed connection, both show up in listener-logging exactly the same, only the timestamp differs.
Looks like my local SQLplus is able to reach the database, which is confirmed by tnsping.
Edited by: pvenpven on Jun 8, 2012 9:08 AM

Similar Messages

  • Need Help with ORA-00604 - ORA-01219

    Hey i'm having a hard to understand the error messages generated by our Oracle database server. i'm in charge of the development of a .NET apps with an Oracle DB underneath.
    i tried to change the parameter values ( the java pool and the shared pool) and when i tried to apply the change from Enterprise manager the shutdown process didn't complete, the parameters values are all gone and i'm trying to log on thru SQL* Plus i'm getting the following errors
    ORA-00604 error occured at recusive SQL Level 1
    ORA-01219 database not open: queries allowed on fixed tables/views only
    is there a way to recover or to reload the previous parameters values? . i really need some help on this
    thanks in advance

    Take a look in the alert log for the database to see why the database did not open. The alert log can be found in ORACLE_BASE/admin/<dbsid>/bdump/alert_<dbsid>.log .
    You can try to open the database with the following:
    set ORACLE_SID=<dbsid>
    sqlplus /nolog
    connect / as sysdba
    alter database open;
    It is possible that the above will not open the database if there is something preventing the opening of the database. That information can be found in the alert log mentioned above.

  • AC-50480 error while generating listener.ora while running autoconfig

    Hi,
    I am trying my first clone on R1213. We have a split tier configuration. I am able clone the database server successfully.
    Now when I run 'perl adcfgclone appsTier', during the autoconfig part, it fails with the error message AC-50480 : Error while generating listener.ora
    I have followed note
    AC-50480" Error Generating the "listener.ora" File. [ID 1089036.1]
    During Autoconfig "adgentns.pl" fails: "AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora" [ID 453901.1]
    derigistered bothe the servers
    ran autoconfig on the DB
    Verified the contents of FND_NODES table.
    Everything looks fine, but it still errors during autoconfig.
    There is no listener file under $TNS_ADMIN.
    There is tnsnames.ora under $TNS_ADMIN
    Any clue?
    TIA,
    AZ

    Here are the contents from NetServiceHandler.log
    Processing listener.ora on middle tier
    s_enable_listener_password = OFF
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/iAS_1012_env.tmp
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/ora/10.1.2/OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/APPLSYS_ux.env
    dest : /d01/oracle/opda/apps/apps_st/appl/OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/adovars_ux.env
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln_ux.sql
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 600 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln.sh
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh permissions changed to 700 (unix only)
    Execution of /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh is given to TimedProcess
    admk80ln.sh started at Thu Sep 29 08:56:59 EDT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /d01/oracle/opda/apps/tech_st/10.1.2
    ORACLE_SID :
    TWO_TASK : OPDA
    PATH : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/bin:/d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin::/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin/X11:/usr/X11R6/bin:/usr/sbin:.:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin:/home/applopda/bin:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin
    Library Path : /d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/cz/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.2/lib32:/d01/oracle/opda/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/sht/12.0.0/lib
    SQLPLUS Executable : /d01/oracle/opda/apps/tech_st/10.1.2/bin/sqlplus
    SQL*Plus: Release 10.1.0.5.0 - Production on Thu Sep 29 08:57:00 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: ERROR:
    ORA-12157: TNS:internal network communication error
    Unable to generate listener.ora from database
    Using default listener.ora file
    .end std out.
    .end err out.
    Error while generating listener.ora.
    StackTrace:
    java.lang.Exception: Error while generating listener.ora.
         at oracle.apps.ad.tools.configuration.NetServiceHandler.generateMiddleTierListener(NetServiceHandler.java:2495)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.processNode(NetServiceHandler.java:2269)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.main(NetServiceHandler.java:3010)

  • What's wrong with my listener.ora?

    Hello.
    I must say I've never understood how listener.ora works (it used to work but someone modified it), but by now it'd be enough to know what's wrong with this:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = CSR2)
    (ORACLE_HOME = /opt/oracle/product/9.2.0)
    (SID_NAME = CSR2)
    My problem is that when I try to connect from my PC "sqlplus csr_admin@csr2/csr" I get "ERROR: ORA-12154: TNS: could not resolve service name"
    This is my entry in my local tnsnames.ora:
    CSR2.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CSR2)
    An this, the entry in the entntry at the server's tnsnames.ora:
    CSR2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CSR2)
    Release 9.2.0.3.0
    Thanks in advance.

    It's funny but the date I posted this topic isn't OK (more than 3 years ago)

  • Listener.ora syntax error in NV string

    Hi. I'm attempting to establish a connection with an Access db using ODBC. I've edited my listener.ora file to read the following:
    # listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = capital2)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname.domain)(PORT = 1521))
    When I restart the listener, I get the following error:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 16-JUN-2005 12:34:47
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
    System parameter file is C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.1.0\Db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.domain)(PORT=1521)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    Listener failed to start. See the error message(s) above...
    I'm guessing that my listener.ora file has a ")" in the wrong place or something to that effect. Would anyone mind pointing this out for me?
    Thanks!

    normel start :
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Myserver)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    you start:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = webserver)(PORT = 1521))
    ) )

  • Listener.ORA file in a RAC environment. VIP used. Is ithis OK

    Dear Sirs:
    Environment is - Oracle 10G (10.2.0.3.0) running on RHEL 4.0 for Intel Itanium, two node RAC
    The listener.ora file is as follows
    LISTENER_MYDB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mydb1-vip)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = *192.168.1.10*)(PORT = 1521)(IP = FIRST))
    SID_LIST_LISTENER_MYDB1 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/ora10g/product/1020/db_1)
    (PROGRAM = extproc)
    INBOUND_CONNECT_TIMEOUT_LISTENER_MYDB1=110I am seeing that the VIP is used. Is this OK or should the public IP be used?? Everymonth during high activity the listener simply refused connection.
    Please help.
    regards,
    Caesar

    I am seeing that the VIP is used. Is this OK or should the public IP be used?? yes,its ok to use both.
    Everymonth during high activity the listener simply refused connection. whats the error msg you getting ,check log file for more detail.

  • Change the host name in Listener.ora to fixed IP address

    in Listener.ora i want change host name to IP :
    ==== OLD ====
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    === WHAT I NEED ===
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=100.100.110.1)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    how can i do this .

    It is not recommended to change the name for an IP addressIt is not recommended by who? AFAIK there is no such sentence in documentation.
    But there is other:
    host Required. Specify the host name or IP address of the database server computer.
    Instad of "It is not recommended..." better use "Consider this..."
    , as if ever it changes in the future, you'll have to be back and change once again your ip.The same is truth when we are speaking about FQDN (fully qualified domain name).
    How often your company changes the IP adresses on server platform?
    My experience from past:
    First case:
    My company has rebranded and and domain name has been changed but IP has not. Unfortunatelly we were not using OID for resolving. If there were FQDN used then would have to make changes in many files. Fortunatelly we were using IP addresses.
    Now we are using OID for resolving of tnsnames (as primary method).
    What I want to say is both solutions (FQDN or IP) are fine. Each of them has some advantages and also disadvantages.

  • Errors in my listener.ora file

    oracle 10.2
    windows xp
    database run locally on my PC. just a test DB. I get errors when i try to start the listener pointing to the sidlist_listener line?
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\app\product\10.2\db_1)
          (PROGRAM = extproc)
           (SID_DESC =
              (GLOBAL_DBNAME= orcl10g2.world)
              (SID_NAME = orcl10g2)
              (ORACLE_HOME = D:\app\product\10.2\db_1)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
      )TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\app\product\10.2\db_1\network\admin\listener.ora
    Log messages written to D:\app\product\10.2\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    Listener failed to start. See the error message(s) above...

    Hi,
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\app\product\10.2\db_1)
          (PROGRAM = extproc)
           (SID_DESC =
              (GLOBAL_DBNAME= orcl10g2.world)
              (SID_NAME = orcl10g2)
              (ORACLE_HOME = D:\app\product\10.2\db_1)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
      )correct this
    (GLOBAL_DBNAME= orcl10g2.world)
    (ORACLE_HOME = D:\app\product\10.2\db_1)
    (SID_NAME = orcl10g2)
    ADDRESS_LIST - missing
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

  • Listener name in the listener.ora file is getting change from GPROD to %s_

    Dear Experts,
    Please note that after doing the R12.1 upgrade, When i bounce the database i have noted that my database listener name in the listener.ora file is getting change from GPROD to %s_db_listener%. Again every time after changeing the listener log file i am able to start the listener.
    Please advise.
    [oracle@upgrade 11.2.2]$ lsnrctl start GPROD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 07-OCT-2011 10:07:33
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Starting /u04/d01/tech_st/11.2.2/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    System parameter file is /u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener.ora
    Log messages written to /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
    TNS-01151: Missing listener name, GPROD, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    [oracle@upgrade 11.2.2]$ vi /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
    [oracle@upgrade 11.2.2]$ cd network/admin/GPROD_upgrade/
    [oracle@upgrade GPROD_upgrade]$ ls
    listener_ifile.ora listener.ora listener.ora_bkpaug2911 sqlnet_ifile.ora sqlnet.ora tnsnames.ora
    [oracle@upgrade GPROD_upgrade]$ vi listener.ora
    (SID_DESC =
    (ORACLE_HOME= /u04/d01/tech_st/11.2.2)
    (SID_NAME = GPROD)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u04/d01/tech_st/11.2.2)
    (PROGRAM = extproc)
    STARTUP_WAIT_TIME_%s_db_listener% = 0
    CONNECT_TIMEOUT_%s_db_listener% = 10
    TRACE_LEVEL_%s_db_listener% = OFF
    LOG_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
    LOG_FILE_%s_db_listener% = %s_db_listener%
    TRACE_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
    TRACE_FILE_%s_db_listener% = %s_db_listener%
    ADMIN_RESTRICTIONS_%s_db_listener% = OFF
    IFILE=/u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener_ifile.ora

    Step 1- Run the autoconfig on the db tier.
    Step -2 Automatically it is changing the setting in the database listener log file and it is showing 4 database listeners are up .
    [oracle@upgrade 11.2.2]$ ps -ef |grep inh
    oracle 756 1 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 757 756 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 758 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 759 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 1721 31038 0 11:02 pts/2 00:00:00 grep inh
    applmgr 31380 1 0 10:53 ? 00:00:00 /u04/d02/apps/tech_st/10.1.2/bin/tnslsnr APPS_GPROD -inherit
    Step - 3
    Again down the apps tier services.
    Step -4
    Reset the listener.ora file in the database tier
    Please advise.
    Regards
    Mohammed.

  • Help with listener.ora

    I'm trying to set up my linux box so someone can telnet in and run a couple of queries in SQL*PLUS. I have th tnsnames.ora file setup correctly - I think. I'm not sure what I'm supposed to do with listener.ora. I know that this file is used by lsnrctl. Can someone give me some help with this? Thanks.

    How did u know that your tnsnames.ora works, when you have not setup listener.ora?
    Anyway, this might help:
    http://homepages.tig.com.au/~jmsalvo/linux/oracle8i-5.html

  • ORA-01219 Error

    Help. Experiencing ORA-01219 error while trying to check status of database from new install of Oracle 10g on Redhat Enterprise Server.
    - Logging in with "sqlplus / as SYSDBA"
    - "SELECT STATUS FROM V$INSTANCE" returns
    STATUS
    STARTED
    - "SELECT * FROM DBA_ALL_TABLES" returns
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Not sure if related, but LSNRCTL STATUS says my instance name status is BLOCKED. Also, getting ORA-00214 upon executing "STARTUP" within sqlplus. In the meantime, will try to resolve 00214 error see if that'll fix everything. Thanks.

    883377 wrote:
    Help. Experiencing ORA-01219 error while trying to check status of database from new install of Oracle 10g on Redhat Enterprise Server.
    - Logging in with "sqlplus / as SYSDBA"
    - "SELECT STATUS FROM V$INSTANCE" returns
    STATUS
    STARTED
    - "SELECT * FROM DBA_ALL_TABLES" returns
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Not sure if related, but LSNRCTL STATUS says my instance name status is BLOCKED. Also, getting ORA-00214 upon executing "STARTUP" within sqlplus. In the meantime, will try to resolve 00214 error see if that'll fix everything. Thanks.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 1553305600 bytes
    Fixed Size              2213656 bytes
    Variable Size           1224739048 bytes
    Database Buffers       318767104 bytes
    Redo Buffers              7585792 bytes
    SQL> SELECT STATUS FROM V$INSTANCE;
    STATUS
    STARTED
    SQL> SELECT * FROM DBA_ALL_TABLES;
    SELECT * FROM DBA_ALL_TABLES
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> alter database mount;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> SELECT count(*) from dba_all_tables;
      COUNT(*)
          3005
    SQL>

  • TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA

    Hi,
    Could anyone please let me know why my listener is not getting started. Please check below my listener status and the error I am getting while starting the listener.
    [oracle@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 05:11:41
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 111: Connection refused
    And bleow is the error which I am getting while starting the listener:
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 05:11:54
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/home/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
    NL-00305: the specified path name does not exist
    Listener failed to start. See the error message(s) above...
    please check below my listener entries:
    [oracle@localhost admin]$ more listener.ora
    # listener.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = mydb)
          (ORACLE_HOME = /u01/home/oracle/product/11.2.0/db_1)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = ORCL)
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@localhost admin]$ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ORCL)
    Please help me how should I get it resolve.
    Regards,
    Michel

    Problem is resolved. Thanks everyone.

  • How to flush an instance in the listener.ora file

    Hi,
    We have Oracle DB server 10.2.0.3.0 running in RHEL4 2.6.9-42. It is a RAC Configured, previously 8 instances. Now we only have seven because we remove the other one; removedserver.company.com
    Unfortunately, it was not removed following the correct method because the server was destroyed. We are able to remove it from the list of RAC though using deletenode.sh (in fact it is no longer appearing in +./olsnodes+).
    Our problem now is that the instance name is still appearing in our listener.ora file. And I am getting error in alert.log
    ORA-00130: invalid listener address '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=+removedserver.company.com+) (PORT=xxxx)))'
    If I will edit the listener.ora manually and removed the instance from there, my problem will be
    1. it might be added again in the listener.ora when we do adautoconfig
    2. I am not sure of the impact if I will do it manually.
    Hope somebody would help.
    Thanks in advance.

    SQLNET files, listener.ora and tnsnames.ora must be hand edited by the DBA. Services, too, must be reconfigured by the DBA.
    The impact of doing it manually is that it works. <g>

  • R12 upgrade , after 6678700, started services, listener.ora file missing

    Hi ,
    1)- Upgrading to r12 from 10.5.10.2
    2)- 6678700 completed (so far just for US, not NLS).
    3)-Just for testing purpose , when started services, got following errors related to listener.ora.
    Please help.
    Executing service control script:
    /u01/oracle/inst/apps/TEST_epiktest/admin/scripts/adalnctl.sh start
    script returned:
    adalnctl.sh version 120.3
    Checking for FNDFS executable.
    Starting listener process APPS_TEST.
    adalnctl.sh: exiting with status 1
    adalnctl.sh: check the logfile /u01/oracle/inst/apps/TEST_test/logs/appl/admin/log/adalnctl.txt for more information ...
    .end std out.
    grep: /u01/oracle/inst/apps/TEST_test/ora/10.1.2/network/admin/listener.ora: No such file or directory
    .end err out.

    grep: /u01/oracle/inst/apps/TEST_test/ora/10.1.2/network/admin/listener.ora: No such file or directoryPlease run AutoConfig and make sure it completes successfully -- AutoConfig will create the listener.ora file for you.
    Thanks,
    Hussein

  • Listener.ora question

    Sorry if this is a duplicate question, as I'm in a big hurry.
    DBCA added my public ip to my listener.ora on all my rac nodes about two years ago. It's been running fine for the most part, but now I'm wondering if it's been causing some hanging issues during both planned and un-planned shutdowns.
    The VIP is the correct way to go. I just hadn't noticed that the public ip was also in it. Should I remove it? Should I change it to the VIP ip?
    Here's the listener.ora for on node.
    LISTENER_TRAC201 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = trac201-vip)(PORT = 1621)(IP = FIRST)) <-- VIP obviously
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 138.72.249.161)(PORT = 1621)(IP = FIRST)) <-- Public ip of host.
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )

    138.72.249.161 -> that's public IP, right?
    if VIP Failover Take Long Time... after stop listener or...
    because "lsnrctl stop" listener has to wait for TCP timeout before it can check next address.
    Oracle recommend to use IPC address first
    LISTENER_TRAC201 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = trac201-vip)(PORT = 1621)(IP = FIRST)) <-- VIP obviously
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 138.72.249.161)(PORT = 1621)(IP = FIRST)) <-- Public ip of host.
    Example:
    $ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2009 01:57:01
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac01-vip)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac01)(PORT=1521)))
    and setting listener:
    this's video cast can help idea: http://www.youtube.com/watch?v=VRwLsZ-AE-w
    Example:
    $ lsnrctl service
    Service "service01" has 2 instance(s).
    Instance "racdb1", status READY, has 2 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=rac01-vip)(PORT=1521))
    "DEDICATED" established:15314 refused:0 state:ready
    LOCAL SERVER
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:248 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=rac02-vip)(PORT=1521))
    The command completed successfully
    I'm wondering if it's been causing some hanging issues during both planned and un-planned shutdowns.Could you explain?
    How about interconnect... Giagabit NIC or Cross Cable?

Maybe you are looking for