Srvctl start listener

Dear,
the default for listener was in a RAC environment.
$ORACLE_HOME/network/admin
question:
i have moved the listener to a different location.
$ORACLE_HOME/network/admin/DB1
how can i change this location in CRS
which command should i use.
Thanks in advance!
Regards,

Hi,
I try simulate the same scenario on my test env...
carpa:/home/ora10g> cd $ORACLE_HOME/network/admin/
carpa:/u01/app/oracle/product/10.2.0/network/admin> mkdir teste
carpa:/u01/app/oracle/product/10.2.0/network/admin> mv listener.ora teste/
carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
/u01/app/oracle/product/10.2.0/network/admin
carpa:/u01/app/oracle/product/10.2.0/network/admin> export TNS_ADMIN=/u01/app/oracle/product/10.2.0/network/admin/teste
carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
/u01/app/oracle/product/10.2.0/network/admin/teste
carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:26
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/network/admin/teste/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.22.9)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.22.9)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 13-APR-2009 14:36:26
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/network/admin/teste/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.22.9)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "dsrj01.myjob.com" has 1 instance(s).
Instance "dsrj01", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:37
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.22.9)(PORT=1521)))
The command completed successfully
carpa:/u01/app/oracle/product/10.2.0/network/admin> export TNS_ADMIN=/u01/app/oracle/product/10.2.0/network/admin
carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
/u01/app/oracle/product/10.2.0/network/admin
carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:52
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=carpa)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 13-APR-2009 14:36:52
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=carpa)(PORT=1521)))
The listener supports no services
The command completed successfully
This is a listener without listener.ora, this is a default configuration, it happened cause
we move listener.ora from new location, now listener.ora is under $ORACLE_HOME/network/admin/teste/ ... Do you remeber?
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com

Similar Messages

  • Srvctl start listener -n rac1 gives CRS-1028 and CRS-0223

    Boot up 2 linux 10.2.0.1.0 RAC nodes.
    everything starts except listeners
    srvctl start listener -n rac1
    or
    srvctl start listener -n rac2
    gives
    CRS-1028
    CRS-0223
    However, if you start listeners manually, using
    lsnrctl start listener_rac1
    or
    lsnrctl start listener_rac2
    they start right up. Moreover, once you have started them manually, the srvctl start listener commands now work, both stopping and starting the listeners with srvctl now works. However, when reboot systems, again srvctl must be "primed" for starting listener by doing one "manual" startup of listener.
    Any thoughts on what is causing this behavior?
    Thanks!

    Alan, thanks - excellent advice. However, I just ended up redoing the entire install and this of course fixed the problem :-)
    Thanks for your reply, Gil
    PS also, btw I use the crsstat script instead of the crs_stat for better formatting, i.e. this script (which I named crsstat) lives in $ORA_CRS_HOME/bin. Also, note I am not the author of this script, I downloaded it from Metalink:
    #!/usr/bin/ksh
    # Sample 10g CRS resource status query script
    # Description:
    # - Returns formatted version of crs_stat -t, in tabular
    # format, with the complete rsc names and filtering keywords
    # - The argument, $RSC_KEY, is optional and if passed to the script, will
    # limit the output to HA resources whose names match $RSC_KEY.
    # Requirements:
    # - $ORA_CRS_HOME should be set in your environment
    RSC_KEY=$1
    QSTAT=-u
    AWK=/usr/bin/awk # if not available use /usr/bin/awk
    # Table header:echo ""
    $AWK \
    'BEGIN {printf "%-45s %-10s %-18s\n", "HA Resource", "Target", "State";
              printf "%-45s %-10s %-18s\n", "-----------", "------", "-----";}'
    # Table body:
    $ORA_CRS_HOME/bin/crs_stat $QSTAT | $AWK \
    'BEGIN { FS="="; state = 0; }
    $1~/NAME/ && $2~/'$RSC_KEY'/ {appname = $2; state=1};
    state == 0 {next;}
    $1~/TARGET/ && state == 1 {apptarget = $2; state=2;}
    $1~/STATE/ && state == 2 {appstate = $2; state=3;}
    state == 3 {printf "%-45s %-10s %-18s\n", appname, apptarget, appstate; state=0;}'

  • Srvctl start listener - ERROR

    Hi All,
       We need at add new listener with new port to cluster, while adding iam getting this error
    DB VERSION : 11.2.0.3
    from ORACLE_HOME/bin directory
    [oracle@cisssna01sora81 bin]$ ./srvctl add listener -l LISTENER_TEST  -p 1559 -o /app/oracle/product/11.2.0/dbhome_1
    PRCN-2061 : Failed to add listener ora.LISTENER_TEST.lsnr
    PRCN-2065 : Port(s) 1559 are not available on the nodes given
    PRCN-2067 : Port 1559 is not available across node(s) "node1"
    Please advise me on this.

    Same link i attached you the other day:
    How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure (Doc ID 1063571.1)
    why didn't you read it?

  • Srvctl status listener not wkng for 10g DB on 11g cluster

    Hi Friends,
    I am using Oracle 11g (11.2.0.2) cluster and on which 10g database(10.2.0.2) database and listener is registered.
    I have a problem in using srvctl (10g) to check the listener status.It's throwing error but i am able to start and stop listsner service using srvctl:
    bash-3.00$ which srvctl
    /oraho/ora10g/product/10.2.0/db_1/bin/srvctl
    bash-3.00$
    bash-3.00$ ps -ef | grep tns
    grid 4528 1 0 May 31 ? 0:13 /orapdpw/app/oracle/product/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
    grid 4537 1 0 May 31 ? 0:13 /orapdpw/app/oracle/product/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
    grid 4531 1 0 May 31 ? 0:13 /orapdpw/app/oracle/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    oraho 11336 1 0 15:59:05 ? 0:00 /oraho/ora10g/product/10.2.0/db_1/bin/tnslsnr HOLISTENER_JXR12DB1 -inherit
    bash-3.00$
    bash-3.00$
    bash-3.00$ srvctl status listener -l HOLISTENER_JXR12DB1
    Usage: srvctl <command> <object> [<options>]
    bash-3.00$
    bash-3.00$ srvctl status listener -l HOLISTENER_JXR12DB1 -n JXR12DB1
    Usage: srvctl <command> <object> [<options>]
    I even tried as grid user but same error
    But i could able to use
    srvctl start listener -l HOLISTENER_JXR12DB1 -n JXR12DB1 and
    srvctl stop listener -l HOLISTENER_JXR12DB1 -n JXR12DB1
    I could use the srvctl status for DB and it's working fine
    bash-3.00$ srvctl status database -d HOTEST
    Instance HOTEST1 is running on node jxr12db1
    Instance HOTEST2 is running on node jxr12db2
    Please let me know the reason
    Regards,
    DB

    Hello DB
    10g syntax does not support "srvctl status listener". See this URL:
    http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1009882
    Cheers
    Riyaj Shamsudeen
    Blog: http://orainternals.wordpress.com/
    Oracle ACE Director and OakTable member http://www.oaktable.com
    Advanced RAC seminar | http://www.orainternals.com/services/training/advanced-rac-training/

  • Error starting listener on single node in RAC..Error listening on: (DESCRIP

    LSNRCTL> start LISTENER_CORPNG04
    Starting /ora00/app/oracle/product/11/db1/bin/tnslsnr: please wait...
    TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
    System parameter file is /ora00/app/oracle/product/11/db1/network/admin/listener.ora
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vir_corpng04)(PORT=1521)(IP=FIRST)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    HPUX Error: 227: Can't assign requested address
    Listener failed to start. See the error message(s) above...
    LSNRCTL>
    Plz help its production system
    Thanks in Advance
    Gagan

    Hello,s
    First of all, check the status of all resources by using crs_stat -t
    Check if your VIP resource is indeed up and running on the node where you want to start the listener. As listener is depending upon this VIP address, it is needed to be up on the node where listener is configured. If this is the case then relocate the vip back to the system by using either of the following commands
    1. crs_relocate <vip_resource_name>
    OR
    2. srvctl start nodeapps -n <hostname>
    listener should be automatically up once crs relocates back the vip to the system.
    If vip is already running fine on the system then check for your listener configuration as you check in normal systems.
    Lalit Verma
    [http://sites.google.com/site/racinsights1]

  • Srvctl start database -d dbname error tns lost contact

    hi,
    i am facing error while starting the databse by using srvctl in single node database.
    srvctl status database -d <dbname> is working fine and it is giving output. i am able to start the database manually too.
    srvctl start database -d <dbname>
    PRCR-1133 : Failed to stop database <dbname> and its running services
    PRCR-1132 : Failed to stop resources using a filter
    ORA-12547: TNS:lost contact
    any advice.
    regards
    Suresh J
    Edited by: user11982371 on Apr 20, 2012 6:53 AM

    may i know what you have done before....srvctl start...etc...
    do you have done any changes?
    post your oracle version and OS....
    please find below notes from metalink..it may helpful to you....
    This could be many things but a popular issue is when you have a separate ASM Home and the listener is running out of this home (it was the first home installed). Srvctl needs a TNS_ADMIN alias to the network/admin directory in this home instead of using the default ORACLE_HOME/network/admin for the database you are trying to start. For srvctl to work you must
    srvctl setenv nodeapps -n node -T TNS_ADMIN=full path
    on each node in the cluster.
    You cannot rely on a TNS_ADMIN environment variable.
    See Note 420977.1
    Another cause is non-existent spfile, see Note 732683.1
    source support.oracle.com
    Edited by: dbc001 on Mar 23, 2013 10:55 AM

  • Srvctl start service/stop throwing error ORA-01031: insufficient privileges

    Hi Gurus,
    When i try to start/stop the service getting below error.Please help me troubleshoot it.
    AIX-6.1
    11.2.0.1
    Plato1:/u01/app/11.2.0/grid/network/admin>srvctl start service -d maxcv
    PRCR-1079 : Failed to start resource ora.maxcv.maxcv.svc
    CRS-2680: Clean of 'ora.maxcvuat.svc' on 'Plato1' failed
    CRS-5807: Agent failed to process the message
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2680: Clean of 'ora.maxcvuat.svc' on 'Plato1' failed
    Thanks

    SQL> execute dbms_service.start_service('maxcvuat');PL/SQL procedure successfully completed.
    Output from alert.log
    EMNC started with pid=32, OS id=1384660
    2011-09-09 09:32:09.820000 -04:00
    Starting background process CJQ0
    CJQ0 started with pid=53, OS id=1429756
    2011-09-09 09:37:00.698000 -04:00
    Starting background process SMCO
    SMCO started with pid=33, OS id=1687726
    2011-09-09 09:52:59.212000 -04:00
    ALTER SYSTEM SET service_names='maxcvuat' SCOPE=MEMORY SID='maxcv2';
    ~crsctl stat output:
    plato2:/home/grid>crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.CRS.dg
                   OFFLINE OFFLINE      plato1
                   OFFLINE OFFLINE      plato2
    ora.CRS_DATA.dg
                   ONLINE  OFFLINE      plato1
                   ONLINE  ONLINE       plato2
    ora.CRS_DATA1.dg
                   ONLINE  OFFLINE      plato1
                   ONLINE  ONLINE       plato2
    ora.CRS_VDISK.dg
                   OFFLINE OFFLINE      plato1
                   ONLINE  ONLINE       plato2
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       plato1
                   ONLINE  ONLINE       plato2
    ora.maxcv_DATA.dg
                   ONLINE  INTERMEDIATE plato1
                   ONLINE  ONLINE       plato2
    ora.maxcv_REC.dg
                   ONLINE  INTERMEDIATE plato1
                   ONLINE  ONLINE       plato2
    ora.asm
                   ONLINE  OFFLINE      plato1
                   ONLINE  ONLINE       plato2
    ora.eons
                   ONLINE  ONLINE       plato1
                   ONLINE  ONLINE       plato2
    ora.gsd
                   OFFLINE OFFLINE      plato1
                   OFFLINE OFFLINE      plato2
    ora.net1.network
                   ONLINE  ONLINE       plato1
                   ONLINE  ONLINE       plato2
    ora.ons
                   ONLINE  ONLINE       plato1
                   ONLINE  ONLINE       plato2
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       plato2
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       plato1
    ora.LISTENER_SCAN3.lsnr
          1        ONLINE  ONLINE       plato1
    ora.plato1.vip
          1        ONLINE  ONLINE       plato1
    ora.plato2.vip
          1        ONLINE  ONLINE       plato2
    ora.maxcv.db
          1        ONLINE  ONLINE       plato2                   Open
          2        ONLINE  ONLINE       plato1                   Open
    ora.maxcv.maxcvuat.svc
          1        OFFLINE UNKNOWN      plato1
          2        OFFLINE UNKNOWN      plato1
    ora.coscv.db
          1        ONLINE  ONLINE       plato1                   Open
          2        ONLINE  ONLINE       plato2                   Open
    ora.coscv.coscvuat.svc
          1        ONLINE  UNKNOWN      plato1
          2        ONLINE  UNKNOWN      plato1
    ora.oc4j
          1        OFFLINE OFFLINE
    ora.scan1.vip
          1        ONLINE  ONLINE       plato2
    ora.scan2.vip
          1        ONLINE  ONLINE       plato1
    ora.scan3.vip
          1        ONLINE  ONLINE       plato1
    plato2:/home/grid>Stopping of database:
    plato2:/home/oracle>srvctl stop database -d maxcv
    PRCD-1124 : Failed to stop database maxcv and its services
    PRCR-1065 : Failed to stop resource (((((NAME STARTS_WITH ora.maxcv.) && (NAME ENDS_WITH .svc)) && (TYPE == ora.service.type)) && ((STATE != OFFLINE) || (TARGET != OFFLINE))) || (((NAME == ora.maxcv.db) && (TYPE == ora.database.type)) && (STATE != OFFLINE)))
    CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
    CRS-5807: Agent failed to process the message
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2675: Stop of 'ora.maxcv.db' on 'plato1' failed
    CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
    CRS-5807: Agent failed to process the message
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2680: Clean of 'ora.maxcv.maxcvuat.svc' on 'plato1' failed
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2675: Stop of 'ora.maxcv.db' on 'plato1' failed
    plato2:/home/oracle>ps -ef |grep pmon
    oracle  892946 1818664   0 09:30:35  pts/0  0:00 grep pmon
    grid 1360080       1   0   Sep 06      -  1:23 asm_pmon_+ASM2
    oracle 1376428       1   0   Sep 06      -  1:42 ora_pmon_coscv2
    plato2:/home/oracle>Thanks

  • Stop start listener RAC

    Hi,
    DB : 10.2.0.4
    OS: AIX 5.3 L
    This is 2 node RAC on ASM with single standby on ASM.
    To stop listener in all RAC nodes , are the below steps correct?.
    crs_stop ora.rac1.LISTENER_rac1.lsnr
    crs_stop ora.rac2.LISTENER_rac2.lsnr
    OR
    srvctl stop listener -n rac1 -l ora.rac1.LISTENER_rac1.lsnr
    srvctl stop listener -n rac2 -l ora.rac2.LISTENER_rac2.lsnr
    Node1: rac1
    Node2: rac2
    Same i have to follow to start listener , start word in place of stop , right?.
    Please confirm me on this.
    Thanks,
    Sunand

    This is 2 node RAC on ASM with single standby on ASM.
    To stop listener in all RAC nodes , are the below steps correct?.
    crs_stop ora.rac1.LISTENER_rac1.lsnr
    crs_stop ora.rac2.LISTENER_rac2.lsnr
    OR
    srvctl stop listener -n rac1 -l ora.rac1.LISTENER_rac1.lsnr
    srvctl stop listener -n rac2 -l ora.rac2.LISTENER_rac2.lsnr
    Node1: rac1
    Node2: rac2
    Same i have to follow to start listener , start word in place of stop , right?.
    You should use the second option using srvctl.
    Because srvctl is meant for starting/stopping resources.
    Even using first command also you can achieve this and also using lsnrctl also. But I would prefer srvctl.
    Regards
    Rajesh

  • SRVCTL START DATABASE FAILS WITH  ORA-00119

    Hi,
    My DB version is 11.2.0.2.3
    I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
    CRS-5017: The resource action "ora.****.db start" encountered the following error:
    SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_local'
    Can you please suggest for any workaround.
    Thanks

    Did you check the TNS_ADMIN? Where does it point to?
    Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
    sqlnet.ora
    listener.ora
    tnsnames.ora

  • Srvctl remove listener

    Hi,
    I try to cleanup my Cluster according to Metalink
    Steps to Remove Node from Cluster When the Node Crashes Due to OS/Hardware Failure and cannot boot up [ID 466975.1]
    Oracle Version: 10.2.0.4
    Problem:
    srvctl remove listener
    seems to be unknown to system - looks like that srvctl does not know the object: listener
    oracle@node1:/crs_home/bin> srvctl remove listener ora.node2.LISTENER_node2.lsnr
    Usage: srvctl <command> <object> [<options>]
    oracle@node1:/crs_home/bin> srvctl remove listener
    Usage: srvctl <command> <object> [<options>]
    oracle@node1:/crs_home/bin>
    But in the HELP it shows the object listener
    oracle@node1:/crs_home/bin> srvctl remove
    Usage: srvctl <command> <object> [<options>]
    command: enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config
    objects: database|instance|service|nodeapps|asm|_listener_
    For detailed help on each command and object and its options use:
    srvctl <command> <object> -h
    oracle@node1:/crs_home/bin>
    Question:
    Is it also possible to use crs_unregister to remove the listener ?
    From the Metalink document:
    The srvctl remove listener command used below is only applicable in 10204 and higher releases including 11.1.0.6. The command will report an error if the clusterware version is less than 10204. If clusterware version is less than 10204, use netca to remove the listener
    But I have version 10.2.0.4 - and netca won´t delete the listener, because the maschines are not available
    Christian

    Hi,
    I cannot remove the listener and vip entries
    node1:/oracle/product/10.2.0/db_1/bin # ./srvctl remove nodeapps -n node3
    Please confirm that you intend to remove the node-level applications on node node3 (y/[n]) y
    PRKO-2112 : Some or all node applications are not removed successfully on node: node3
    node1:/oracle/product/10.2.0/db_1/bin # exit
    logout
    oracle@node1:/crs_home/bin> ./crs_stat -t
    Name Type Target State Host
    ora.feuer.db application ONLINE ONLINE node1
    ora....r1.inst application ONLINE ONLINE node1
    ora....SM1.asm application ONLINE ONLINE node1
    ora....C1.lsnr application ONLINE ONLINE node1
    ora.node1.gsd application ONLINE ONLINE node1
    ora.node1.ons application ONLINE ONLINE node1
    ora.node1.vip application ONLINE ONLINE node1
    ora....C2.lsnr application OFFLINE OFFLINE
    ora.node2.vip application OFFLINE OFFLINE
    ora....C3.lsnr application OFFLINE OFFLINE
    ora.node3.vip application OFFLINE OFFLINE
    oracle@node1:/crs_home/bin>

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • Problem With Listener Service: Long Delay Starting Listener, Intermittent Connections

    I am having trouble connecting to my Oracle database.  I'm not sure what the cause was, but now when I connect to a database that has been working fine for the past two years, I usually get a ORA-12541 error.
    I run lsnrctl status on the server and get a prinout like this:
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dqaswn02)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    I've also tried manually stopping the service via services.msc and then restarting via lsnrctl start, but when I do this I get a really long delay (10+ minutes) before it returns with something like:
    TNS-01153: Failed to process string: 0í≈♥
    I'm pretty lost as to what is wrong.  I've been messing around with listener.ora, but I don't see anything problematic in there.  Here's a copy:
    # listener.ora Network Configuration File: E:\app\myc0714\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = E:\app\myc0714\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:E:\app\myc0714\product\11.2.0\dbhome_1\BIN\OraClr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dqaswn02)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    # ADR_BASE_LISTENER = E:\app\myc0714
    LOG_FILE_LISTENER = LISTENER
    TRACE_LEVEL_LISTENER = SUPPORT
    TRACE_FILE_LISTENER = LISTENER
    However, a few times during this I've been able to connect to the server, via sqlplus, but it has taken 10 minutes before the connection comes online.  Once I'm connected, I can query my tables as expected, but I need an application to connect.
    If anyone has any ideas on what could be wrong, please let me know.

    When I opened up netca, I didn't have any listeners configured, which seems very strange.  When adding it, I get this message in the cmd window:
    Oracle Net Services Configuration:
    Configuring Listener:LISTENER
    ServiceAliasException: Could not save Service Alias: TNS-04406: Object already e
    xists
    Default local naming configuration complete.
    Listener configuration complete.
    Oracle Net Listener Startup:
        Running Listener Control:
          E:\app\myc0714\product\11.2.0\dbhome_1\bin\lsnrctl start LISTENER
        Listener Control complete.
        Listener start failed.
    I killed the service via services.msc again and tried starting the lsnrctl.  This time I've got a new listening service going:
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is E:\app\myc0714\product\11.2.0\dbhome_1\network\admin\li
    stener.ora
    Log messages written to e:\app\myc0714\diag\tnslsnr\DQASWN02\listener\alert\log.
    xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DQASWN02.petroleumplace.
    com)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DQASWN02.petroleumplace.
    com)(PORT=1521)))
    TNS-01153: Failed to process string: X☺∙♥
    I just tried starting the trace.  I'm waiting for it to connect, I guess.  I'll post anything I get out of it when it returns.

  • Stop and then start Listener from OEM

    Hi,
    I am new to Oracle. I notice after stopping listener using OEM on Windows XP, the TNSLNR.exe is terminated as I expected. At that point, all connections include OEM, iSQL*PLUS and SQL*PLUS should close connection.
    If this is right, how can one start listener from OEM? One needs listener work before using OEM to config something else. What is the purpose of Start button for listener on OEM? Even more perplexing me is that iSQL*PLUS is still works! Does iSQL*PLUS not use listener for connection?
    Your help will be appreciated,
    -Hong

    Hi
    i think its not possible to start the listener from oem, because the oem use the listener to communicate to the db.
    Regards
    Mirko

  • Databases instances stuck in MOUNT MODE after srvctl start database -d

    Hi,
    I wonder if anyone can shed some light on why the following scenario is happening in our environment.
    We have a 4 node site, configured with RAC on nodes 1 & 2 and dataguard shipping the logs to a standby physical cluster
    database on nodes 3 & 4.
    Our issue is this:
    When the database instances on nodes 1 & 2 are stopped and restarted using this command sequence
    srvctl stop database -d SOCPRODCAV
    srvctl start database -d SOCPRODCAV
    each database instance gets started up only as far as MOUNT mode.
    The databases are not opened and i have to go in and do this manually for each instance.
    The above command sequence used to successfully restart the database and leave it open for use so i'm wondering how the start
    mode has been changed and if there is an area of configuration or view anyone can guide me to look at it.
    I provide remote DBA support for this client's and it is possible that another onsite DBA may have changed something.
    Any pointers gratefully received.
    Regards,
    George

    See current configuration as follows
    srvctl config database -d SOCPRODCAV -aThis should show you current startup/stop settings as follows
    Start options: open
    Stop options: immediate
    Now you can change current settings if Start option is not "open"
    srvctl modify database -d SOCPRODCAV -s OPENReference
    http://docs.oracle.com/cd/E14072_01/server.112/e10595/restart005.htm#i1009665
    Salman

  • I can't start listener in the Control Painel/Admin Tools/ Services

    Windows XP - Home Edition (I know it´s not the better but came with my laptop)
    I installed the Oracle 10g and I don't know why I have 3 listener as services. Its services showed me different messages when I tried start it:
    1. OracleOraDb10g_home1TNSListener: Could not start the 2. OracleOraDb10g_home1TNSListener service on Local Computer
    2. OracleOraDb10g_home1TNSListenerORCL: The OracleOraDb10g_home1TNSListenerORCL service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performace Logs and Alerts service
    3. OracleOraDb10g_home1TNSListenerSID_LIST_LISTENER: The OracleOraDb10g_home1TNSListenerSID_LIST_LISTENER service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performace Logs and Alerts service
    ====PATH======
    Path=C:\oracle\product\10.1.0\Db_3\bin;C:\Program Files\oracle 8i\bin;C:\oracle\
    product\10.1.0\Db_3\jdk\jre\bin;C:\oracle\product\10.1.0\Db_3\jdk\jre\bin\classi
    c;C:\oracle\product\10.1.0\Db_3\jdk\jre\bin\classic;C:\oracle\product\10.1.0\Db_
    3\jlib;C:\oracle\product\10.1.0\Db_3\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C
    :\oracle\product\10.1.0\Db_3\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\Db_3\
    jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
    Files\ATI Technologies\ATI Control Panel;%java_home%\bin;C:\Program Files\Commo
    n Files\Ulead Systems\MPEG;C:\WINDOWS\system32\gs\gs8.13\bin
    ====REGISTRY======
    TNS_ADMIN I set as Binary Data in the HKEY_CURRENT_USER\Environment with the path C:\oracle\product\10.1.0\Db_3\NETWORK\ADMIN
    ====LISTENER.ORA======
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_3)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.17)(PORT = 1521))
    ====TNSNAMES.ORA========
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.17)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ====SQL.ORA========
    NAMES.DEFAULT_DOMAIN = 192.168.0.17
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    =======OS CONFIGURATION================
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 23-MAR-2006 08:23
    :44
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.17)(PORT=1521)
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    C:\>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Ethernet adapter Wireless Network Connection 2:
    Connection-specific DNS Suffix . : myhome.westell.com
    IP Address. . . . . . . . . . . . : 192.168.0.17
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    C:\>
    Please, if somebody knows this problem I need a very urgent help. Thank you very much.

    Thanks ALL, I GOT IT, but I used other solution.
    Since I installed and uninstalled the Oracle several times, it keeps also many different Services for the listener. I don't know why, it didn't create a Service for my actual instalation with its path. In other words, all the services remained in the services.msc panel, had the path that was already removed from the Windows folder.
    Then what I did, was that I picked one service, took its name (OracleOraDb10g_home1TNSListener), went to regedit to [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OracleOraDb10g_home1TNSListener] and simply changed the image path that was setted for the one that was removed (C:\oracle\product\10.1.0\Db_2\BIN\TNSLSNR ) for mine that is installed right now
    (C:\oracle\product\10.1.0\Db_1\BIN\TNSLSNR). Nothing more and finally works.
    I have tried something in the services.msc panel before, as you can see in this forum at the thread "I can't start listener in the Control Painel/Admin Tools/ Services", but I never got
    success.
    Appreciate your time!!

Maybe you are looking for

  • Issue connecting HP Laserjet.

    I have an iMac with OS X 10.7.5 and am trying to reinstall an HP printer driver I have been using for years.  I am at a complete loss, as the computer does not seem to be able to recognize the printer.  I am connected wirelessly.  Please help!!

  • Applet.java file which used to compile, now does not

    I cannot re-compile a java file which I used to compile many times. It keeps saying: error: cannot read PopupNavigatorApplet.java 1 error I extracted the original from the archive - the same result What might be wrong?

  • Receiver SOAP adapter SSL error - client certificate required?

    Hi all, Problem configuring SSL in XI 3.0 NW04 SP17.... I have followed the config steps from Rahul's excellent weblog at <a href="/people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter">How to use Client Authenticat

  • Printers

    If I am interested in purchasing a Mac, I need to know a few things first. One of my main questions is about printers. I need a printer/fax/copier/scanner. I am hoping for an all-in-one. I have looked on the Apple Online Store, and I have found some.

  • Payment Details Declined

    I'm getting a "payment declined" message when updating my credit card details. Although it is a new cr card I have made purchases on Amazon with the card so i know the card is ok.. I see this seems to be a common issue with itunes/app store. Has ther