9i: Listener, endpoints and services

Hi,
I want to do B2B on an Oracle 9i DB.
No Tomcat, no Apache, no 9iAS, nothing but 9i EE DB!!
If you have a listener on a port, maybe 9950
and you don't choose the DB-Service stuff
you can put in a service written by yourself.
Can you?
Which interfaces do I have to implement.
oracle.ds.engine.InputAdaptor
Write an Adapter?
I searched:
http://tahiti.oracle.com/pls/db901/db901.drilldown?remark=&word=S
ervice&book=&preference=
And I'm too stupid to fully understand the task?
Please help me out on that!
Thanks,
Volker.

Service is just a group of sessions. I will try to explain as basic as possible.
For example You have 2 Applications, Accounting and Reporting applications, You want to separate them, separate their resources, statistics or connection methods.
For example on single instance, we will create (using dbms_service.create_service) two services ACCOUNT.SERVICE and REPORT.SERVICE, then we can
use them in the resource manager, we can assign jobs to the services, we can check any statistics service based, for example for which event class Accounting application
waits maximum time, i/o or concurrency? We can select from v$service_wait_class where service_name=ACCOUNT.SERVICE. Everything in the 10g can be analyzed service based,
you also for example can trace Reporting application by tracing REPORT.SERVICE service using dbms_monitor.serv_mode_act_trace_enable procedure.
We need all Accounting application sessions to connect to ACCOUNT.SERVICE, then in connection descriptor of this application we use SERVICE_NAME=ACCOUNT.SERVICE, and
we can check then from v$session where service_name='ACCOUNT.SERVICE', there will be sessions that are connected from Accounting application. Reporting application will use SERVICE_NAME=REPORT.SERVICE in connect descriptor, and we will identify them in database by selecting from v$session where service_name='REPORT.SERVICE'.
Default service name is db_name.db_domain there is also system specific services SYS$USERS and SYS$BACKGROUND for system connections and background processes.
When we create service in the database PMON will register them automatically with listeners.

Similar Messages

  • 9i: Listener, enpoints and services

    Hi,
    I want to do B2B on an Oracle 9i DB.
    (Soap kind of application)
    No Tomcat, no Apache, no 9iAS, nothing but 9i EE DB!!
    If you have a listener on a port, maybe 9950
    and you don't choose the DB-Service stuff
    you can put in a service written by yourself.
    Can you?
    Which interfaces do I have to implement.
    oracle.ds.engine.InputAdaptor
    Write an Adapter?
    I searched:
    http://tahiti.oracle.com/pls/db901/db901.drilldown?remark=&word=S
    ervice&book=&preference=
    And I'm too stupid to fully understand the task?
    Please help me out on that!
    Thanks,
    Volker.

    Service is just a group of sessions. I will try to explain as basic as possible.
    For example You have 2 Applications, Accounting and Reporting applications, You want to separate them, separate their resources, statistics or connection methods.
    For example on single instance, we will create (using dbms_service.create_service) two services ACCOUNT.SERVICE and REPORT.SERVICE, then we can
    use them in the resource manager, we can assign jobs to the services, we can check any statistics service based, for example for which event class Accounting application
    waits maximum time, i/o or concurrency? We can select from v$service_wait_class where service_name=ACCOUNT.SERVICE. Everything in the 10g can be analyzed service based,
    you also for example can trace Reporting application by tracing REPORT.SERVICE service using dbms_monitor.serv_mode_act_trace_enable procedure.
    We need all Accounting application sessions to connect to ACCOUNT.SERVICE, then in connection descriptor of this application we use SERVICE_NAME=ACCOUNT.SERVICE, and
    we can check then from v$session where service_name='ACCOUNT.SERVICE', there will be sessions that are connected from Accounting application. Reporting application will use SERVICE_NAME=REPORT.SERVICE in connect descriptor, and we will identify them in database by selecting from v$session where service_name='REPORT.SERVICE'.
    Default service name is db_name.db_domain there is also system specific services SYS$USERS and SYS$BACKGROUND for system connections and background processes.
    When we create service in the database PMON will register them automatically with listeners.

  • I am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error

    i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    here is my listener file
    lsn =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
    #ADR_BASE_LISTENER = /u01/app/oracle
    (SID_LIST_LISTENER=
    (SERVICE_NAME=kull)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    tnsnames.ora
    to_lsn=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = kull )
    my database name is kull
    please somebody help

    Biswaranjan wrote:
    i have two database one is kull and another is kk
    i configured listener.ora in kull
    and tnsnames.ora in kk
    when i am running lsnrctl start listener in database kull
    This makes no sense.  You don't configure a listener nor a tnsnames.ora "in a database".   I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
    it is showing the message
    Alias                     lsn
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JUL-2013 19:08:06
    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/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
    The listener supports no services
    The command completed successfully
    and in another database in kk when i am giving the command tnsping to_lsn
    it is giving this message
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
    OK (0 msec)
    but when i am cross check sqlplus system/manager@ to_lsn
    it is giving the following error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • Workflow Agent Listener and Service Components showing Down status

    Hi
    We are using oracle11i(11.5.10.2) on windows 2000 server
    unable to satrt Workflow agent and service component but mail server showing running status
    what could be the problem?
    with Regards
    AUH

    Hi Auh;
    Please check below and see its helpful:
    'Service Component Container is not Running' when Trying to Start Workflow Components [ID 733335.1]
    Oracle Workflow Release 12 Diagnostics [ID 469822.1]
    11i/R12 - A guide for troubleshoting Workflow Notification Emails - Inbound and Outbound [ID 831982.1]
    Cannot start WF Agent Listener - Error "Service Component Container Not Running" [ID 559388.1]
    How to Start Workflow Service Component Containers? [ID 436183.1]
    Troubleshooting Workflow Agent Listener's failure to start [ID 469009.1]
    Regard
    Helios

  • Listener configuration and other questions

    I have installed 2 database instances on the same database and under the same database home.
    The instances use the same listener. If i try to start enterprise manager in browser for both instances,
    the Enterprise Manager starts just for the last installed instance. I have edited the listener.ora file an
    added one more Description with another port number like folowing:
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fusion)(PORT = 1522))
    to the following content:
    LISTENER_APPDB =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fusion)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    now the file looks like following:
    LISTENER_APPDB =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fusion)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
         (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fusion)(PORT = 1522))
    ADR_BASE_LISTENER_APPDB = D:\app\oracle2
    SID_LIST_LISTENER_APPDB =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\oracle2\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\oracle2\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    i have also changed the port of one of the instances in the tnsnames.ora file from 1521 to 1522.
    Now it is possible to start Enterprise Manager for both instances. But after i connect to one of the
    instances with the Enterprise Manager the other instance logs of. Is it ok so??? Will i have problems
    with this configuration?? Should i do something different??
    Second question: After i have installed an instance, during the installation some patches where
    automaticaly installed. After that i have installed another instance. Do i have to patch this instance too???
    Are the patches installed for the whole DBMS or just for one instance???
    *Third question: If i have 2 instances how can i set the parameter btree_bitmap_plans for only*
    one of the instances ??? I have found the following code to do this:
    ALTER SYSTEM SET "_b_tree_bitmap_plans"=false SCOPE=SPFILE;
    but for wich instance the parameter will be set for both or just for one? Do i have to choose
    one of the instances?? How can i do that??
    Edited by: 995273 on 21.03.2013 02:49

    one listener cannot listen on two port numbers. Just for the precision : why not ?$ lsnrctl stat snoopy
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 21-MAR-2013 12:37:39
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ora11test)(PORT=1522)))
    STATUS of the LISTENER
    Alias                     snoopy
    Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date                21-MAR-2013 12:37:12
    Uptime                    0 days 0 hr. 0 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /opt/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /opt/app/oracle/diag/tnslsnr/ora11test/snoopy/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11test)(PORT=1522)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11test)(PORT=1525)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11test)(PORT=1527)))
    The listener supports no services
    The command completed successfully
    $

  • Errors in alert log and listener log and "alter database mount exclusive"

    Hello!
    I need a help.
    Database 11R2 works under MS Windows Server.
    Whwn I start it using Services, according alert log it is started by command "alter database mount exclusive".
    Next - alter database open.
    After this, it seams that program, which should put data into database, can not work with it, because I see errors in alert log: ora-12537, 12560, 12535, 12570, 12547.
    What does itmean and what to do?
    This is extract from alert_log
    ORACLE_BASE from environment = C:\Oracle
    Mon Feb 04 14:54:53 2013
    alter database mount exclusive
    Successful mount of redo thread 1, with mount id 1458539517
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: alter database mount exclusive
    alter database open
    Thread 1 opened at log sequence 3105
    Current log# 3 seq# 3105 mem# 0: C:\ORACLE\ORADATA\xxx\REDO03.LOG
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    Successfully onlined Undo Tablespace 2.
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    SMON: enabling tx recovery
    Database Characterset is AL32UTF8
    No Resource Manager plan active
    Mon Feb 04 14:55:04 2013
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Mon Feb 04 14:55:06 2013
    QMNC started with pid=20, OS id=2860
    Completed: alter database open
    Mon Feb 04 14:55:11 2013
    Starting background process CJQ0
    Mon Feb 04 14:55:11 2013
    CJQ0 started with pid=25, OS id=2000
    Mon Feb 04 14:55:11 2013
    db_recovery_file_dest_size of 4977 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Feb 04 15:00:29 2013
    Starting background process SMCO
    Mon Feb 04 15:00:29 2013
    SMCO started with pid=32, OS id=3212
    Edited by: kogotok1 on Feb 4, 2013 4:54 PM

    Thank you.
    But in the same time - when I see in alert log those error messages ora -12560, 12537,12535,12570 and so on - clients programs, whiie try to connect, hang up.
    For sql plus takes 20 minutes to connect.
    lsnrctl status gives the following
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-FEB-2013 16:01
    :46
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx-BD.mosxxx
    .elektra.net)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 01-FEB-2013 10:22:48
    Uptime 3 days 5 hr. 39 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\listener.ora
    Listener Log File c:\oracle\diag\tnslsnr\xxx-BD\listener\alert\l
    og.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx-BD.mosxxx.elektra.net)
    (PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XXX" has 2 instance(s).
    Instance "XXX", status UNKNOWN, has 1 handler(s) for this service...
    Instance "xxx", status READY, has 1 handler(s) for this service...
    Service "XXXDB" has 1 instance(s).
    Instance "xxx", status READY, has 1 handler(s) for this service...
    The command completed successfully
    To tell the truth I am confuse - I thought I have only 1 service "XXXDB" and 1 instance - "xxx".
    May be I have wrong entries in tnslsnr.ora?

  • Listener Show database Service Name In Wrong LSITENER Service

    dear Gurus,
    I need your help to understand this Listener stuff.
    Resume :
    Server : Linux RH5
    Oracle : 10G2
    In this server I've 2 database Instances lets say DMWEB adn CFMP
    Because several times we need to restart the Listener for CFMP i've choose to have separate Listener for each Database.
    So, i've created 2 Listener :
    LISTENER_CFMP =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13)(PORT = 1522)
    (SEND_BUF_SIZE=4194304)
    (RECV_BUF_SIZE=4194304)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13 )(PORT = 1521)
    (SEND_BUF_SIZE=4194304)
    (RECV_BUF_SIZE=4194304)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER_CFMP =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.2)
    (SID_NAME = CFMP)
    LISTENER_DMWEB =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13)(PORT = 1523)
    (SEND_BUF_SIZE=4194304)
    (RECV_BUF_SIZE=4194304)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    SID_LIST_LISTENER_DMWEB =
    (SID_LIST =
    (SID_DESC =
    (SDU = 32767)
    (ORACLE_HOME = /u01/app/oracle/product/10.2)
    (SID_NAME = DMWEB)
    When I get the Status for each listener I get :
    LSNRCTL> set current_listener LISTENER_CFMP
    Current Listener is LISTENER_CFMP
    LSNRCTL>
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp13)(PORT=1522)(SEND_BUF_SIZE=4194304)(RECV_BUF_SIZE=4194304)))
    STATUS of the LISTENER
    Alias LISTENER_CFMP
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 18-DEC-2009 10:54:44
    Uptime 19 days 23 hr. 9 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /u01/app/oracle/product/10.2/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2/network/log/listener_cfmp.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srvldbp13 )(PORT=1522)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srvldbp13 )(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "CFMP.world" has 1 instance(s).
    Instance "CFMP", status READY, has 1 handler(s) for this service...
    Service "CFMP_SITE2.world" has 1 instance(s).
    Instance "CFMP", status READY, has 1 handler(s) for this service...
    Service "CFMP_SITE2_DGB.world" has 1 instance(s).
    Instance "CFMP", status READY, has 1 handler(s) for this service...
    Service "CFMP_SITE2_DGMGRL.world" has 1 instance(s).
    Instance "CFMP", status UNKNOWN, has 1 handler(s) for this service...
    Service "CFMP_SITE2_XPT.world" has 1 instance(s).
    Instance "CFMP", status READY, has 1 handler(s) for this service...
    Service "DMWEB_SITE2" has 1 instance(s).
    Instance "DMWEB", status READY, has 1 handler(s) for this service...
    Service "DMWEB_SITE2_DGB" has 1 instance(s).
    Instance "DMWEB", status READY, has 1 handler(s) for this service...
    Service "DMWEB_SITE2_XPT" has 1 instance(s).
    Instance "DMWEB", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    LSNRCTL> set current_listener LISTENER_DMWEB
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp13)(PORT=1523)(SEND_BUF_SIZE=4194304)(RECV_BUF_SIZE=4194304)))
    STATUS of the LISTENER
    Alias LISTENER_DMWEB
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 18-DEC-2009 11:17:33
    Uptime 19 days 22 hr. 45 min. 50 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /u01/app/oracle/product/10.2/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2/network/log/listener_dmweb.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srvldbp13)(PORT=1523)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    Services Summary...
    Service "DMWEB" has 1 instance(s).
    Instance "DMWEB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    LSNRCTL>
    My Question
    Why the Services belonging to DMWEB database are registred on Listener CFMP????
    This Services are in LISTENER_CFMP when they should be in LISTENER_DMWEB right?
    Service "DMWEB_SITE2" has 1 instance(s).
    Instance "DMWEB", status READY, has 1 handler(s) for this service...
    Service "DMWEB_SITE2_DGB" has 1 instance(s).
    Instance "DMWEB", status READY, has 1 handler(s) for this service...
    Service "DMWEB_SITE2_XPT" has 1 instance(s).
    Instance "DMWEB", status READY, has 1 handler(s) for this service...
    What have I done wrong in listener configuration ???
    Thxs if you can help
    Rgds
    Carlos

    Why the Services belonging to DMWEB database are registred on Listener CFMP????Because Oracle is listening by default on port 1521 (and it is your CFMP listener) and the LOCAL_LISTENER parameter of the database DMWEB has been left empty ?
    That said, I'm not sure to understand why you need a listener for each db.
    Nicolas.

  • Listener supports no service

    Hi ,
    i am having issues with listener
    when i chk the listener status it is runnig buti get the one message
    The listener supports no services
    and when i am trying to connect from the client using sqlplus or forms 6i i get
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    able to do tnsping... but unable to connect.
    plz help..

    hi ,
    i typed the following command
    still no go
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Produ
    ction
    Start Date 15-MAR-2011 12:50:04
    Uptime 1 days 23 hr. 11 min. 43 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\app\User\product\11.1.0\db_1\network\admin\listener
    .ora
    Listener Log File d:\app\user\diag\tnslsnr\serverOracle\listener\alert\l
    og.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=serverOracle)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    my listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = serverOracle)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    Edited by: Janasheen on Mar 17, 2011 2:13 AM

  • SCAN listener supports no services

    Hi all,
    Our's DB: 11.2.0.1.0. Its 2 node cluster.
    $srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node1
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node1
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node2
    @node1$ps -ef | grep tnslsnr
    oracle xxxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
    oracle xxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER -inherit
    oracle xxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr listener_scan2 -inherit
    @node2$ps -ef | grep tnslsnr
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
    oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    oracle xxxxxxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr listener -inherit
    @node1$lsnrctl status listener_scan2
    Listener Parameter File //u01/app/11.2.0/grid/network/admin/listener.ora
    Listening Endpoints Summary..
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    The listener supports no services
    The command completed successfully
    ??? Though Listener_scan2 is running on node1,why it shows on ps -ef on node 2 ?
    Why listener_scan2 processes from ORACLE_HOME instead of CRS_HOME?
    Thanks

    I assume SCAN name:1521 is in fact a proper IP address or hostname with the port number?
    The Oracle instance will attempt to connect to that IP and port to register its services.
    If it is a hostname and not IP, then make sure it resolves correctly to an IP address on that server. If name resolution fails, then without an IP for that name, the Oracle instance cannot register its services.
    Once you have made sure that hostname resolution works, the next step is to check whether there is in fact a network service on that IP address, listening on that port.
    Two methods can be used. The netstat command (run on that server that owns that IP) will show all tcp listener end points. Use the -n switch to display numerics (and not hostnames). The netstat output should contain and entry "+ip_address:1521+ or +*:1521+ - this will confirm that there is a network service on that port for that IP address.
    The more detailed method is using the +lsof+ (list of files) command on the SCAN listener process (find the +pid+ and specify it via the +-p+ command line switch). This command will show all open file handles for the specified process - including socket handles. One of these should be on that IP address for port 1521.
    If you have confirmed that both the Oracle instance has the correct SCAN details and that the SCAN listener is actually listening on that tcp port and IP, and registration still does not work - then it could be a connectivity problem.
    From the +oracle+ o/s account on the db server, test connectivity to that port and IP using +telnet+.

  • Listener: Listener supports no services.

    In 11gR1 RAC, my listener is giving the following output.
    lsnrctl statusConnecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Solaris Error: 146: Connection refused
    All the database instances are working fine and I am able to connect to sqlplus prompt with all SID's.
    I even tried re-editing the listener.ora and manually register the instances.
    I then started the listener but it gave me an output : "*The listener supports no services*"
    Am I missing something? Please help.

    I got this resolved by adding an entry in the lisener.ora file present in $ORACLE_HOME/network/admin
    Below is my complete file of listener.ora file
    # listener.ora Network Configuration File: /oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = orcl)
    (ORACLE_HOME =/oracle/product/11.2.0/dbhome_2)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /oracle/product/11.2.0/dbhome_2)
    (SID_NAME = orcl)
    ADR_BASE_LISTENER = /oracle
    After this when i stopped and started oracle listener
    lsnrctl stop
    lsnrctl start
    then it shows the services has been started
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 20-JUL-2012 02:35:34
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.10.10)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 20-JUL-2012 02:35:16
    Uptime 0 days 0 hr. 0 min. 17 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    Listener Log File /oracle/diag/tnslsnr/ipm/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 2 handler(s) for this service...
    The command completed successfully
    THUS ..... it starts
    do not forget to turn off firewall

  • Listener Supports no services

    Hi DB Experts,
    I am new to the Oracle DB and specifically 11g.
    I have a VM Ware machine, which had Oracle DB installed.
    When I am trying to start the DB server, I get the below logs:
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-FEB-2012 01:36:53
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/dbhome_1//bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Log messages written to /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/fmw/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fmw)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 17-FEB-2012 01:36:54
    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/11.2.0/dbhome_1/log/diag/tnslsnr/fmw/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fmw)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 17 01:36:56 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 534462464 bytes
    Fixed Size 2215064 bytes
    Variable Size 394265448 bytes
    Database Buffers 130023424 bytes
    Redo Buffers 7958528 bytes
    Database mounted.
    Database opened.
    Why is that message flashed - Listener supports no services and Connected to an idle instance
    Is my listener no registered with the ORACLE instance of the database?
    Please help

    840235 wrote:
    Hi Billy,
    I am trying to start the DB using the ./dbstart ORACLE_HOME
    There are no messages flashed.
    I could get the listener started. But still, the instance is not registered with the listener:
    The instance will attempt to register itself with the listener when it (the instance) starts. If the listener is not started, it obviously cannot register with the listener.
    The instance will register/attempt to register with the listener every minute or so (I forget the exact interval). So if the instance starts first, when the listener finally starts, it will have to wait until the next registration request from the instance before it knows about the instance.
    >
    [oracle@fmw bin]$ ./dbstart /u01/app/oracle/product/11.2.0/dbhome_1
    [oracle@fmw bin]$ ./lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-FEB-2012 02:33:28
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 17-FEB-2012 02:32:53
    Uptime 0 days 0 hr. 0 min. 34 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/fmw/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fmw)(PORT=1521)))
    The listener supports no services
    The command completed successfully

  • Error while testing the endpoints in Service Registry

    Hi,
    I am getting the following error while testing the endpoint in the Service Registry
    Invalid Response Code: (404) Not Found. The request URL was:"http://<server>:8000/sap/bc/srt/wsdl/bndg_DD73518A3AD471F18558001D0910D3CA/wsdl11/binding/ws_policy/document?sap-client=800". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
    I have created an Enterprise Service at the backend and have published to the Service Registry of the CE server , but while testing the endpoint in service registry i am getting error.
    Can any one please help me to solve this issue.
    Thanks & Regards,
    Hamsa Shree

    Hi hamsa,
    Have you tested the service? If It works, maybe there's something wrong with your destination configuration.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/705459a3-bf1c-2b10-8a9d-d300ada5f0fc
    You may find a solution in the above article.
    Good luck!
    Wenhao

  • J2Se receiver File adapter-HTTP 503 no listener registered for service

    Hi,
    We are using J2Se file adapter for one the interfaces and the logs of the J2se adapter engine has shown the following error-
    Error: com.sap.aii.messaging.net.TransportException: HTTP 503 no listener registered for service /file/example_outbound
         at com.sap.aii.messaging.net.HTTPRequest.run(ServerHttpImpl.java:416)
    I checked with the J2SE File/FTP receiver adapter configuration given at help.sap and found the following the following info related to the error-
    Specifications for addressing by the Integration Engine
    ○       XI.httpPort=<port_no>
    <port_no>specifies the HTTP server port that receives the messages from the Integration Engine.
    ○       XI.httpService=<service>
    <service> describes the service part of the address where the Integration Engine must send its messages.
    These specifications are mandatory.
    If, for example, you have specified XI.httpPort=1234 and XI.httpService=/file/Receiver, the end point address of the file/FTP adapter in the Integration Engine must be specified as follows:
    http://<fileadapterhost>:1234/file/Receiver
    The end point address must be extended as follows for the Integration Engine in Release 1.0:
    http://<fileadapterhost>:1234/file/Receiver?action=execute&pipelineid=Receiver
    If the Integration Engine message is sent to a non-specified adapter service, the system displays the following error message:
    *No registered listener for <Service> found*
    The system displays the same message if the adapter is initialized, but has not been started (status STOPPED or INITIALIZED).
    Where I need to check this Integration engine address specifications. I have't found any of the above code in the adapter configuration which we are using presently.The interface is running successfully before but thrown this error now.
    Please reply me if some one has faced similar issue and get it resolved.

    Hi
    How was this issue resolved? I have the same problem.
    I only have two receivers - the deafult j2se file receiver and my newly created one which used the default as a template. The ports and service's are different.
    I've even tried deleting my custom receive adapter and using only the default one but i still get that error.

  • Asm, instance and service failing to start 10g rac redhat el5

    hi,
    i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host
    ora.orcl.db    application    ONLINE    ONLINE    rac01
    ora...._taf.cs application    ONLINE    ONLINE    rac02
    ora....cl1.srv application    ONLINE    OFFLINE
    ora....cl2.srv application    ONLINE    ONLINE    rac02
    ora....l1.inst application    OFFLINE   OFFLINE
    ora....l2.inst application    ONLINE    ONLINE    rac02
    ora....SM1.asm application    OFFLINE   OFFLINE
    ora....01.lsnr application    ONLINE    ONLINE    rac01
    ora.rac01.gsd  application    ONLINE    ONLINE    rac01
    ora.rac01.ons  application    ONLINE    ONLINE    rac01
    ora.rac01.vip  application    ONLINE    ONLINE    rac01
    ora....SM2.asm application    ONLINE    ONLINE    rac02
    ora....02.lsnr application    ONLINE    ONLINE    rac02
    ora.rac02.gsd  application    ONLINE    ONLINE    rac02
    ora.rac02.ons  application    ONLINE    ONLINE    rac02
    ora.rac02.vip  application    ONLINE    ONLINE    rac02though I can start the asm instance manually by
    srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
    Regards
    Martin.

    Check ASM resource:
    crs_stat -p "resource_name
    $ crs_stat | grep NAME\= | grep ASM1
    NAME=ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    *AUTO_START*=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for ASM instance
    What do you see AUTO_START?
    if 1 = auto start:
    or check error ASM while start... at ASM_HOME/log/rac01/racg/*
    If AUTO_START=2
    Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
    If AUTO_START=2 and need to change to 1:
    Example:
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=2
    $ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
    $ crs_unregister ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
    $ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
    AUTO_START=2
    to
    AUTO_START=1
    $ crs_register ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    *AUTO_START=1*
    Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM

  • 11gR2 Post-Upgrade Questions Regarding tnsnames, listener, pwd, and init

    Hello.
    Am planning on upgrading a significant # of RHEL5 10gR2 RAC and non-RAC DBs to 11gR2 (11.2.0.3.1, specifically). The servers are still not available to me, but I have been poring on the install and upgrade documents as well as referencing several blogs of users who have done them. I have almost literally read the guides verbatim. I will be using the DBUS - not doing a manual upgrade. Since I cannot test of the upgrade yet, I have a few questions related to POST_UPGRADE actions in terms of the listener, tnsnames, password, and init files.
    1.) The upgrade document indicates on p 3-24, "DBUA then proceeds to create new configuration files (parameter and listener files) in the new Oracle home." Will the init file (assuming spfile will be copied as we are using one everywhere now) have deprecated parameters REMOVED after it is copied over to the NEW/TARGET home?
    2.) While the install/upgrade guides do not call for it, several blogs indicate that the tnsnames and password files should be copied over from the old/source DB network/admin location ($TNSNAMES/admin) to the new/target DB /network/admin location. Do I need to do this or with the DBUA also copy them over? If all 4 files (tnsnames/listener/spfile/password) are copied over, I am not sure why the document doesn't indicate this.
    3.) Other than the spfile being copied over and modified, I don't see any difference between the old/source and new/destination copies of the listener, tnsnames, and password file. Do you agree?
    I am just trying to figure out what really need to be copied over and what doesn't in lieu of the DBUA doing it for me.
    Thank you all for your help. If I had HW to test this out, I would do it. In the meantime, I am writing the procedures to do the actual upgrade.
    Matt

    page 3-24 corresponds to following
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#CHDDCBHG
    which states
    You must run the Oracle Net Configuration Assistant before running DBUA. See "Configuring the Listener When Upgrading from Oracle9i".
    If you are upgrading an existing Oracle Enterprise Manager Database Control or if you are configuring a new Oracle Enterprise Manager Database Control for the new Oracle Database 11g release, then the listener must be running before upgrading Oracle Enterprise Manager. If DBUA detects that an Oracle Enterprise Manager upgrade or configuration is requested, and DBUA does not see a listener running, then it prompts you and starts the default listener in either of these cases.
    running netca from new home results in creating a new listener.ora file, this could complain that listener is already used if the old listener is running with the same name or port (default 1521) taken.
    I think the "+DBUA reloads the listener.ora file in both the old and new Oracle Database environments.+" which point c in that list has to be taken in context with the two previous points a, b, where the usecase is shown how services , entries are removed from one listener.ora file and added to another. So to make sure those services are started from the "now" correct home those listener.ora are reloaded.
    If you look in the 11.1 upgrade guide this text is written as "DBUA removes the entry of the upgraded database from the old listener.ora file and reloads the listener of the old database." http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#i1011982
    If after the upgrade old oracle home is not used anymore (no database is running out of that) you can ignore the listener.ora on the old home.

Maybe you are looking for

  • Query to group by based on partial count match

    Dear experts, Here is a challenge question. I have a table a on Oracle 11i – this is how it is defined. desc a Name Null Type STORE_NUMBER NOT NULL CHAR(9) ASSORTMENT_NUMBER NOT NULL CHAR(9) ITEM_NUMBER NOT NULL CHAR(9) DESCRIPTION CHAR(1000) UPC_COD

  • Query on 0TCT_MC23 cube

    Hi All, I made my custom query on 0TCT_MC23 provider. It takes so much time to run. When i see in SM50 then it doesnt show any process running from my id. I deleted and created the index too for the cube but still its very very slow. Could you guys t

  • Subscription and credit not posted to my account!

    pls help ! i paid to global collect bv from romania,raiffeisen bank, for 120mnts,reference number [redacted for privacy] on 19.12.2013 and no credit.  i paid again same way,for 400mnts,reference number [redacted for privacy],on 27.12.2013 and again,

  • Send for Review gives wrong folder permissions

    As per my last post , it looks like when a page is "Sent for Review" that the folder created by Contribute is not getting the proper permissions on my server. I have all of my folders set to be 775 and to inherit permissions from the parent folder, b

  • Exclude list for Protected mode Reader X?

    Is there a way to exclude emails with attachments from a specific domain from being opened in protected mode? For instance, opening an attachment sent from someone in the same coporate environment?