Case confusion - two dbcontrol config directories for one database

Oracle 11.2.0.2 SE-One 64-bit
Oracle ASM 11.2.0.2 64-bit
Oracle Linux 5.6 x86-64
Stand alone server, no cluster, no RAC
Configured a new dbcontrol for subject database.  Everything seems to be functioning correctly but it created two config directories
oracle:mydb$ cd $ORACLE_HOME
2013-09-12 14:21:50
oracle:mydb$ ls -l myserver*
myserver.mycompany.org_mydb:                        -------- note the dbname is lower case and directory is sparse
total 4
drwxr----- 3 oracle oinstall 4096 Sep 12 14:13 sysman
myserver.mycompany.org_MYDB:                        -------- note the dbname is upper case and directory is fully populated
total 12
-rw-r----- 1 oracle oinstall    6 Sep 12 14:13 emctl.pid
-rw-r--r-- 1 oracle oinstall   56 Sep 12 14:13 oraInst.loc
drwxr----- 7 oracle oinstall 4096 Sep 12 14:13 sysman
And in the j2ee directory we get this.  Note the dbname is in upper case
oracle:mydb$ cd oc4j/j2ee
2013-09-12 14:26:49
oracle:mydb$ ll
total 36
-rw-r--r--  1 oracle oinstall 1012 Apr  5 08:56 deploy_db_wf.ini
drwxr-xr-x 14 oracle oinstall 4096 Apr  5 08:53 home
drwxr-xr-x  3 oracle oinstall 4096 Apr  5 08:51 oc4j_applications
drwxr-x---  6 oracle oinstall 4096 Apr  5 08:51 OC4J_DBConsole
drwxr-xr-x 10 oracle oinstall 4096 Sep 12 14:13 OC4J_DBConsole_myserver.mycompany.org_MYDB 
drwxr-xr-x  5 oracle oinstall 4096 Apr  5 08:51 OC4J_Workflow_Component_Container
drwxr-xr-x  5 oracle oinstall 4096 Apr  5 08:51 OC4J_Workflow_Management_Container
drwxr-xr-x  2 oracle oinstall 4096 Apr  5 08:53 utilities
What the database tells us about itself:
SQL> select name from v$database;
NAME
MYDB
SQL> select instance_name from v$instance;
INSTANCE_NAME
mydb
SQL> select name,
  2         value
  3  from v$parameter
  4  where name in ('db_name',
  5                 'db_unique_name',
  6                 'instance_name',
  7                 'service_names',
  8                 'global_names'
  9                 )
10  order by name;
NAME                 VALUE
db_name              MYDB
db_unique_name       MYDB
global_names         FALSE
instance_name        mydb
service_names        MYDB
And the environment from which I ran emca:
oracle:mydb$ env |grep ORA|sort
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/dbhome_1
ORACLE_SID=mydb
The mis-matched cases stem from my predecessor deciding he didn't like database names in lower case, so started changing in mid-stream.  I'm not sure exactly what he did or how he did it.  But that aside, the results of creating a new dbcontrol (getting two directories for the same database) still puzzling.  I started by dropping the original (emca -deconfig dbcontrol db -repos drop), which dropped the upper-case version of the directories, but left the lower-case version.  I then deleted that manually before running emca to configure a new dbcontrol, but still ended up with both versions.
Ideas?

The ORACLE_HOME may have been set twice with differents values in it (i.e. extra slash) before starting twice the same db.
Please, have a look to this article from Ivan Kartik :
http://ivan.kartik.sk/index.php?show_article=40
And depending of your OS, you could check what ORACLE_HOME is used for each process :
How to Check the Environment Variables for an Oracle Process*
Doc ID:  373303.1*
Nicolas.
added the metalink note ref.
Edited by: N. Gasparotto on Sep 4, 2009 11:34 AM

Similar Messages

  • Suprisingly two Processes running for one database

    Hi all,
    Today morning in one of our database servers, we see two processes running for one database.
    COBLpo05 11949 1187 0 Mar 25 ? 37:50 ora_smon_BLINDEA1
    COBLpo05 7789 1187 0 Mar 25 ? 5:35 ora_smon_BLINDEA1
    Can anybody suggest me what is the reason behind it and what to do in this case?
    Thanks in Advance.

    The ORACLE_HOME may have been set twice with differents values in it (i.e. extra slash) before starting twice the same db.
    Please, have a look to this article from Ivan Kartik :
    http://ivan.kartik.sk/index.php?show_article=40
    And depending of your OS, you could check what ORACLE_HOME is used for each process :
    How to Check the Environment Variables for an Oracle Process*
    Doc ID:  373303.1*
    Nicolas.
    added the metalink note ref.
    Edited by: N. Gasparotto on Sep 4, 2009 11:34 AM

  • Emergent!! Two alternative material number for one same real material???

    Hi Experts
    In our company,for some specail requirement,we want to have two material numbers for one same real
    material,that means this two materials are substitute for each other. In every transaction, we can
    use this both two material numbers.
    For example,material number "A123 " and "B456" , these two material numbers are for one real
    material, In every transaction we can use "A123 " or "B456".For exmaple ,we can create and release
    a production order to produce"A123",and when doing goods receive for this produciton order with
    MB31,we could use"B456" for the same production order. And also when we view the stock for "A123" in SAP,we could get the the sum stock of "A123" and "B456".
    Is it possible in SAP? How to achieve it that one real material have two different material number??
    And how to manage these two different material number??
    Thanks for any reply!!

    Fei,
    The requirement can't be absolutely mapped in SAP.
    The reason is the logic behind this is wrong.
    May we know why do you want to maintain two separate codes for one real material?
    We have option of batch management as well as split valuation to take care of your requirement.
    Evaluate these things.
    Hope this helps you.
    SmanS

  • Two idocs are created for one output message type

    hi all,
    we are communicating our sap idocs to external system using ALE.It is working smoothly.
    Our problem raises here,
    .idocs are creating at the time of output type attachment for purchase orders.But rarely,two idocs are creating for one message type.It means two idocs are created for same Purchase order.It makes complications for the external system.
    anyone can help me pls?
    thnks in advance..........

    thanks jurgen for ur reply,
    jurgen, the second idoc is not an "ORDCHG",It is the replica of first idoc.This one has also "ORDERS" message type.The only difference between these idocs are the time.It means the difference between the time field segments of these idocs have only three(3)seconds difference.We think that its from the system error.If it is not from the system error pls give me the explanation.
    thanks in advance.......

  • How can I buy apple watch  for the space black stainless steel case and the black sport band for one order?

    How can I buy apple watch  for the space black stainless steel case and the black sport band for one order?

    Unfortunately no. I asked the same question when I went to the local Apple Store for my "try on" and as of now you would have to order the watch with the metal link band and the black sports band separately.

  • Two table maintenance generator for one table

    Can we created two table maintenance generator for one ztable. if yes then what will be the steps.

    Hi Prem,
    Why you need two table maintenance generator for a single table?
    We can generate only single table maintenance  generator for a single table.
    you can add modification event in  inside table maintenance if you need anything to change or validate in insde your table maintenance generator.
    Regards,
    Prasenjit

  • Open two GUI( JFrame) simultaneously for one application

    Can we open two GUI( JFrame) simultaneously for one application at tha same time.if yes why ?and if no why?

    OK, its really simple, basically, you need a desktop frame to stor all the other frames and then you just pop them in, from a new class each time.
    Here's the code from the demo I learnt it from:
    (The demo itself)
    import javax.swing.JInternalFrame;
    import javax.swing.JDesktopPane;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.JMenuBar;
    import javax.swing.JFrame;
    import javax.swing.KeyStroke;
    import java.awt.event.*;
    import java.awt.*;
    * InternalFrameDemo.java requires:
    * MyInternalFrame.java
    public class InternalFrameDemo extends JFrame
    implements ActionListener {
    JDesktopPane desktop;
    public InternalFrameDemo() {
    super("InternalFrameDemo");
    //Make the big window be indented 50 pixels from each edge
    //of the screen.
    int inset = 50;
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(inset, inset,
    screenSize.width - inset*2,
    screenSize.height - inset*2);
    //Set up the GUI.
    desktop = new JDesktopPane(); //a specialized layered pane
    createFrame(); //create first "window"
    setContentPane(desktop);
    setJMenuBar(createMenuBar());
    //Make dragging a little faster but perhaps uglier.
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    protected JMenuBar createMenuBar() {
    JMenuBar menuBar = new JMenuBar();
    //Set up the lone menu.
    JMenu menu = new JMenu("File");
    menu.setMnemonic(KeyEvent.VK_D);
    menuBar.add(menu);
    //Set up the first menu item.
    JMenuItem menuItem = new JMenuItem("New");
    menuItem.setMnemonic(KeyEvent.VK_N);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_N, ActionEvent.ALT_MASK));
    menuItem.setActionCommand("New");
    menuItem.addActionListener(this);
    menu.add(menuItem);
    //Set up the second menu item.
    menuItem = new JMenuItem("Quit");
    menuItem.setMnemonic(KeyEvent.VK_Q);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_Q, ActionEvent.ALT_MASK));
    menuItem.setActionCommand("Quit");
    menuItem.addActionListener(this);
    menu.add(menuItem);
    return menuBar;
    //React to menu selections.
    public void actionPerformed(ActionEvent e) {
    if ("New".equals(e.getActionCommand())) { //new
    createFrame();
    } else { //quit
    quit();
    //Create a new internal frame.
    protected void createFrame() {
    MyInternalFrame frame = new MyInternalFrame();
    frame.setVisible(true); //necessary as of 1.3
    desktop.add(frame);
    try {
    frame.setSelected(true);
    } catch (java.beans.PropertyVetoException e) {}
    //Quit the application.
    protected void quit() {
    System.exit(0);
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    InternalFrameDemo frame = new InternalFrameDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Display the window.
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    Myinternalframe.java:
    import javax.swing.JInternalFrame;
    import java.awt.event.*;
    import java.awt.*;
    public class MyInternalFrame extends JInternalFrame {
    static int openFrameCount = 0;
    static final int xOffset = 30, yOffset = 30;
    public MyInternalFrame() {
    super("Document #" + (++openFrameCount),
    true, //resizable
    true, //closable
    true, //maximizable
    true);//iconifiable
    //...Create the GUI and put it in the window...
    //...Then set the window size or call pack...
    setSize(300,300);
    //Set the window's location.
    setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
    You should be able to tell from that

  • Sysresv returns multiple shared memory IDs for one database

    Shared Memory:
    ID KEY
    8 0x00000000
    9 0x00000000
    10 0x00000000
    13 0x00000000
    14 0xae2ae9d0
    Please see this 'sysresv' output. It returns multiple shared memory IDs for one database (althouth all are 0s except one). Why is this? Does it matter? It seems not eating up memory. Stop and start database didn't help.

    * System Configuration
    swap files
    swapfile dev swaplo blocks free
    /dev/md/dsk/d101 85,101 16 201342320 201342320
    * Tunable Parameters
    2055864320 maximum memory allowed in buffer cache (bufhwm)
    30000 maximum number of processes (v.v_proc)
    99 maximum global priority in sys class (MAXCLSYSPRI)
    29995 maximum processes per user id (v.v_maxup)
    30 auto update time limit in seconds (NAUTOUP)
    25 page stealing low water mark (GPGSLO)
    1 fsflush run rate (FSFLUSHR)
    25 minimum resident memory for avoiding deadlock (MINARMEM)
    25 minimum swapable memory for avoiding deadlock (MINASMEM)
    CO4P:/opt/oracle:>ipcs -ma
    IPC status from <running system> as of Monday, April 21, 2008 2:50:10 PM PDT
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
    Shared Memory:
    m 14 0xae2ae9d0 rw-r--- oracle dba oracle dba 481 24576 20322 25104 14:50:10 14:50:10 11:24:46
    m 13 0 rw-r--- oracle dba oracle dba 481 2030043136 20322 25104 14:50:10 14:50:08 11:24:43
    m 10 0 rw-r--- oracle dba oracle dba 481 2030043136 20322 25104 14:50:10 14:50:08 11:24:40
    m 9 0 rw-r--- oracle dba oracle dba 481 2013265920 20322 25104 14:50:10 14:50:08 11:24:37
    m 8 0 rw-r--- oracle dba oracle dba 481 2063597568 20322 25104 14:50:10 14:50:08 11:24:34
    m 0 0xcace --rw-rw-rw-     root     root     root     root      0          2  2344  2344 14:49:57 14:49:57  9:35:43                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is this possible to already reserve 2 TB of space on a data drive for one database

    Is this possible to already reserve 2 TB of space on a data drive for one database.
    Please suggest how to do this.
    Best regards,
    Vishal

    You can either change the current filesize of current files in your database or add new file(s) whose current size is 2TB by using the ALTER DATABASE command.  If you don't have instant file initialization, adding 2TB to data files can take a long time. 
    If you are adding 2TB to log files that can take a long time whether you have instant file initialization or not.  For info on instant file initialization see
    http://technet.microsoft.com/en-us/library/ms175935%28v=sql.105%29.aspx
    and
    http://sqlblog.com/blogs/tibor_karaszi/archive/2009/03/09/do-you-have-instant-file-initialization.aspx
    In addition, there are several good links in the comments to Tibor's blog entry, especially the links to Paul Randal's blog.
    Tom

  • Two different invoices created for  one order for two different lines

    Hi All,
    I have an order with four line items that was shipped on the same day, invoiced on the same day and all lines have the same delivery number yet two inovices were created for this order..one for the first three lines and one for the last line.
    Can anyone please explain what can cause this to happen?
    Thanks
    A/A

    Hi Asgar,
    If a single order has been split into two invoices, you should check the values of the mandatory columns. During Autoinvoice, the grouping is based on the madatory columns and also your grouping rules. If any of the mandatory column has a different value, it will split into different invoice.
    Please refer the following metalink note for further details
    Subject: How Autoinvoice Grouping Works
    Doc ID: 98772.1
    Hope that helps.
    Thanks,
    Anil

  • Posting to Two different GL account for one condition type

    Hi All,
    In MM pricing procedure we are assigning one new condition type as Management Exp Charges.
    we creat two Transaction/Event key and assigned one in ActKy Colum and another in in Accural column.
    Suppose we are charging  10 $ towards Management Exp.
    Is there any way to Post 10$ in two different GL account.
    DR.Expnses account (As per GL assigned in Actky column) 10$
    Cr. Expenses Accural charges ( GL aasigned in accural Colum) 10$
    Howevre as per our current setting it was Cr to Accural account but for debit transaction it was going to stock/gain account.
    please help us to resolve this issue.
    Thanks in advance
    Regards,
    Lokanath

    Hi
    Can u specify why the customer two interest rates for one loan type.  Is the interest on loan going to change for any periodicity.
    Other wise you can create two loan types with nearest understandable naming convenction and use them for your business requirement.  Which ever is applicable for the employee can be selected by your customer.
    Brs
    Kenu

  • Two auto-reaction methods for one alert

    Hi,
    I wonder if it is possible to trigger 2 auto-reaction methods for one alert.
    The 2 methods  (tc RZ21) we want to use are :
    1) Trigger a SNMP trap with method : CCMS_OnAlert_SNMP_TRAP
    2) Trigger a Mail with method : ccms_send_alert_to_alm_ccms_container_v4
    Those 2 templates are working fine if we use them separately.
    I want to use them both for the same alert.
    Are there methods, function module, reports,... available to handle this?
    Hope somebody can help.
    Regards
    Paul Van Daele

    Found the solution :
    Note 727584 - CCMS : Triggering several auto-reaction methods for an alert

  • Config steps for one time customer

    hi,
    sap gurus,
    can i have the configuration steps for one time customer.
    regards,
    balaji

    Hi,
    One-time customers
    Customers who only enter into a business transaction with you once are called one-time customers in the R/3 System. It is not necessary for you to create a customer master record for individual one-time customers, since you no longer need this master record after the business transaction has been carried out, and it would use up storage space. You create collective master records for one-time customers.
    Use
    A collective master record refers to a dummy customer and includes only the data that is identical for a certain group of customers.
    You create a collective master record for all customers in a certain region. This collective master record could include fields such as:
    Master record name
    Language
    Currency
    Sales office processing the customer data
    If a one-time customer from this region orders goods from your company, you use the customer number of your collective master record when processing the sales order. Only in the sales order itself do you enter the address and all other data not given in the collective master record.
    Structure
    When you create a collective customer master record for a one-time customer, the account group CPD for one-time customers is automatically proposed by the system. This ensures that you can access screens from different partner functions (sold-to party, ship-to party, bill-to party, and payer) relevant for one-time customers. However, only fields that can be identical for all one-time customers are displayed. For example, all address fields are suppressed, since the master record is collective for data on several customers, all of whom can have different addresses.
    On the following screens you can enter a limited amount of data in a collective master record for one-time customers:
    Address
    Sales
    Shipping
    Billing
    Messages
    Integration
    The account group can restrict the number of screens accessed in the collective master record for one-time customers even further. If only some of the screens and fields for one-time customers are relevant for your company, change the account group CPD or set up a new account group. This is done in Customizing for Logistics Basic Data: Business Partners in the activity Define Account Groups and Field Selection for Customers.
    regards
    sadhu kishore

  • Two emagent-Services on a one Database system

    Hello,
    maybe someone can answer my question, which I am working on since several days.
    I installed Oracle 10g Database and created a Database, after that I had one OEM running and accessible using the normal URL host:1158/em.
    After installing Oracle HTTP-Server and Application Express there is another OEM-Service running, that I cannot access.
    I had a look at the Process and Port-List and found out that one is started from the Database_Home and the other from the Http_Home.
    In the Port-List there was one java.exe on Port 1158, which I can access, and another two listening on 1810 and 1850 which I am not able to access.
    Furthermore there are two emagent processes shown, where one has two connections established on different ports and is listening on a third and the second process is listening on a single port.
    Since both processes have there own java instance running, consuming dozens of MB virtual and RAM space, I would like to know if I really need the second emagent that I probably installed with the HTTP-Server.
    And if I do not need it, how I can stop it, because there is no entry in the Windows services list to stop this service.
    Kind regards
    Alex

    Are you sure that while installing the Application Express you did not create a new database instance? I think that windows starts one emagent for each DB instance that has been created. It might be that installing Application Express you accidentally created a new instance? Or maybe you did the DB creation process more than once without dropping the previously created instance? I remember I used to have 4 instances running, each of them with their processes and my system became very very slow.
    In the Oracle_Home/install/portlist.ini there is the list of the ports used by EM and in this file are shown even the previously configured instances EMs even if those instances have been dropped - but the processes should no longer been lunched.
    For each instance, in this file the EM shows 2 different ports, one is the HTTP port (in your case 1158) and the other one is the EM agent port to connect to the instance. I have the feeling that one the ports you mentioned 1810 or 1850 should be this port (mine is 1830). You will not be able to access these ports via HTTP. So having one of them in use besides the HTTP service on 1158 should be fine.
    Still I think it should not be the case to have 2 EM processes running unless you have 2 instances still active. Are you sure these java.exe processes are EM processes?
    Enrico

  • Two machines using syncing to one database.

    We're in development/eval for 7.0 Portal right now, and every time we sync to another
    machine the other machine(s) stop working and get "Null Portal Object" webflow
    exception. Is there a way to have multiple people hitting one database? We're
    thinking of letting each developer have her/his own BEA instance on her/his machine.
    Steve

    Steve,
    There are two ways to solve the problem of which one I know is described in
    the developers guide:
    1. Each developer should have his own enterprise application (e.g.
    developer1_app, developer2_app). The synchronization works by the
    enterprise id and I believe it's immediately propogated to the in-memory
    repository even when the developer is on another workstation. Separating
    the namespace by enterprise application name will solve that.
    2. Create separate database instances. This is the approach we took and
    it works fine. Everybody datasyncs in private now against the same
    <application-project> directory stored in our CMS.
    Hope that helps,
    Wayne
    Steve Lewis wrote:
    >
    We're in development/eval for 7.0 Portal right now, and every time we sync
    to another machine the other machine(s) stop working and get "Null Portal
    Object" webflow
    exception. Is there a way to have multiple people hitting one database?
    We're thinking of letting each developer have her/his own BEA instance on
    her/his machine.
    Steve

Maybe you are looking for

  • I can no longer get Mafia War game to open I get a white page only ..all other games still open on Firefox..please help

    I use Mozilla Firefox on my computer..I play Mafia War games and several more..now when I try to open MW I get a white page, all other games still open and work fine...I do not know how to fix this, can you help..thanks

  • Restore iBooks files from time machine backup after clean install

    I just did a clean install of Yosemite. I still have a Time Machine backup of my Mavericks install. iBooks in my new Yosemite install does not have all of my books and pdfs in it - just the ones I can download from the iBookstore. Is there an easy wa

  • Hr forms activation error

    hi, we have copied hr forms from one system to another system,.but we are getting error. when we try to activate it..in particular print program is generating error. error like this Generated print program /1PYXXFO/XXX_PAYSLIP_GB_PRNT contains a synt

  • Error when I generate a PDF file - Can't parse printer configuration file:

    I am receiving an error "Can't parse printer configuration file: uiprint.txt" when try generate to PDF file. The pdf file is generated but when I open the forms builder and show canvas the same error appears and canvas is shown in crazy way. My uipri

  • Equipment BOM query

    Dear All, After maintaining equipment BOM , i think we are only able to issue (BOM Maintained)material against the Maintenance Order but its not happening.?? ? i think i am missing some customization, is it?. Plz guide, n do tell me main benefits of