creation of listener for the manually created database

Hi all

Oracle 11 g 2

RHEL 5

I have a server with a single database that is installed with the default listener listen to 1521.

Now, I'll create another data base to help create database statement. I want to have a separate listener called listener2 on port 1522. How the database manually created to listen to listerner2...

Kind regards

1 / created the database manually

Using SQLPLUS > CREATE DATABASE...

For additional info check documentation for version you use.

2 / create a new listener

USE NETCA or UPDATE YOUR LISTENER. ORA or use srvctl

For additional info check documentation for version you use.

3 / update the database using the parameter local_listener with the new name of listening port?

Using sqlplus > alter system set local_listener = scope = <> = sid<>

For additional info check documentation for version you use.

Tags: Database

Similar Questions

  • Port number for a manually created database

    Hi all

    I have an original database installed using the installer regular Oracle on the default port 1521.
    Then I created the PeopleSoft database by using create database command. I aksed never of port number in this manual steps. Now, im in the process of setting up Enterprise Manager, here I need to enter the port number. IM wondering would it be same as initial database 1521... or? where can I see this information.

    Thanks in advance.

    RamaN says:
    Hi all

    I have an original database installed using the installer regular Oracle on the default port 1521.
    Then I created the PeopleSoft database by using create database command. I aksed never of port number in this manual steps. Now, im in the process of setting up Enterprise Manager, here I need to enter the port number. IM wondering would it be same as initial database 1521... or? where can I see this information.

    Raman,

    I think that there is a confusion of a lot of time that you are experiencing. First of all, 1521 is not the port number of the EM (its not supposed to be) but for the listener . So don't really use you it for something else, and just for the listener, and there is a single earpiece only which should be enough for all of the databases, you have. For the initial data, the default port for the EM, is 1158. This can vary according to the configuration you have. There is a file that is created and stores all the ports used in the parties initials, portlist.ini . It would be in your ORacle home. You can see the port number used by the MS of the initial database from there. For the manual creation of the MA, Oracle will ask you the port number for the listener, not where it must run the MS. If you enter 1521 only.

    HTH
    Aman...

  • Question about Enterprise Manager for a manually created database

    DB versions: 10 gr 2, 11g

    I will create 10 gr 2, database 11G manually (without using DBCA). Enterprise manager be installed automatically if I use the CREATE DATABASE command like
    create database "mnprod"
    user sys identified by mnsys
    user system identified by mnsys
        logfile
        group 1 (
            '/u02/oradata/redologs/ora238_redo1a.log',
            .
            .
            .
            .

    Enterprise manager be installed automatically if I use the CREATE DATABASE command like
    No, you need to expilicity create "oem" repository 'DBCA' or 'EMCA '.

    Kind regards
    Taj

  • I want to create the function for the function create for ODD or EVEN (NUMBER)

    I want to create the function for the function create for ODD or EVEN (NUMBER) also
    If number is odd, multiply by 5
    If there is an even number, multiply it by 10;

    Not tested,

    create or replace function fnc_env_odd(p_number in number)
    return number as
    begin
     if p_number>0  -- Remove if you want to consider negative numbers also
       if mod(p_number,2)=0 --Means even
          return p_number*10;
       else                 --Means odd
          return p_number*5
       end if;
     end if;
    end;
    /
    

    G.

  • Confusion about DBCA script generated for the manual creation of CARS DB

    Version:11.2.0.4/RHEL 6.3

    We create our 3-node RAC database manually.  DBCA can satisfy our needs because our redo log files, data, control and tempfiles files files are placed in a complicated way. If we use DBCA, we spend a lot of time configuration to our requirements after the creation of the DB.

    I generated scripts for creating DB of DBCA (name of the BD = BRCFPRD)

    DBCA placed the creation of db scripts in the directory specified in all 3 nodes!

    They all have nearly the same content. The only difference being the name of the instance (BRCFPRD12.sql for Node2,... etc.).

    Scripts in each node have the createDB.sql statement that has CREATE DATABASE 'BRCFPRD' statement. Why is it? The database should only be created from a node. Then why DBCA place createDB.sql in all nodes?

    I want to just run the script of a single node, say Node1 and it should create the RAC 3-node DB. How can I do this manually?

    -The scripts of DBCA in Node1 genereated

    Apex. SQL

    BRCFPRD1.sh

    BRCFPRD1. SQL

    Context.SQL

    CreateClustDBViews.sql

    CreateDB.sql

    CreateDBCatalog.sql

    CreateDBFiles.sql

    cwmlite. SQL

    emRepository.sql

    init.ora

    interMedia.sql

    JServer.sql

    lockAccount.sql

    ordinst. SQL

    OWB. SQL

    postDBCreation.sql

    space. SQL

    xdb_protocol. SQL

    -The content of the main tank of script BRCFPRD1.sh

    $ cat BRCFPRD1.sh

    #! / bin/sh

    OLD_UMASK = 'umask '.

    umask of 0027

    mkdir Pei/optware/product/admin/BRCFPRD/adump

    mkdir Pei/optware/product/admin/BRCFPRD/dpdump

    Pei/optware/product/admin/BRCFPRD/hdump mkdir

    Pei/optware/product/admin/BRCFPRD/pfile mkdir

    mkdir/optware/product/cfgtoollogs/dbca/BRCFPRD Pei

    umask ${OLD_UMASK}

    ORACLE_SID = BRCFPRD1; export ORACLE_SID

    PATH = $ORACLE_HOME/bin: $PATH; export PATH

    You must add this entry in the/etc/oratab echo: BRCFPRD:/optware/product/oracle/11.2.0:Y

    /Optware/product/Oracle/11.2.0/bin/sqlplus/NoLog @/optware/produit/BRCFPRD1.sql

    -Content of BRCFSPRD1.sql

    $ cat BRCFPRD1.sql

    set verify off

    ACCEPT sysPassword CHAR PROMPT ' enter new SYS password: ' HIDE

    ACCEPT systemPassword CHAR PROMPT ' enter new password SYSTEM: ' HIDE

    ACCEPT sysmanPassword CHAR PROMPT ' new password for SYSMAN: ' HIDE

    ACCEPT dbsnmpPassword CHAR PROMPT ' new password of DBSNMP: ' HIDE

    /optware/product/Oracle/11.2.0/bin/orapwd file=/optware/product/oracle/11.2.0/dbs/orapwBRCFPRD1 force host = y

    Home /grid/product/11.2.0/bin/setasmgidwrap o=/optware/product/oracle/11.2.0/bin/oracle

    host /optware/product/oracle/11.2.0/bin/srvctl add database d BRCFPRD o /optware/product/oracle/11.2.0 Pei +DATA/BRCFPRD/spfileBRCFPRD.ora - n BRCFPRD - a 'DATA, ARCH_DG.

    host /optware/product/oracle/11.2.0/bin/srvctl add instance d BRCFPRD-i BRCFPRD1 - n cimprd175

    host /optware/product/oracle/11.2.0/bin/srvctl add instance d BRCFPRD-i BRCFPRD3 - n cimprd177

    host /optware/product/oracle/11.2.0/bin/srvctl add instance d BRCFPRD-i BRCFPRD2 - n cimprd176

    host /optware/product/oracle/11.2.0/bin/srvctl disable the d BRCFPRD database

    @/optware/produit/CreateDB.sql

    @/optware/product/CreateDBFiles.sql

    @/optware/product/CreateDBCatalog.sql

    @/optware/product/JServer.sql

    @/optware/product/context.sql

    @/optware/product/xdb_protocol.sql

    @/optware/product/ordinst.sql

    @/optware/product/interMedia.sql

    @/optware/product/cwmlite.sql

    @/optware/product/spatial.sql

    @/optware/product/emRepository.sql

    @/optware/product/apex.sql

    @/optware/product/owb.sql

    @/optware/product/CreateClustDBViews.sql

    echo of the host ' SPFILE='+DATA/BRCFPRD/spfileBRCFPRD.ora' "> /optware/product/oracle/11.2.0/dbs/initBRCFPRD1.ora

    @/optware/product/lockAccount.sql

    @/optware/product/postDBCreation.sql

    -Content of CreateDB.sql in Node1

    $ cat/optware/produit/CreateDB.sql

    SET VERIFY OFF

    Connect "SYS" / "' & & sysPassword ' as SYSDBA"

    set echo on

    coil /optware/product/CreateDB.log append

    startup nomount pfile="/optware/product/init.ora";

    CREATE DATABASE 'BRCFPRD '.

    MAXINSTANCES 32

    MAXLOGHISTORY 1

    MAXLOGFILES 192

    MAXLOGMEMBERS 3

    MAXDATAFILES 3000

    DATAFILE SIZE 700M AUTOEXTEND ON NEXT MAXSIZE 10240K UNLIMITED

    LOCAL MANAGEMENT MEASURE

    SYSAUX DATAFILE SIZE 600M AUTOEXTEND ON NEXT MAXSIZE 10240K UNLIMITED

    PETIT_FICHIER DEFAULT TABLESPACE TEMP TEMPFILE-TEMPORARY SIZE 20M AUTOEXTEND ON NEXT MAXSIZE 640K UNLIMITED

    PETIT_FICHIER UNDO TABLESPACE "UNDOTBS1" DATA FILE SIZE 200M AUTOEXTEND ON NEXT MAXSIZE 5120K UNLIMITED

    CHARACTER SET AL32UTF8

    NATIONAL CHARACTER SET AL16UTF16

    SIZE OF THE LOG FILE GROUP 1 28672M,

    GROUP 2 SIZE M 28672

    The USER SYS IDENTIFIED BY ' & & sysPassword ' SYSTEM of the NAMED USER BY ' & & systemPassword ';

    set linesize 2048;

    column ctl_files by ctl_files new_value;

    Select concat ('control_files = "', concat (replace (value, ','"', "'),"')) ctl_files of the parameter $ v where name = 'control_files;

    the echo host & ctl_files > > / optware/product/init.ora;

    spool off

    If you look at the scripts generated in Node2 and Node3, you can see all scripts except the specific instance those are discussed using REM.

    /U01/product/Oracle/11.2.0.3/dbhome_1/bin/srvctl host REM add instance d STOMPER-i STOMPER1 - n ugxtlprd186

    /U01/product/Oracle/11.2.0.3/dbhome_1/bin/srvctl host REM add instance d STOMPER-i STOMPER2 - n ugxtlprd187

    /U01/product/Oracle/11.2.0.3/dbhome_1/bin/srvctl host REM disable database d STOMPER

    REM @/u01/product/CreateDB.sql

    REM @/u01/product/CreateDBFiles.sql

    REM @/u01/product/CreateDBCatalog.sql

    REM @/u01/product/JServer.sql

    REM @/u01/product/context.sql

  • How can I create an event listener for the change of variable shared or similar?

    Hello

    I have a 'big' 6 devices communicating measurement system via the TCP protocol. The system is designed to use REST (the representative State transfer) with JSON (JavaScript object notation).

    Now, I need to add labview program to this environment. I've implemented a solution to 'work' with the help of this forum. Thank you for this! Now, I need to do better (currently no timestamps, large delays, etc.).

    I currently have a web service deployed using http-get as input. My web service .vi is just passing the web entrance to shared variables that are then questioned in real measurement program. Reason is that when I put the measurement program directly to the web service, it does not (something about rights and dependencies). Measurement program includes one third of the owners (Instron) drivers. Also I would not direct access via the network to our mechanical testing device potentially dangerous.

    Now, I want to change the message from the web services .vi commensurate .vi. Currently I have a loop of 10ms to query for changes in the shared variable. Is there a better way to do this? I thought create a listener to the shared variable change events.

    In addition, if you have any ideas (preferably, working code example) how to make the interface between labview and TCP-JSON I would really appreciate it.

    BR,

    Juha

    Currently in LabVIEW, the only way to create an event listener or event NSV is to use the DSC toolkit.  Most of the time the DSC is a very expensive tool that simply encapsulates the functionality that is built into the motor of the PSP and OAS and which is accessible to anyone who can program in LabWindows/CVI.

    http://zone.NI.com/reference/en-XX/help/370051P-01/CVI/libref/cvicnvcreatesubscriber/

    If you want to collaborate, I would like to create a small library of LV that would create a base SV events using a vi LV reminder or possibly passing return user LV event which is how works the DSC toolkit.  I asked OR several times to explain how do this and they're very tight discreet about it.  I guess that they do not want to give users LV less reason to buy the DSC.

  • How to access the CSS files for the plugin Enkitec-database file directory navigation bar

    Apex 4.2.3.00.08

    Enkitec-NavBar-1-2-0-for-4-2

    Hi I am faced with the same question that: https://community.oracle.com/thread/2563229

    Enkitec vertical list Navbar appears momentarily until it is formatted by CSS and it seems OK.

    It is really annoying and makes pages look stupid. This problem is identified as a performance problem and can be solved by putting the support of Plugin files in directories of files instead of the database.

    I created a directory on the database server: D:\102175\Kav\Plugin

    I created a Directory pointing to the file directory database:

    CREATE or REPLACE directory PLUGIN AS "D:\102175\Kav\Plugin".

    GRANT READ THE PLUGIN DIRECTORY TO THE PUBLIC;

    GRANT READ THE PLUGIN DIRECTORY TO ANONYMOUS.

    GRANT READ THE PLUGIN DIRECTORY FOR UTVIKLING.

    I also copied the CSS etc support plugin files in the files directory.

    In the Apex plugin I changed the prefix 'file' #PLUGIN_PREFIX # D:\102175\Kav\Plugin

    Now all the Navbar formatting disappeared and now the navigation bar appears only in form of vertical list.

    I also tried to use the PLUGIN as 'File prefix' same thing.

    I'm not Apex or Web expert so I'm sure there is something that I misunderstood.

    Hope some of you are able to help out me.

    Sincerely

    Arild

    Hmmm, well it does not matter if you do the mapping. The embedded PL/SQL gateway is well integrated in the database in PL/SQL.  All your resources (images, CSS, javascript, etc.) are still be extracted from the base in order to be served to the client. Those in the file system are not in use after installation.

    This is going to be heavy.

    I think you may still be able to make some optimizations by moving the assets of plugin for a name that is mapped by the gateway.

    In your apex installation, take a look at apxldimg.sql see how records and assets are added.  You can then add the plugin files.

    See if that helps.

    In addition, you can follow the comments of Patrick on the post you are referencing and move the inclusion of files to the top of the page AND change the plugin so it does ' t add any more files.  Now in theory, you can skip the download folder and the image and add the plugin assets as standard apex post and reference them with #WORKSPACE_IMAGES # #APP_IMAGES, or # (if you add specifically for an application). But you still want to include them at the top of the page.

    Sorry... I know it's a lot of things to take and much heavier than expected.

    Thank you

    -Jorge

  • How to associate the data store of the target for the newly created using the API Interface

    How to create a new Interface under project, need to associate the data store target for mappings for the interface by using APIs "."

    Able to get the associated interface created temporary data store. You need to associate a new database model. How to do this using the API

    My code is,

    String pCode = "DEVELOPMENT";
    Context OdiContext = (mgr.getFinder (OdiContext.class)) .findByCode (pCode) (IOdiContextFinder);
    System.out.println (Context.getLastDate ());

    OdiInterface pInterface = new OdiInterface ("toDeleted_Interface", pFolder, context);
    pFolder.addInterface (pInterface);

    The list of ds < DataSet > = pInterface.getDataSets ();
    < DataSet > iterator itr = ds.iterator ();
    DataSet ds_nxt = itr.next ();

    PAlias string = "HRA_TMPL_DEFNS_TL";
    pOrder int = 0;
    OdiModel pModel = (mgr.getFinder (OdiModel.class)) .findByCode ("FILE_PM_MODEL") (IOdiModelFinder);
    String pName = "HRA_TMPL_DEFNS_TL";
    OdiDataStore pUnderlyingOdiDataStore = new OdiDataStore (pModel, pName);
    SourceDataStore pSourceDataStore = new SourceDataStore (ds_nxt, false, pAlias, pOrder, pUnderlyingOdiDataStore);
    ds_nxt.addSourceDataStore (pSourceDataStore);

    TargetDataStore tdata = pInterface.getTargetDataStore ();

    If (tdata.isTemporaryDataStore ())
    {
    }

    http://odiexperts.com/creating-interface-for-single-source-and-target/
    http://odiexperts.com/creating-temporary-interface-using-ODI-SDK/

  • License for the Oracle ODBC database gateway

    Hello world!

    I am using Oracle Database Gateway for ODBC (Oracle 11 g Gateway) to create dblink Oracle 10.2.0.4

    According to this price list, I do not see the price details for the database gateway for ODBC Oracle

    http://www.Oracle.com/us/corporate/pricing/technology-price-list-070617.PDF
    Please refer to page 3 and 4

    and according to the guidelines of it, I don't need a separate license. Could someone shed some light. I have the database and the gateway in the same machine

    http://download.Oracle.com/docs/CD/E11882_01/license.112/e10594.PDF

    Please refer to page 1-7, which says

    Gateway for ODBC Oracle database
    Database gateway for ODBC Oracle can be installed and used on a different machine
    the machine where the database Oracle is installed and used. Should not be
    to obtain a separate license for the machine running Oracle Gateway for ODBC

    Please shed some light.

    Thanks in advance.

    Hello
    As it is said, as long as you have a license of RDBMS, you need not a separate license for DG4ODBC. If confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a different machine," then it is just to clarify that you run the gateway on a machine completely separated from the performer the RDBMS under license, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
    If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed in an another ORACLE_HOME.

    If this still isn't clear, so please come back and let us know exactly what you need to clarify.

    Kind regards
    Mike

  • How do I listen for the change in the position of a node

    Hello

    I want to create a knot of thread/connection between two nodes of the scene. I want this thread node to be updated when one of the nodes is moving. In the common scenario I'd listen for change events in the nodes of the target of the post and update the thread:

    targetNode1.translateXProperty () .addListener (new ChangeListener < number > () {}
    public void changed (value of ObservableValue, oldValue, newValue number number) {}
    wire.setStartX (targetNode1.getTranslateX ());
    wire.setStartX (targetNode1.getTranslateY ());

    wire.setEndX (targetNode2.getTranslateX ());
    wire.setEndY (targetNode2.getTranslateY ());
    }
    });



    The problem is that the target nodes are children of a different container nodes (who are moving in fact). To listen for change events in the properties to translate target nodes does not work (their parent nodes are moving actually)

    Is there way of list of change in the overall position of the target relative to the scene nodes?

    That's right, it's not a super easy way to do. You need to connect listeners to each node in the parent hierarchy. The reason for which we do not have this feature built-in, is because it is extremely expensive (early versions of JavaFX 1.0 pre had "boundsInScene" but which was incredibly convenient, also completely killed performance). Do this for a few nodes is not a problem, but the fact for each node in the scene would be your 3 GHz machine to its knees :-).

    Richard

  • Initial creation of DB for the new application

    Hello

    I develop an application in an offline environment, synchronization with a master repository, to have so I use Oracle Lite.

    As far as I understood the process of creation:

    1 - Create local DB
    2. create the application
    3 publish the application
    a. set permissions
    b. define the tables to synchronize
    4 - get new application on client

    I am facing difficulties to create DB: the tables I need already exist in the master repository, so I made a local copy of them.

    But I need to use existing views in the master repository: How can I set them as they refer to the tables that are not present in the local database?

    The process is not really clear to me.

    (1) create the repository database,
    (2) create publication publication, sequences through the mobile Workbench items
    (3) create a new request through the Packaging Wizard and assign it to your publication
    (4) create users and add them to your application via your mobile manager
    (5) install olite in the client and save it on the server. Run msync in the client, and the client (local) database will be created automatically based on your composition.
    (6) at the end of the msync you will be asked to download and install the application. Select install

    It's about how to do it in a few lines

    I can give you more information, if you need especially in the case of windows mobile apps

  • Fiscal year / Trim, for the occasion created Date?

    Is there a way to query users for the year and the quarter that will then filter the creation Date in the historic opportunity or sales milestone?

    Thank you!

    You can convert a value of year or quarter according to a formula of column Date created:

    YEAR (possibility." Created Date')
    Quarter_of_year (possibility." Created Date')

    You can then create guests from filter on these columns. Note that this is calendar year, not fiscal year. If you calendar and fiscal quarters differ, you may need to perform a few additional calculations to convert - or just make sure your guests are labeled accurately as "calendar year".

    If you use real-time reporting, there is a dimension "Opening Date" which includes fields of exercise pre-calculated.

    -Louis

  • Will there be a listener for the open calendar appointments?

    I am trying to find a way to listen to the calendar when the user

    Open an appointment for viewing.

    I know that I can listen to add pim event but is there a way to tell when the user

    Open an appointment?

    This is not currently supported.

  • can I use "Oracle Database 12 c: performance management and Tuning" training for the certification "Oracle Database 11g: Performance Tuning 1Z0-054 '"»

    I took "Oracle Database 12 c: new performance management and Tuning" the oracle University training. Now I would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054 ' exam. Is this possible?

    I guess you ask if you can use the course 12 c as long as the condition of course for the review of 11g.  Over 12 c is not listed as one of the options for the 11 g certification and course requirements are normally specific version - at least with DBA certifications.  If you are already an Oracle OCP DBA, of course, there is no requirement of course for the review of performance tuning.  From what I know the training requirements for other certifications, I do not that you will be able to use it. However, Brandye will provide a definitive answer to whether the course 12 c would be acceptable for 11g certification.

    That said, I'm with John - 12 c review is about a community of 85 to 90% in the review of the 11g and is currently about 20% of the price while it is in beta.  What is the point of trying to cross the releases?

  • Resources does not get generated during the creation of plugin for the release/debug version of CC 2015

    I'm trying to generate a plugin release/debug for 2015 of CC using the SDK version 11.2, the build succeeds with the message below:


    merge_res.cmd done.

    1 > removal of old resources...

    1 > not found \*.idrc C:\Users\CS\Documents\GitHub\CS-DTP\IndesignPlugin\CSDTPObserverPlugin\build\releasex64\ (CSDTPObserverPlugin.sdk, resources)

    1 > 0 or the files copied

    1 > create library...... \.. \build\win\objRx64\CSDTPObserverPlugin/CSDTPObserverPlugin.lib and object...... \.. \build\win\objRx64\CSDTPObserverPlugin/CSDTPObserverPlugin.exp

    1 > CSDTPObserverPlugin.vcxproj-> C:\Users\CS\Documents\GitHub\CS-DTP\IndesignPlugin\CSDTPObserverPlugin\build\releasex64\C SDTPObserverPlugin.sdk.pln

    1 > restore_res.cmd done.

    = All build: 1 succeeded, 0 failed, 0 skipped =.


    When you try to load the plugin in InDesign, I get below error:

    "CSDTPOBSERVERPLUGIN. SOFTWARE DEVELOPMENT KIT. PLN"plug-in is missing plugin resources or the model/UI attribute is not specified in the PlugIn Version resource!





    Could you please check the .fr file included in the project is set up correctly to compile and the compilation is successful with success for this file. You can quickly verify this by right-clicking on the file in VS .fr and check if the compilation shown option is indeed active and clicking Treaty the file successfully. If all this is correct, then the next step is to check the output created by this compilation, the path of the compiled files and the command-line merge_res.

    Hope this helps you

    -Manan

Maybe you are looking for