Can't mount database with error Database master is invalid."

[Symptom]
======================
When you try to mount a dismounted mailbox database, you may get the following error message:
 [Cause Analysis]
=======================================
This error message means that the database mentioned in the error has an invalid master. You can check the Master in EMC.
And you can also check Master using command.
In my case, I deleted DAG object from ADSIEdit. (It is not recommended to delete DAG object from ADSIEdit, this is just for test purpose.) But under the Master field, you can see that it still points to
the DN of old DAG group.
[Solution]
=======================================
Open ADSIEdit, locate a mounted database, right click on it and choose Properties, under Attribute Editor tab, find the msExchMasterServerOrAvailabilityGroup attribute. Copy the value of this attribute and then past it to the value of msExchMasterServerOrAvailabilityGroup
attribute in the affected mailbox database.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ():
I am not able to mount an Oracle database.<HR></BLOCKQUOTE>
Hi ()
My problem is accessing the database with sqlplus system/manager @oralin, on page 55 of the Linux starter kit. Do you notice the space here, between system/manager.. and.. @oralin. I think it needs to be there.
Is your database named Chestnut?
And for Startup, why are you using init.ora? the book mentions initoralin.ora on page 43.
Your configurations are different than recommended in the book. I'm not sure if any of this helps, but maybe you can help me. When I try sqlplus system/manager @oralin, the response is: can't connect to oralin.sql.
According to the book, I need to use @oralin at the end of the command in order to see if I have properly configured the server for MTS, a multithreaded server.
Any ideas? I hope I can help further.
gilles56

Similar Messages

  • Can Oracle APEX work with other databases?

    Can Oracle APEX work with other databases like Microsoft SQL Server or Sybase... etc.?

    Though, the Generic Connectivity does not cost extra.
    It doesn't have all the features of Transparent Gateway, but if you can access the foreign database with an ODBC driver,
    it's an easy way to integrate multiple databases.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/gencon.htm#HETER007
    In one application, I pull data into materialized views from MS Access and Lotus Notes.
    Since Apex lives in an Oracle database, it inherits all of the functionality of Oracle.
    There's not much it can't do.

  • Can't mount disk image error message for TC

    After a couple of frustrating days trying to get a back-up to my TC to work (time wasted waiting for the process to fail each time - Can't mount disk image error type messages etc) I finally got onto this forum and find quite a few people sharing my problem! I wont wait as long next time I have a problem to enter the discussions, tho I must admit I don't get many problems with my Apple gear.
    There doesn't appear to be a solution in the threads, but at least I am not alone!
    How long before and will Apple fix this?

    DiskImageMounter.app is in /System/Library/CoreServices/.

  • Tried updating but kept coming up with error as signature is invalid...? can anyone help? I'm not very computer savvy so lamens terms would help.. thanks

    Tried updating but kept coming up with error as signature is invalid..?? Can anyone help.? I'm not computer savvy so please respond in lamens terms..
    Thanks

    It is hardly Apple's fault that Epson can't/won't update their driver, but at least Epson suggest that you use the Gutenprint driver, which in any case is far better that what Epson offer.
    You can get it here:
    http://gimp-print.sourceforge.net/
    You can download the latest version from here:
    http://sourceforge.net/projects/gimp-print/
    Have you downloaded the recent Apple update to Epson drivers?
    http://support.apple.com/kb/DL1398

  • How do I fix Creative Suite CS2 reinstall with error message "Missing or Invalid Personalization Inf

    How do I fix Creative Suite CS2 reinstall on same Windows 7 Pro machine, with error message "Missing or Invalid Personalization Information / Missing Resources Library" when I attempt to reinstall from installation disk set? Was having trouble with Adobe Acrobat Pro 8; Uninstalled and am now stuck. You can email me if you like at [email protected] Thank you.

    Hi Bill:
         I don't remember deactivating (after my XP PRO harddrive scattered)
    when I did the first Windows 7 pro install of these programs and it went
    fairly well except AA8 was a little problematic when converting from MS
    Word.
         In my case the AA8 came with a Studio 8 suite of programs as follows:
         1) A Studio 8 installation disk
         2) A Creative Suite CS2 Premium set of installation disks.
         3) A Creative Suite 2.3 Premium upgrade disk with AA8
         I uninstalled AA8 and when I tried reinstallation the directions
    said to do the Creative Suite CS2 Premium set of installation disks
    first followed by the Creative Suite 2.3 Premium upgrade disk with AA8.
    Now I'm stuck; What a mess.
         Thanks for trying to help.
         I will do as you suggest and go to
    http://forums.adobe.com/community/creativesuites but FYI:
    Bob Lane

  • Help! I can't do anything with my database even though i've connected!

    Hello,
    I think I have properly connected to my MS SQL Server 2000 database, cause I'm not throwing any exceptions when I connect, but I can't insert or update any data, it displays error messages when i try to do either..i haven't tested delete cause its a database with empty tables. I think something has to be wrong iwth my database, cause this code works fine when i use jdbc-odbc with MS ACCESS 2000. I'll post my code here, just in case.
    <code>
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.sql.*;
    import java.rmi.*;
    import javax.swing.text.*;
    import java.net.InetAddress;
    public class mygui extends JPanel implements ActionListener, DocumentListener
    //creates a frame object to add the application GUI components to.
    private JFrame mgframe;
    //text fields and text areas for user input
    // private JTextField file;
    private JTextField function;
    private JTextArea description;
    private JTextField context;
    private JTextField actions;
    private JTextArea name;
    private JTextArea type;
    private JTextArea arguments;
    private JTextArea rvalues;
    private JTextArea rvdescrip;
    private JTextArea rvnotes;
    private JTextArea notes;
    private JTextArea funccalled;
    //scrollpanes for text areas
    private JScrollPane sdescription;
    private JScrollPane sname;
    private JScrollPane stype;
    private JScrollPane sarguments;
    private JScrollPane srvalues;
    private JScrollPane srvdescrip;
    private JScrollPane srvnotes;
    private JScrollPane snotes;
    private JScrollPane sfunccalled;
    // private JLabel lfile;
    private JLabel lfunction;
    private JLabel ldescription;
    private JLabel lcontext;
    private JLabel lactions;
    private JLabel lname;
    private JLabel ltype;
    private JLabel larguments;
    private JLabel lrvalues;
    private JLabel lrvdescrip;
    private JLabel lrvnotes;
    private JLabel lnotes;
    private JLabel lfunccalled;
    //buttons
    private JButton load;
    private JButton savenew;
    private JButton newreturncode;
    private JButton update;
    private JButton delete;
    private JButton deletereturncode;
    private JButton prev;
    private JButton next;
    //panels
    private JPanel filep;
    private JPanel mainp;
    private JPanel mainp2;
    //documents
    private Document insource;
    private Document upsource;
    private Document delsource;
    //strings which contain inputted function information
    private String functionname;
    private String descriptionname;
    private String rvvaluesname;
    private String rvdescripname;
    private String notesname;
    //class constructor that builds the necessary labels
    //and text fields, buttons, and panels.
    public mygui()
    JFrame mgframe = new JFrame("Welcome to the U_Fec function database");
    // Closes from title bar
    //and from menu
    mgframe.addWindowListener(new WindowAdapter()
         public void windowClosing(WindowEvent e)
              System.exit(0);
    mgframe.getContentPane().setLayout(new BorderLayout());
    mgframe.setBackground(Color.white);
    mgframe.setSize(800,999);
    mgframe.setVisible(true);
    //intializes text fields
    // file = new JTextField();
    function = new JTextField ();
    description = new JTextArea();
    context = new JTextField();
    actions = new JTextField();
    name = new JTextArea();
    type = new JTextArea();
    arguments = new JTextArea();
    rvalues = new JTextArea();
    rvdescrip = new JTextArea();
    rvnotes = new JTextArea();
    notes = new JTextArea();
    funccalled = new JTextArea();
    //scrollpanes for each text area
    sdescription = new JScrollPane(description);
    sname = new JScrollPane(name);
    stype = new JScrollPane(type);
    sarguments = new JScrollPane(arguments);
    srvalues = new JScrollPane(rvalues);
    srvdescrip = new JScrollPane(rvdescrip);
    srvnotes = new JScrollPane(rvnotes);
    snotes = new JScrollPane(notes);
    sfunccalled = new JScrollPane(funccalled);
    //initializes labels for text fields
    // lfile = new JLabel("File: ");
    lfunction = new JLabel("Function: ");
    ldescription = new JLabel ("Description: ");
    lcontext = new JLabel ("Context: ");
    lactions = new JLabel ("Actions: ");
    lname = new JLabel ("Name: ");
    ltype = new JLabel ("Type: ");
    larguments = new JLabel ("Arguments: ");
    lrvalues = new JLabel ("Return Values: ");
    lrvdescrip = new JLabel ("Description: ");
    lrvnotes = new JLabel ("Notes: ");
    lnotes = new JLabel ("Notes: ");
    lfunccalled = new JLabel ("Functions called: ");
    //initialize buttons
    load = new JButton("Load");
    update = new JButton ("Update");
    savenew = new JButton ("Insert new function");
    newreturncode = new JButton ("Insert new return code for existing function");
    delete = new JButton ("Del");
    deletereturncode = new JButton ("Delete return code");
    prev = new JButton ("Prev");
    next = new JButton ("Next");
    //calls methods to build each panel
    buildFilePanel();
    buildMainPanel();
    //places panel info into correct border location
    mgframe.getContentPane().add (filep, BorderLayout.NORTH);
    mgframe.getContentPane().add (mainp, BorderLayout.CENTER);
    mgframe.getContentPane().add (mainp2,BorderLayout.SOUTH);
    private void buildMainPanel()
    //main panel
         mainp = new JPanel();
         //Sets color and layout.
         //Adds text fields and labels for user input
         mainp.setBackground(Color.white);
         mainp.setLayout ( new GridLayout (6, 2, 2, 2));
         //grid of name, type, argument, return values,
    //return values description, and return value
    //notes, which is contained within the main panel
    mainp2 = new JPanel();
    mainp2.setBackground(Color.white);
    mainp2.setLayout( new GridLayout (4, 3, 5, 5));
    mainp2.add(lname);
    mainp2.add(ltype);
    mainp2.add(larguments);
    mainp2.add(sname);
    mainp2.add(stype);
    mainp2.add(sarguments);
    mainp2.add(lrvalues);
    mainp2.add(lrvdescrip);
    mainp2.add(lrvnotes);
    mainp2.add(srvalues);
    mainp2.add(srvdescrip);
    mainp2.add(srvnotes);
    // mainp.add(lfunction);
    //     mainp.add(function);
    mainp.add(lfunction);
    mainp.add(function);
         mainp.add(ldescription);
         mainp.add(sdescription);
         mainp.add(lcontext);
         mainp.add(context);
         mainp.add(lactions);
         mainp.add(actions);
    mainp.add(lnotes);
    mainp.add(snotes);
    mainp.add(lfunccalled);
    mainp.add(sfunccalled);
         //sets border around panel and a title
         mainp.setBorder(BorderFactory.createTitledBorder("function information"));
         //listeners for each text field and text area
    //adds property for eact text area/field
         function.getDocument().addDocumentListener(this);
    function.getDocument().putProperty("name","function");
         description.getDocument().addDocumentListener(this);
    description.getDocument().putProperty("name", "description");
         context.getDocument().addDocumentListener(this);
         context.getDocument().putProperty("name","context");
    actions.getDocument().addDocumentListener(this);
         actions.getDocument().putProperty("name","actions");
    name.getDocument().addDocumentListener(this);
         name.getDocument().putProperty("name","name");
    type.getDocument().addDocumentListener(this);
         type.getDocument().putProperty("name","type");
    arguments.getDocument().addDocumentListener(this);
    arguments.getDocument().putProperty("name","arguments");
         rvalues.getDocument().addDocumentListener(this);
    rvalues.getDocument().putProperty("name","return values");
    rvdescrip.getDocument().addDocumentListener(this);
    rvdescrip.getDocument().putProperty("name","return values description");
    rvnotes.getDocument().addDocumentListener(this);
    rvnotes.getDocument().putProperty("name","return values notes");
    notes.getDocument().addDocumentListener(this);
    notes.getDocument().putProperty("name","notes");
    funccalled.getDocument().addDocumentListener(this);
    funccalled.getDocument().putProperty("name","functions called");
    private void buildFilePanel ()
         filep = new JPanel();
         //Sets color and layout
         //Adds text field and buttons for file input
         filep.setBackground(Color.white);
         filep.setLayout(new GridLayout(2,3,0,5));
         //Adds each component to the panel
         filep.add(load);
         filep.add(update);
         filep.add(savenew);
    filep.add(newreturncode);
    filep.add(delete);
    filep.add(deletereturncode);
         //filep.add(prev);
    //     filep.add(next);
         //sets border around panel
         filep.setBorder(BorderFactory.createTitledBorder("buttons"));
         //adds an actionListener for file name
    //     file.getDocument().addDocumentListener(this);
         //sets border around buttons
         load.setBorder(BorderFactory.createRaisedBevelBorder());
         savenew.setBorder(BorderFactory.createRaisedBevelBorder());
    newreturncode.setBorder(BorderFactory.createRaisedBevelBorder());
         update.setBorder(BorderFactory.createRaisedBevelBorder());
    delete.setBorder(BorderFactory.createRaisedBevelBorder());
    deletereturncode.setBorder(BorderFactory.createRaisedBevelBorder());
    //     prev.setBorder(BorderFactory.createRaisedBevelBorder());
    //     next.setBorder(BorderFactory.createRaisedBevelBorder());
         //listeners for the buttons
         load.addActionListener(this);
         savenew.addActionListener(this);
    newreturncode.addActionListener(this);
    update.addActionListener(this);
         delete.addActionListener(this);
    deletereturncode.addActionListener(this);
    //     prev.addActionListener(this);
    //     next.addActionListener(this);
    public void actionPerformed(java.awt.event.ActionEvent evt)
    String dataSourceName = "db1";
    String dbURL = "jdbc:odbc:" + dataSourceName;
    try{
    DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver() );
    //Driver d = (Driver)Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    // Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver ");
    } catch (Exception e) {
    System.out.println(e.getMessage());
    // } catch (SQLException e) {
    // System.out.println(e.getMessage());
    try{
    Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://NJ8650MONDAL", "m", "m");
    Statement stmt = con.createStatement();
    if (evt.getSource()==load)
    try{
    ResultSet result = stmt.executeQuery("SELECT * FROM function_description, return_code_description " + "WHERE function_description.Function = return_code_description.Function_Name AND (((Function)='"+ functionname + "'));");
    result.next();
    function.setText(result.getString("Function"));
    description.setText(result.getString("Description"));
    notes.setText(result.getString("Notes"));
    rvalues.setText(result.getString("Return_Codes"));
    rvdescrip.setText(result.getString("Return_Codes_Description"));
    }catch (Exception e) {function.setText("Record not found in database.");}
    if(evt.getSource() == update)
    try{
    con.setAutoCommit(false);
    PreparedStatement updateDesc = con.prepareStatement("UPDATE function_description SET Description = ? WHERE Function LIKE ?");
    updateDesc.setString(1, descriptionname);
    updateDesc.setString(2, functionname);
    updateDesc.executeUpdate();
    PreparedStatement updateNote = con.prepareStatement("UPDATE function_description SET Notes = ? WHERE Function LIKE ?");
    updateNote.setString(1, notesname);
    updateNote.setString(2, functionname);
    updateNote.executeUpdate();
    con.commit();
    con.setAutoCommit(true);
    con.setAutoCommit(false);
    PreparedStatement updateRvalue = con.prepareStatement("UPDATE return_code_description SET Return_Codes = ? WHERE Function_Name LIKE ?");
    updateRvalue.setString(1, rvvaluesname);
    updateRvalue.setString(2, functionname);
    updateRvalue.executeUpdate();
    PreparedStatement updateRvdesc = con.prepareStatement("UPDATE return_code_description SET Return_Codes_Description = ? WHERE Function_Name LIKE ?");
    updateRvdesc.setString(1, rvdescripname);
    updateRvdesc.setString(2, functionname);
    updateRvdesc.executeUpdate();
    con.commit();
    con.setAutoCommit(true);
    }catch (Exception e) {function.setText("Could not update function.  Make sure record is found in database");}
    if(evt.getSource()==savenew)
    try{
    con.setAutoCommit(false);
    // PreparedStatement insertRvalues = con.prepareStatement("INSERT INTO return_code_description VALUES (?,?,?)");
    // insertRvalues.setString(1,functionname);
    // insertRvalues.setString(2,rvvaluesname);
    // insertRvalues.setString(3,rvdescripname);
    // insertRvalues.execute();
    PreparedStatement insertFvalues = con.prepareStatement("INSERT INTO function_description VALUES (?,?,?)");
    insertFvalues.setString(1,functionname);
    insertFvalues.setString(2,descriptionname);
    insertFvalues.setString(3,notesname);
    insertFvalues.execute();
    insertFvalues.close();
    PreparedStatement insertRvalues = con.prepareStatement("INSERT INTO return_code_description (Function_Name, Return_Codes, Return_Codes_Description) VALUES (?,?,?)");
    insertRvalues.setString(1,functionname);
    insertRvalues.setString(2,rvvaluesname);
    insertRvalues.setString(3,rvdescripname);
    insertRvalues.execute();
    con.commit();
    con.setAutoCommit(true);
    insertRvalues.close();
    }catch (Exception e) {function.setText("Could not create new record.  Make sure it is not already there.");}
    insertRvalues.setString(1, functionname);
    insertRvalues.setString(2, rvdescripname);
    insertRvalues.setString(3, rvvaluesname);
    insertRvalues.executeUpdate();
    con.commit();
    con.setAutoCommit(true);
    // stmt.executeUpdate("INSERT INTO function_description" + "(Function, Description, Notes)" +
    // "VALUES (('"+ functionname + "'), ('"+ descriptionname + "'), ('"+ notesname + "'));");
    String sql = "INSERT INTO function_description" +
    " (Function, Description, Notes)" +
    " VALUES (functionnname, descriptionname, notesname)";
                        stmt.executeUpdate(sql);
    String sql2 = "INSERT INTO return_codes_description" +
    "(Function Name, Return Codes, Return Codes Description" +
    " VALUES (functionname, rvaluesname, rvdescripname)";
    stmt.executeUpdate(sql2);
    if (evt.getSource() == newreturncode)
    try{
    PreparedStatement insertnewRvalues = con.prepareStatement("INSERT INTO return_code_description (Function_Name, Return_Codes, Return_Codes_Description) VALUES (?,?,?)");
    insertnewRvalues.setString(1,functionname);
    insertnewRvalues.setString(2,rvvaluesname);
    insertnewRvalues.setString(3,rvdescripname);
    insertnewRvalues.execute();
    }catch (Exception e){function.setText("Could not add new return code.  Make sure function record exists.");}
    if (evt.getSource() == delete)
    int n = JOptionPane.showConfirmDialog(mgframe,"Do you want to delete '"+ functionname + "'",
    "An Important Question",
    JOptionPane.YES_NO_OPTION);
    if(n== JOptionPane.YES_OPTION)
    try{
    con.setAutoCommit(false);
    PreparedStatement rDelete = con.prepareStatement("Delete from return_code_description where Function_Name = ?");
    rDelete.setString(1, functionname);
    int deleteCount2 = rDelete.executeUpdate();
    PreparedStatement fDelete = con.prepareStatement("Delete from function_description where Function =? ");
    fDelete.setString(1, functionname);
    int deleteCount = fDelete.executeUpdate();
    con.commit();
    con.setAutoCommit(true);
    }catch (Exception e) {function.setText("Could not delete record.  Make sure it is in database.");}
    if (evt.getSource()== deletereturncode)
    try{
    PreparedStatement rDelete = con.prepareStatement("Delete from return_code_description where Function_Name = ?");
    rDelete.setString(1, functionname);
    int deleteCount2 = rDelete.executeUpdate();
    }catch (Exception e){function.setText("Could not add new return code.  Make sure function record exists.");}
    if (evt.getSource() == next)
    try{
    ResultSet result = stmt.executeQuery("SELECT * FROM function_description, return_code_description " + "WHERE function_description.Function = return_code_description.Function_Name AND (((Function)='"+ functionname + "'));");
    result.next();
    result.next();
    function.setText(result.getString("Function"));
    description.setText(result.getString("Description"));
    notes.setText(result.getString("Notes"));
    rvalues.setText(result.getString("Return_Codes"));
    rvdescrip.setText(result.getString("Return_Codes_Description"));
    }catch (Exception e) {function.setText("Record not found in database.");}
    */} catch (SQLException e) {System.out.println(e.getMessage());}
    public static void main (String [] args)
    mygui mg = new mygui();
    //The following 3 methods are DocumentListener methods
    public void insertUpdate(javax.swing.event.DocumentEvent evt)
    updateLog (evt, "inserted into");
    public void changedUpdate (javax.swing.event.DocumentEvent evt)
    //not fired by plain text components
    public void removeUpdate(javax.swing.event.DocumentEvent evt)
    updateLog(evt, "removed from");
    public void updateLog(javax.swing.event.DocumentEvent evt, String ac)
    Document doc = evt.getDocument();
    if( doc.getProperty("name") == "function")
    try{
    functionname = doc.getText(0,doc.getLength());
    }catch (BadLocationException ble) {
    // Shouldn't get here
    else if ( doc.getProperty("name") == "description")
    try{
    descriptionname = doc.getText(0,doc.getLength());
    }catch (BadLocationException ble) {
    // Shouldn't get here
    else if ( doc.getProperty("name") == "notes")
    try{
    notesname = doc.getText(0,doc.getLength());
    }catch (BadLocationException ble) {
    // Shouldn't get here
    else if ( doc.getProperty("name") == "return values")
    try{
    rvvaluesname = doc.getText(0,doc.getLength());
    }catch (BadLocationException ble) {
    // Shouldn't get here
    else if ( doc.getProperty("name") == "return values description")
    try{
    rvdescripname = doc.getText(0,doc.getLength());
    }catch (BadLocationException ble) {
    // Shouldn't get here
    //Closes class
    </code>
    Thanks in advance!!!!

    This error message is explained on MSDN site (Article Q313181). Here is an excerpt:
    SYMPTOMS
    While using the Microsoft SQL Server 2000 Driver for JDBC, you may experience the following exception:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
    CAUSE
    This error occurs when you try to execute multiple statements against a SQL Server database with the JDBC driver while in manual transaction mode (AutoCommit=false) and while using the direct (SelectMethod=direct) mode. Direct mode is the default mode for the driver.
    RESOLUTION
    When you use manual transaction mode, you must set the SelectMethod property of the driver to Cursor, or make sure that you use only one active statement on each connection as specified in the "More Information" section of this article.

  • DB13 Job fail with error :Database instance is shut down

    Hi All,
    Recently we upgraded our Redhat Linux, Database from 9i to 10.2.0.4 and SAP Kernel 640 to patch 347.
    Now my system is working fine but in DB13 jobs I am getting error:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000763, user ID SHMITTAL)
    Execute logical command BRCONNECT On host saturn
    Parameters: -u / -c -f stats -t ALL
    BR0801I BRCONNECT 6.40 (52)
    BR0805I Start of BRCONNECT processing: cegcuesi.sta 2011-06-16 06.26.52
    BR0484I BRCONNECT log file: /oracle/PP0/sapcheck/cegcuesi.sta
    BR0613E Database instance PP0 is shut down
    BR0806I End of BRCONNECT processing: cegcuesi.sta2011-06-16 06.26.52
    BR0280I BRCONNECT time stamp: 2011-06-16 06.26.52
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    it is looking to me that somewhere still Oracle path is mentioned as of 9i version.
    I checked environment variables, Default profile, initSID.sap but not find any issue, checked on google it says check tnsnames.ora, I checked that file but there is no such parameter for Oracle home.
    Please suggest to resolve the issue.
    Shivam Mittal

    Shivam Mittal wrote:
    BR0801I BRCONNECT 6.40 (52)
    Hi,
    allthough I am not quite sure, because 9i is sooo old and 10.2 is even near out of maintanance,
    Kernel 6.40 is linked against a version 9 client thus forcing sidadm to work with a 9i environment.
    brtools 6.40 working as orasid (environment 10g)
    and failing as sidadm (in the 6.40 plain kernel environment (oracle 9i))
    is perfectly normal as far as I remember.
    I think there was a section in the version 10 upg-guide whichg says to switch brtools to version 7.0, even if you use a 6.40 kernel exactly for this reason. This is, because version 7.0 brtools are hardlinked against the instantclient 10.
    So these work even as sidadm with an environment set to a version 9 client.
    I can not verify exactly, any more, cause all our 6.40 systems have recently gone to oracle version 11
    requireing the switch to the 6.40 EX2 kernel and brtools 7.20.
    Try brtools 7.00 on current patchlevel.
    Volker

  • Can this be used with other databases??

    null

    Yes, you can use Oracle Reports with Microsoft SQL Server,
    Sybase, DB2, Rdb, and Informix as well as Oracle and any other
    ODBC compliant database. We also have integrated support for the
    Oracle Express Server.
    For more information, you may want to check out our data sheet
    and other collateral. From the main OTN page, click buiness
    intelligence tools, then click Reports, and then click Tech Info.
    Note that our product documentation is also downloadable from the
    6i Beta page.
    Regards
    The Oracle Reports Team
    null

  • SQL Server Agent Job And Database Mail - Error formatting query, probably invalid paramters

    We have a stored procedure that we are trying to call with a SQL Server Agent Job. The stored procedure calls Database Mail. This is SQL 2008. The execute task is simply:
    USE [Production]
    GO
    EXEC [dbo].[JOB_EMAIL_SCHEDULED_REPORTS]
    GO
    When the job runs, it is erroring out immediately, with the error:
    Execute as user: NT AUTHORITY\NETWORK SERVICE. Error formatting query, probably invalid paramters [SQLSTATE 42000] (Error 22050). The step failed.
    When we go into SQL Server Manager and just execute the SQL query, it works though. Something within the SQL Server Agent job,  and Database Mail is causing problems. Any ideas? Thanks.

    Justin,
    If you use SSMS then the procedure is executed under a different user when compared to running using a SQL Server Agent Job.
    Isolate the problem by running a SQL Server agent job that sends a mail. Also check if the NT Authority\Network Service account is
    in good standing. Look at the below thread with a similar problem that had an expired account.
    http://social.msdn.microsoft.com/Forums/en/sqltools/thread/bac7ecee-a156-4313-b532-ba15813a0700
    http://SankarReddy.com/

  • Creating new database with old database datafile

    is it possible to create new database with old datafile
    i lost my database ,i have no back up, just i have datafiles,
    i want to create new database and want to create tablespaces with old datafiles
    pls suggest me right one
    tahnk you

    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 339559282 generated at 03/09/2008 12:23:01 needed for thread 1
    ORA-00289: suggestion : F:\ORA9IAS\RDBMS\ARC01901.001
    ORA-00280: change 339559282 for thread 1 is in sequence #1901
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log 'F:\ORA9IAS\RDBMS\ARC01901.001'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'F:\ORA9IAS\ORADATA\IASDB\SYSTEM01.DBF'

  • Programmatically generated emails sometime failed with error "Message included an invalid address".

    Hi, 
    I am facing a strange problem. I would appreciate if someone can help me. 
    Our application sends emails periodically (every 30 minutes). Initially emails send out correct but then the emails stop with error message "Message included an invalid address" after some time. 
    FYI, the devices are using MDS/BES connection. Contect protection is enable. etc. 
    Below is the code used to send emails:
    Message message = new Message();
    Address toAdd = new Address(emailTo, emailTo);
    Address toAdds[] = new Address[1];
    toAdds[0] = toAdd;
    message.addRecipients(Message.RecipientType.TO, toAdds);
    message.setSubject(subject);
    message.setContent(messageData);
    net.rim.blackberry.api.mail.Transport.send(message);
    Thanks for your time. 
    Sali

    I enabled the contect protection on my test device and then after few emails the emails show red cross when device was locked with the same error.
    So I believe the email does not go out when the content protection is enable and deice is locked. 
    Any idea to fix our email process?

  • Check database with error "ORA-01031: insufficient privileges"

    Dear Gurus,
            I ran "Check database" in DB13 but I got error "ORA-01031: insufficient privileges"
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
    'PREPARE stmt_5 STATEMENT FROM'
    'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
           Note I try to execute sapdba_role.sql (with command "sqlplus /nolog @sapdba_role.sql SR3") as Note 134592 both login 'oradev' and 'devadm' but it seem to do nothing (not found sapdba_role.log)
          Please advice.
    Best regards,
    Choosak B.
    Ps.
    detailed log of /oracle/DEV/sapcheck/cecxekdh.chk
    BR0801I BRCONNECT 7.00 (40)
    BR0477I Oracle pfile /oracle/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/DEV/102_64/dbs/spfileDEV.ora
    BR0805I Start of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.30.53
    BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cecxekdh.chk
    BR0101I Parameters
    Name                           Value
    oracle_sid                     DEV
    oracle_home                    /oracle/DEV/102_64
    oracle_profile                 /oracle/DEV/102_64/dbs/initDEV.ora
    sapdata_home                   /oracle/DEV
    sap_profile                    /oracle/DEV/102_64/dbs/initDEV.sap
    system_info                    devadm/oradev sapdev SunOS 5.10 Generic_142900-03 sun4v
    oracle_info                    DEV 10.2.0.4.0 8192 7465 94896497 sapdev UTF8 UTF8
    sap_info                       701 SAPSR3 0002LK0003DEV0011N11827599290015Maintenance_ORA
    make_info                      sun_64 OCI_102 Feb 21 2009
    command_line                   brconnect -u / -jid CHECK20100331123000 -c -f check
    alert_log                      /oracle/DEV/saptrace/background/alert_DEV.log
    BR0280I BRCONNECT time stamp: 2010-03-31 12.30.56
    BR0813I Schema owners found in database DEV:
    DBSNMP, DIP, OPS$DEVADM, OPS$ORADEV, OPS$SAPSERVICEDEV, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
    TSMSYS
    BR0118I Tablespaces and data files
    Tablespace     Status     File                                               Status     Id.        Size      MaxSize     IncrSize  BlkSize      Device  Type  Link
    PSAPSR3        ONLINE+    /oracle/DEV/sapdata2/sr3_1/sr3.data1               ONLINE+     4   2411732992  10485760000     20971520     8192    16777219  FILE  NOLINK
    SYSTEM         ONLINE+    /oracle/DEV/sapdata1/system_1/system.data1         SYSTEM+     1   1017126912  10485760000     20971520     8192    16777219  FILE  NOLINK
    BR0119I Redo log files
    File                                          Status  Group       Size       Device  Type  Link
    /oracle/DEV/origlogA/log_g11m1.dbf            INUSE      1    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogA/log_g11m2.dbf            INUSE      1    52429312     16777218  FILE  NOLINK
    /oracle/DEV/origlogB/log_g12m1.dbf            INUSE      2    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogB/log_g12m2.dbf            INUSE      2    52429312     16777218  FILE  NOLINK
    /oracle/DEV/origlogA/log_g13m1.dbf            INUSE      3    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogA/log_g13m2.dbf            INUSE      3    52429312     16777218  FILE  NOLINK
    /oracle/DEV/origlogB/log_g14m1.dbf            INUSE      4    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogB/log_g14m2.dbf            INUSE      4    52429312     16777218  FILE  NOLINK
    BR0120I Control files
    File                                                Size       Device  Type  Link
    /oracle/DEV/origlogA/cntrl/cntrlDEV.dbf         15024128     16777218  FILE  NOLINK
    /oracle/DEV/origlogB/cntrl/cntrlDEV.dbf         15024128     16777218  FILE  NOLINK
    /oracle/DEV/sapdata1/cntrl/cntrlDEV.dbf         15024128     16777219  FILE  NOLINK
    BR0982I Database disk volumes
    Directory / Raw disk                          Device      Total[KB]      Free[KB]    Used[%]   MaxNeed[KB]   MaxMiss[KB]
    /oracle/DEV/102_64                          16777218     480700086     404332206      15.89             0             0
    /oracle/DEV                                 16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/mirrlogA                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/mirrlogB                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/origlogA                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/origlogB                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapdata1                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/sapdata2                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/sapdata3                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/sapdata4                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/saparch                         16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapbackup                       16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapcheck                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapreorg                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/saptrace                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/oraarch                         16777218     480700086     404332206      15.89             0             0
    BR0280I BRCONNECT time stamp: 2010-03-31 12.31.29
    BR0814I Number of tables in schema of owner SAPSR3: 74582
    BR0836I Number of info cube tables found for owner SAPSR3: 49
    BR0814I Number of tables/partitions in schema of owner SYS: 625/189
    BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
    BR0280I BRCONNECT time stamp: 2010-03-31 12.32.28
    BR0815I Number of indexes in schema of owner SAPSR3: 89159
    BR0815I Number of indexes/partitions in schema of owner SYS: 678/199
    BR0815I Number of indexes/partitions in schema of owner SYSTEM: 175/32
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0816I Number of segments in schema of owner DBSNMP: 25
    BR0816I Number of segments in schema of owner OPS$DEVADM: 1
    BR0816I Number of segments in schema of owner OUTLN: 9
    BR0816I Number of segments/LOBs in schema of owner SAPSR3: 168369/2314
    BR0816I Number of segments/LOBs in schema of owner SYS: 1831/87
    BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
    BR0816I Number of segments in schema of owner TSMSYS: 4
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0961I Number of conditions found in DBCHECKORA: 118
    BR0983I Tablespace fragmentation
    Tablespace    Files   Tables  Indexes    Extents     Total[KB]   Used[%]     Free[KB]   FreeExt.   MaxSize[KB]   MaxAlloc[KB]   Used[%]       Free[KB]       Largest[KB]
    PSAPSR3          16    74248    88689     209864     54138880     94.51      2970752        240     163840000+     109701120+    31.23+     112671872+       9246720:7966720:7946240:7905280:7905280+
    PSAPSR3701       14        0        0          0     54466560      0.00     54465664         20     143360000+      88893440+     0.00+     143359104+       9021440:8192000:8192000:8192000:8192000+
    PSAPSR3701X       4      310      445      12190     68342784     94.20      3962240          7      68342784              0     94.20        3962240        1298432:1191936:979968:163776:163776
    PSAPSR3USR        1       24       25         51        51200      6.50        47872          1      10240000+      10188800+     0.03+      10236672+      10188800+:47872:0:0:0
    PSAPTEMP          1        0        0          0      1433600      0.00      1433600          0      10240000+       8806400+     0.00+      10240000+       8806400+:0:0:0:0
    PSAPUNDO          1        0        0          0      7823360      0.00      7823296        406      10240000+       2416640+     0.00+      10239936+       2416640+:2041792:1814464:1433536:603072
    SYSAUX            1      254      284       2059       307200     93.35        20416         16      10240000+       9932800+     2.80+       9953216+       9932800+:13248:3072:1024:640
    SYSTEM            1      505      569       2926       993280     98.91        10816          2      10240000+       9246720+     9.59+       9257536+       9246720+:10176:640:0:0
    Total:           39    75341    90012     227090    187556864     62.29     70734656        692     426742784      239185920     27.38      309920576       60157952:19463744:18936384:17695616:16864768
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
    'PREPARE stmt_5 STATEMENT FROM'
    'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0804I BRCONNECT terminated with errors

    Hi,
           It solved after change permission of directory that sapdba_role.sql kept to oradev:dba after that it can write sapdba_role.log.
          Thank you for your guideline.
          Now, I can ran 'Check database' via DB13 without that error.
    Best regards,
    Choosak B.

  • Can't acces the database with EM database control

    I just did a fresh 10g R2 (only oracle home) installation on a laptop with Win XP SP2 (spanish) and everything was fine. I can connect to de database using Plus or any other development tools. But when I open the EM start page (host:1158/em) using either IE or firefox (both spanish) I get the following message just below the EM logo: "EM couldn't connect to the database instance"
    The Instance, listener and agent are ok.
    I was reviewing the logs and i found these errors pointing to NLS configuration. But I don't know what's wrong.
    I have NLS_LANG set at KEY_OraDb10g_home1 with: LATIN AMERICAN SPANISH.WE8MSWIN1252.
    2006-11-06 10:40:58,435 [Orion Launcher] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    2006-11-06 10:41:04,885 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ias.ias.IASIntegration
    2006-11-06 10:41:06,867 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration
    2006-11-06 10:41:07,438 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.ssl.intg.SSLIntegration
    2006-11-06 10:41:08,069 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.domain.ProcessConnectDomainIntg
    2006-11-06 10:41:08,109 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
    2006-11-06 10:41:08,119 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
    2006-11-06 10:41:08,149 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
    2006-11-06 10:41:08,189 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.reports.em.RepIntg
    2006-11-06 10:41:08,209 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
    2006-11-06 10:41:08,219 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
    2006-11-06 10:41:08,249 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
    2006-11-06 10:41:08,259 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
    2006-11-06 10:41:08,259 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
    2006-11-06 10:41:08,299 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
    2006-11-06 10:41:09,992 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    2006-11-06 10:41:10,062 [OmsServiceDriver thread] ERROR conn.ConnectionService blockUntilValid.485 - Connection pool is not valid. status =2
    2006-11-06 10:41:10,062 [OmsServiceDriver thread] ERROR conn.ConnectionService blockUntilValid.493 - Repository connection details are invalid.
    2006-11-06 10:41:10,443 [HttpRequestHandler-30568553] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    2006-11-06 10:41:10,603 [HttpRequestHandler-4171469] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    2006-11-06 10:41:10,913 [EMUI_10_41_10_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
    at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer (EvermindHttpServletResponse.java:1901)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
    at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
    at oracle.sysman.eml.app.Console.doGet(Console.java:135)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter (ResourceFilterChain.java:65)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:131)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter (ContextInitFilter.java:239)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java :317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run (HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Any clues??

    LATIN AMERICAN SPANISH.WE8MSWIN1252It seems that EM doesn't like your setting, and actually it looks incomplete. Correct syntax for NLS_LANG should be
    LANGUAGE_TERRITORY.CHARACTERSET
    so try
    "LATIN AMERICAN SPANISH_<YOUR TERRITORY>.WE8MSWIN1252"

  • Can`t mount ipod - format error

    installed updater 2005-11-17 and itunes6 but my 3rd gen 20gb ipod behaves strange. iPod had been unused for a couple of months following a house move. Ipod SETTINGS>ABOUT says 0 (none!) songs - about 14gb used 5 free. Updater just seems to "hang". Both usb and firewire.
    If i start updater and connect iPod i regularly get "cant mount ipod" - but if I connect it and walk away for a while (ipod then appears in my computer as a removable drive) then updater reports ipod details as N/A ( like serial no. - N/A name - N/A format -N/A) then suggests to restore.
    After a lengthy period i get "disk format error" (or similar wording.
    Disk Mode also unhelpful as is Drive Letter change.
    Have tried all on iPod 101.
    Only solution appears to be hooking upto a mac which i dont have !
    Surely I can format with some other software on a PC.
    Why does it take so long for Updater to do something.
    Updates BOTH my daughters 4gb Minis in a flash !
    Same responce on 3 different PCs !
    Any Advice ?

    If windows can see the iPod check what drive letter it has allocated to the iPod and make sure it is sensible and does not clash with any other drive (i.e. not A: - C:, not a drive letter used by another device or a mapped network drive). Try using a free letter such as I:
    If windows does not see the iPod (even in disk mode) then try uninstalling and reinstalling the iPod software.

  • Can't back up with error message"Iphone disconnect" (IPhone4 Itunes 11)

    Pls. help me I can't back up my Iphone 4 with ITunes 11. The error mmessage is because of Iphone disconnect but I'm connecting!

    Hi OhohlallaYY,
    Thanks for using Apple Support Communities.
    You can resolve backup errors by following the steps in this article.
    For more information on this, take a look at this article:
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Best of luck,
    Mario

Maybe you are looking for