Oratab and orainst.loc file

1) Why oratab and oraInst.loc files are created under root user?
2) What is the importance of orainst.loc file?
3) Can we also use other groups except "dba" and "oinstall" during install?
Thanking you
With regards

Hi,
1) Why oratab and oraInst.loc files are created under root user?
There are some startup and shutdown services which only maintain from inside the root users and because operating system refer the database from this files oratab and oraInst.loc
Oratab is a colon-delimited text file on Unix and Linux systems that associates ORACLE_SID and ORACLE_HOME values.
The last field contains a "Y" or "N" for database startup when the machine boots up. One can also use hashes (#) to start comment lines.
This file is either found in the /var/opt/oracle or the /etc directories.
Scripts like oraenv, dbhome, dbstart and dbshut use the oratab file.
2) What is the importance of orainst.loc file?
It's maintain the oraInventory location means locations of ORACLE_HOME
3) Can we also use other groups except "dba" and "oinstall" during install?
Yes can do but not recommended by oracle
please refer the documentation
http://docs.oracle.com/cd/B19306_01/install.102/b15660/pre_install.htm#CIHGCBBA
Regards
Hitgon
Edited by: hitgon on May 1, 2012 2:12 PM
Edited by: hitgon on May 1, 2012 2:13 PM
Edited by: hitgon on May 1, 2012 2:14 PM

Similar Messages

  • When oraInst.loc file is created during installation on  linux ?

    * QUES during installation :*
    Is this  really true  ?
    When executing  orainstRoot.sh , It creates the inventory pointer file (/etc/oraInst.loc).
    In my case , " the file was created before executing orainstRoot.sh "
    + As far as I know , end of the installation only we are running orainstRoot.sh script .+
    + before running that the orainstRoot.sh script , i checked here ..+
    +[root@localhost oraInventory]# id+
    uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
    vi  .oraInst.loc
    inventory_loc=/u01/app/oracle/oraInventory
    inst_group=oinstall
    * NOTE : orainst.loc file created before running orainstRoot.sh*
    Prouuct 10g r2 on redhat 5

    Given link says orainventory_location is the location of the oraInventory directory:
    but directory not found.
    *$ pwd*
    +/u01/app/oracle/oraInventory+
    *[oracle@localhost oraInventory]$ ls -al*
    t+otal 48+
    drwxrwx---  7 oracle oinstall 4096 Feb  1 04:35 .
    drwxr-xr-x  7 oracle oinstall 4096 Feb  5 04:52 ..
    drwxrwx---  2 oracle oinstall 4096 Feb 11 00:12 Contents
    drwxrwx---  2 oracle oinstall 4096 Feb 11 00:11 ContentsXML
    -rwxrwx---  1 oracle oinstall   37 Jan 31 11:10 install.platform
    drwxrwx---  2 oracle oinstall 4096 Feb  5 04:33 locks
    drwxr-x---  3 oracle oinstall 4096 Feb  1 04:16 logs
    -rwxrwx---  1 oracle oinstall  307 Feb  1 04:16 oraInstaller.properties
    -rwxrwx---  1 oracle oinstall   63 Jan 31 11:10 oraInst.loc
    -rwxrwx---  1 oracle oinstall 1192 Jan 31 11:10 orainstRoot.sh
    drwxrwx---  2 oracle oinstall 4096 Feb  1 04:35 oui
    -rwxrwx---  1 oracle oinstall 3337 Jan 31 11:07 sessionContext.ser
    *$ cd /orainventory_location/logs*
    bash: cd: /orainventory_location/logs: No such file or directory
    *$ find / -name orainventory_location>/dev/null*
    find: /usr/share/ssl/CA: Permission denied
    find: /usr/share/Pegasus/scripts: Permission denied
    find: /boot/lostfound: Permission denied+
    find: /tmp/keyring-kUl6ry: Permission denied
    find: /tmp/keyring-W9rMuT: Permission denied
    find: /tmp/vmware-root: Permission denied
    find: /tmp/gconfd-root: Permission denied
    find: /tmp/keyring-sErBRg: Permission denied
    find: /tmp/lostfound: Permission denied+
    find: /lostfound: Permission denied+
    find: /home/sandyagupta: Permission denied
    find: /home/sandya: Permission denied
    find: /proc/tty/driver: Permission denied
    find: /proc/1/task/1/fd: Permission denied
    find: /proc/2/task/2/fd: Permission denied
    find: /proc/3/task/3/fd: Permission denied
    find: /proc/4/task/4/fd: Permission denied
    find: /proc/5/task/5/fd: Permission denied
    find: /proc/6/task/6/fd: Permission denied
    find: /proc/86/task/86/fd: Permission denied
    find: /proc/104/task/104/fd: Permission denied
    find: /proc/105/task/105/fd: Permission denied
    find: /proc/107/task/107/fd: Permission denied
    find: /proc/87/task/87/fd: Permission denied
    find: /proc/106/task/106/fd: Permission denied
    find: /proc/253/task/253/fd: Permission denied
    find: /proc/373/task/373/fd: Permission denied
    find: /proc/399/task/399/fd: Permission denied
    find: /proc/1608/task/1608/fd: Permission denied
    find: /proc/1647/task/1647/fd: Permission denied
    find: /proc/1967/task/1967/fd: Permission denied
    find: /proc/2132/task/2132/fd: Permission denied
    find: /proc/2151/task/2151/fd: Permission denied
    find: /proc/2152/task/2152/fd: Permission denied
    find: /proc/2370/task/2370/fd: Permission denied
    find: /proc/2485/task/2485/fd: Permission denied
    find: /proc/2537/task/2537/fd: Permission denied
    find: /proc/2912/task/2912/fd: Permission denied
    find: /proc/2916/task/2916/fd: Permission denied
    find: /proc/2938/task/2938/fd: Permission denied
    find: /proc/2958/task/2958/fd: Permission denied
    find: /proc/2987/task/2987/fd: Permission denied
    find: /proc/3075/task/3075/fd: Permission denied
    find: /proc/3085/task/3085/fd: Permission denied
    find: /proc/3100/task/3100/fd: Permission denied
    find: /proc/3119/task/3119/fd: Permission denied
    find: /proc/3127/task/3127/fd: Permission denied
    find: /proc/3138/task/3138/fd: Permission denied
    find: /proc/3148/task/3148/fd: Permission denied
    find: /proc/3172/task/3172/fd: Permission denied
    find: /proc/3191/task/3191/fd: Permission denied
    find: /proc/3210/task/3210/fd: Permission denied
    find: /proc/3223/task/3223/fd: Permission denied
    find: /proc/3234/task/3234/fd: Permission denied
    find: /proc/3244/task/3244/fd: Permission denied
    find: /proc/3323/task/3323/fd: Permission denied
    find: /proc/3375/task/3375/fd: Permission denied
    find: /proc/3431/task/3431/fd: Permission denied
    find: /proc/3480/task/3480/fd: Permission denied
    find: /proc/3483/task/3483/fd: Permission denied
    find: /proc/3750/task/3750/fd: Permission denied
    find: /proc/3980/task/3980/fd: Permission denied
    find: /proc/4013/task/4013/fd: Permission denied
    find: /proc/4308/task: No such file or directory
    find: /proc/4345/task/4345/fd: Permission denied
    find: /proc/4414/task/4414/fd: Permission denied
    find: /proc/4440/task/4440/fd: Permission denied
    find: /proc/5075/task/5075/fd: Permission denied
    find: /proc/5078/task/5078/fd: Permission denied
    find: /etc/cups/certs: Permission denied
    find: /etc/racoon/certs: Permission denied
    find: /etc/Pegasus: Permission denied
    find: /root: Permission denied
    find: /var/spool/clientmqueue: Permission denied
    find: /var/spool/cups: Permission denied
    find: /var/spool/cron: Permission denied
    find: /var/spool/mqueue: Permission denied
    find: /var/spool/at: Permission denied
    find: /var/lock/lvm: Permission denied
    find: /var/lib/dhcpv6: Permission denied
    find: /var/lib/Pegasus: Permission denied
    find: /var/lib/slocate: Permission denied
    find: /var/lib/nfs/statd: Permission denied
    find: /var/cache/alchemist/printconf.local/wm: Permission denied
    find: /var/cache/alchemist/printconf.rpm/wm: Permission denied
    find: /var/cache/samba/winbindd_privileged: Permission denied
    find: /var/log/audit: Permission denied
    find: /var/log/samba: Permission denied
    find: /var/log/ppp: Permission denied
    find: /var/empty/sshd: Permission denied
    find: /var/run/mdadm: Permission denied
    find: /var/run/usb: Permission denied
    find: /var/run/sudo: Permission denied
    find: /var/run/mdmpd: Permission denied
    find: /var/run/tog-pegasus: Permission denied
    find: /var/gdm: Permission denied
    Could you please help me to find ?

  • NON-COMPLIANT: ..oraInst.loc doesn't point to inventory inside ORACLE_HOME

    Hello Gurus:
    I have just migrated and upgraded EBS 11i to 12.1.1 and now having trouble with the oraInventory setup.
    I have the three $ORACLE_HOMEs for 11.2.0 rdbms, 10.1.2 & 10.1.3 for the apps.
    cat /etc/oraInst.loc
    inventory_loc=/etc/oraInventory
    inst_group=oinstall
    RDBMS:
    cat /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
    inventory_loc=/etc/oraInventory
    inst_group=oinstall
    10.1.2 :
    cat /u02/applfind/apps/tech_st/10.1.2/oraInst.loc
    inventory_loc=/etc/oraInventory
    inst_group=oinstall
    10.1.3 :
    cat /u02/applfind/apps/tech_st/10.1.3/oraInst.loc
    inventory_loc=/etc/oraInventory
    inst_group=oinstall
    First there is no ouicli.pl in RDBMS home so I use ./runInstaller -silent -attachHome to add it to the inventory
    For 10.1.2 & 10.1.3 Homes, when I use ouicli.pl it give me errors:
    cd $ORACLE_HOME/appsutil/clone
    ./ouicli.pl
    Out put:
    NON-COMPLIANT: /u02/applfind/apps/tech_st/10.1.2/oraInst.loc does not point to an inventory inside the current ORACLE_HOME
    Rapid Clone only supports oraInst.loc at that location if its content points to an inventory inside the same ORACLE_HOME
    Please make the necessary changes to the following file:
    /u02/applfind/apps/tech_st/10.1.2/oraInst.loc
    running OUI CLI home cloning:
    /u02/applfind/apps/tech_st/10.1.2/oui/bin/runInstaller -debug -clone -silent -force -nolink -waitForCompletion -invPtrLoc /etc/oraInst.loc session:ORACLE_HOME=/u02/applfind/apps/tech_st/10.1.2 oracle.as.j2ee.top:s_asInstanceName=OFD1_TOOLS__u02_applfind_apps_tech_st_10_1_2 oracle.as.j2ee.top:s_adminName=ias_admin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=OFD1_TOOLS__u02_applfind_apps_tech_st_10_1_2 -J-Doracle.installer.noLink=true
    Finished OUI CLI cloning for s_tools_oh with return code: 0Sat Oct 6 04:52:49 2012
    I have followed MOS Notes to no success:
    How to create, update or rebuild the Central Inventory for Applications R12 [ID 742477.1]
    How to Recreate the Global oraInventory [ID 295185.1]
    Global and Local Inventory explained [ID 360079.1]
    1) Looking at my oraInst.loc entries above what am I missing?
    2) Should there be a local and then a Global inventory? And if so, how is each defined - especially the Local inventory?
    3) How to I get ouicli.pl to update both local and global inventories as it is supposed to do?
    4) Why is it that When I changed the entry of /u02/applfind/apps/tech_st/10.1.2/oraInst.loc to:
    inventory_loc=/u02/applfind/apps/tech_st/10.1.2/oraInventory
    The /etc/oraInventory/ContentsXML/inventory.xml will not be updated?
    Thanks
    ChoMA

    Hello Hussein,
    We are Migrating and upgrading EBS 11i on a 32 bit ULN 4 to EBS 12.1.3 on an x86-64 bit ULN following doc 557738.1 (Export/import notes ....)
    We are currently at 12.1.1 and preparing to move onto 12.1.3.
    The folder $ORACLE_HOME/appsutil/clone/bin on this new server and installation f 12.1.1 does not contain adcfgclone.pl as needed by Note 458653.1
    Note [ID 742477.1] (How to create, update or rebuild the Central Inventory for Applications R12) called for using $ORACLE_HOME/appsutil/clone/ouicli.pl in the 11.2.0 rdbms ORACLE_HOME but this file (ouicli.pl) is also not there? It is nevertheless presnet in the in 10.1.2 & 10.1.3 ORACLE_HOMEs.
    1) Looking at my three oraInst.loc entries above what am I missing?
    2) Should there be two inventories (Local & Global)? And if so, how is each defined - especially the Local inventory?
    3) How do I get ouicli.pl to update both local and global inventories as it is supposed to do? From the error (NON-COMPLIANT: /u02/applfind/apps/tech_st/10.1.2/oraInst.loc does not point to an inventory inside the current ORACLE_HOME), ouicli.pl apparenlty needs a local inventory but how do I define both?
    4) Why is it that when I changed the entry of /u02/applfind/apps/tech_st/10.1.2/oraInst.loc to:
    inventory_loc=/u02/applfind/apps/tech_st/10.1.2/oraInventory
    The /etc/oraInventory/ContentsXML/inventory.xml will not be updated?
    Thanks very much
    ChoMA

  • Reading and writing to and from a file to a form

    Hi there
    I would like somebody to send me a code example,
    showing me how to reading records from a file to a form,
    and writing records to the same file from the same form.
    I know that I have to use sycronize, but I just have not been
    successful. I can constract forms, go from form to a form,
    do buttons, do text fields. I can even read and write from and
    to files. However I cannot do is write from a file to a form and
    from a form to a file.
    could somebody please explain how this done, and could you
    please give me a code example. All the books seem to either
    deal with forms or with files. None seem to combine both.
    I am sure it is very ease to do if ONLY I knew how!!!
    thank you very much in advance for you help.

    I understand that code and I have used it before, however thanks for
    trying to help me, it is really appreciated. However, that is not my
    problem. I can read and write from a file to the console and vice versa.
    what I cannot do, no matter how hard I try, is to write from a file, and
    output it in.
    I will tell you how far I have got.
    I have a MenuFrame class, this is the code for it:
    package WorkflowApp;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class MenuFrame extends JFrame {
    JMenuBar menuBar1 = new JMenuBar();
    JMenu menuFile = new JMenu();
    JMenuItem menuFileExit = new JMenuItem();
    JMenu menuHelp = new JMenu();
    JMenuItem menuHelpAbout = new JMenuItem();
    JToolBar toolBar = new JToolBar();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    JButton jButton3 = new JButton();
    ImageIcon image1;
    ImageIcon image2;
    ImageIcon image3;
    JLabel statusBar = new JLabel();
    Button button2 = new Button();
    Button button3 = new Button();
    Button button4 = new Button();
    Button button5 = new Button();
    Button button6 = new Button();
    Button button7 = new Button();
    Button button1 = new Button();
    //Construct the frame
    public MenuFrame() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    image1 = new ImageIcon(WorkflowApp.MenuFrame.class.getResource("openFile.gif"));
    image2 = new ImageIcon(WorkflowApp.MenuFrame.class.getResource("closeFile.gif"));
    image3 = new ImageIcon(WorkflowApp.MenuFrame.class.getResource("help.gif"));
    this.getContentPane().setLayout(null);
    this.setSize(new Dimension(400, 492));
    this.setTitle("MenuFrame");
    statusBar.setText(" ");
    statusBar.setBounds(new Rectangle(0, 0, 3, 17));
    menuFile.setText("File");
    menuFileExit.setText("Exit");
    menuFileExit.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    fileExit_actionPerformed(e);
    menuHelp.setText("Help");
    menuHelpAbout.setText("About");
    menuHelpAbout.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    helpAbout_actionPerformed(e);
    jButton1.setIcon(image1);
    jButton1.setToolTipText("Open File");
    jButton2.setIcon(image2);
    jButton2.setToolTipText("Close File");
    jButton3.setIcon(image3);
    jButton3.setToolTipText("Help");
    toolBar.setBorder(null);
    toolBar.setBounds(new Rectangle(2, 2, 389, 30));
    button2.setBounds(new Rectangle(217, 62, 135, 44));
    button2.setLabel("Staff Details");
    button2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    button2_actionPerformed(e);
    button3.setBounds(new Rectangle(26, 127, 135, 44));
    button3.setLabel("Arange Viewing");
    button3.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    button3_actionPerformed(e);
    button4.setBounds(new Rectangle(218, 127, 136, 41));
    button4.setLabel("Valuation");
    button4.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    button4_actionPerformed(e);
    button5.setBounds(new Rectangle(28, 196, 135, 41));
    button5.setLabel("Schedule");
    button6.setBounds(new Rectangle(221, 194, 133, 40));
    button6.setName("button6");
    button6.setLabel("Register Interest");
    button7.setBounds(new Rectangle(31, 266, 133, 42));
    button7.setLabel("Register Offers");
    button1.setBounds(new Rectangle(27, 62, 131, 42));
    button1.setLabel("New Client");
    button1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    button1_actionPerformed(e);
    menuFile.add(menuFileExit);
    menuHelp.add(menuHelpAbout);
    menuBar1.add(menuFile);
    menuBar1.add(menuHelp);
    this.setJMenuBar(menuBar1);
    this.getContentPane().add(statusBar, null);
    this.getContentPane().add(toolBar, null);
    toolBar.add(jButton1);
    toolBar.add(jButton2, null);
    toolBar.add(jButton3, null);
    this.getContentPane().add(button3, null);
    this.getContentPane().add(button5, null);
    this.getContentPane().add(button7, null);
    this.getContentPane().add(button2, null);
    this.getContentPane().add(button4, null);
    this.getContentPane().add(button6, null);
    this.getContentPane().add(button1, null);
    //File | Exit action performed
    public void fileExit_actionPerformed(ActionEvent e) {
    System.exit(0);
    //Help | About action performed
    public void helpAbout_actionPerformed(ActionEvent e) {
    MenuFrame_AboutBox dlg = new MenuFrame_AboutBox(this);
    Dimension dlgSize = dlg.getPreferredSize();
    Dimension frmSize = getSize();
    Point loc = getLocation();
    dlg.setLocation((frmSize.width - dlgSize.width) / 2 + loc.x, (frmSize.height - dlgSize.height) / 2 + loc.y);
    dlg.setModal(true);
    dlg.show();
    //Overridden so we can exit on System Close
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if(e.getID() == WindowEvent.WINDOW_CLOSING) {
    fileExit_actionPerformed(null);
    void button2_actionPerformed(ActionEvent e) {
    StaffDetails myFrame = new StaffDetails();
    myFrame.show();
    void button3_actionPerformed(ActionEvent e) {
    ArrangeViewing myFrame = new ArrangeViewing();
    myFrame.show();
    void button1_actionPerformed(ActionEvent e) {
    NewClientFrame myFrame = new NewClientFrame();
    myFrame.show();
    // System.exit(1);
    void button4_actionPerformed(ActionEvent e) {
    Valuation myFrame = new Valuation();
    myFrame.show();
    then I have a new form class, this is the code for it
    package WorkflowApp;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class NewClientFrame extends JFrame {
    Label label1 = new Label();
    Label label2 = new Label();
    Label label3 = new Label();
    Label label4 = new Label();
    Label label5 = new Label();
    Label label6 = new Label();
    Label label7 = new Label();
    Label label8 = new Label();
    Label label9 = new Label();
    Label label10 = new Label();
    TextField textField1 = new TextField();
    TextField textField2 = new TextField();
    TextField textField3 = new TextField();
    TextField textField4 = new TextField();
    TextField textField5 = new TextField();
    TextField textField6 = new TextField();
    TextField textField7 = new TextField();
    TextField textField8 = new TextField();
    TextField textField9 = new TextField();
    TextField textField10 = new TextField();
    Button button1 = new Button();
    Button button2 = new Button();
    //Construct the frame
    public NewClientFrame() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    this.getContentPane().setLayout(null);
    this.setSize(new Dimension(411, 488));
    this.setTitle("NewClientFrame ");
    this.addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    this_windowClosing(e);
    label1.setBounds(new Rectangle(21, 23, 110, 23));
    label1.setAlignment(2);
    label1.setText("Assign Number");
    label2.setBounds(new Rectangle(23, 57, 108, 25));
    label2.setAlignment(2);
    label2.setText("Name");
    label3.setBounds(new Rectangle(40, 91, 94, 24));
    label3.setAlignment(2);
    label3.setText("Address 1");
    label4.setBounds(new Rectangle(21, 124, 112, 29));
    label4.setAlignment(2);
    label4.setText("Address 2");
    label5.setBounds(new Rectangle(20, 159, 116, 29));
    label5.setAlignment(2);
    label5.setText("PoscCode");
    label6.setBounds(new Rectangle(18, 197, 119, 26));
    label6.setAlignment(2);
    label6.setText("Telephone");
    label7.setBounds(new Rectangle(25, 228, 112, 26));
    label7.setAlignment(2);
    label7.setText("Other Telephone");
    label8.setBounds(new Rectangle(12, 261, 125, 24));
    label8.setAlignment(2);
    label8.setText("Email Address");
    label9.setBounds(new Rectangle(6, 301, 138, 25));
    label9.setAlignment(2);
    label9.setText("Staff Assigned (Name)");
    label10.setBounds(new Rectangle(22, 341, 124, 23));
    label10.setAlignment(2);
    label10.setText("Staff Assigned (No.)");
    textField1.setBounds(new Rectangle(155, 19, 80, 26));
    textField2.setBounds(new Rectangle(155, 58, 193, 24));
    textField3.setBounds(new Rectangle(156, 90, 192, 25));
    textField4.setBounds(new Rectangle(157, 126, 192, 23));
    textField5.setBounds(new Rectangle(157, 159, 195, 25));
    textField6.setBounds(new Rectangle(157, 194, 195, 26));
    textField7.setBounds(new Rectangle(157, 230, 192, 24));
    textField8.setBounds(new Rectangle(157, 263, 193, 25));
    textField9.setBounds(new Rectangle(157, 303, 196, 24));
    textField10.setBounds(new Rectangle(158, 337, 95, 24));
    button1.setBounds(new Rectangle(23, 398, 144, 34));
    button1.setLabel("Staff Available");
    button2.setBounds(new Rectangle(211, 396, 148, 34));
    button2.setLabel("Submit Record");
    button2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    button2_actionPerformed(e);
    this.getContentPane().add(label1, null);
    this.getContentPane().add(label2, null);
    this.getContentPane().add(label3, null);
    this.getContentPane().add(label4, null);
    this.getContentPane().add(label5, null);
    this.getContentPane().add(label6, null);
    this.getContentPane().add(label7, null);
    this.getContentPane().add(label8, null);
    this.getContentPane().add(label9, null);
    this.getContentPane().add(label10, null);
    this.getContentPane().add(textField1, null);
    this.getContentPane().add(textField2, null);
    this.getContentPane().add(textField3, null);
    this.getContentPane().add(textField4, null);
    this.getContentPane().add(textField5, null);
    this.getContentPane().add(textField6, null);
    this.getContentPane().add(textField7, null);
    this.getContentPane().add(textField8, null);
    this.getContentPane().add(textField9, null);
    this.getContentPane().add(textField10, null);
    this.getContentPane().add(button1, null);
    this.getContentPane().add(button2, null);
    public void fileExit_actionPerformed(ActionEvent e) {
    System.exit(0);
    // exit(this);
    // close();
    //Overridden so we can exit on System Close
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if(e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void button2_actionPerformed(ActionEvent e) {
    // myFrame.close();
    this.dispose();
    void this_windowClosing(WindowEvent e) {
    this.dispose();
    I also have an about box, staff details, and valuation forms.
    what I am trying to do is for the New client form to be able to read and write from and to a file, and display the info.
    I am working in JBuilder3, a bit out of date I know, but it is the best I can do. Any Ideas how to do this.

  • ASM Instance down in Solaris due to missing ocr.loc file

    We had to restart our solaris machine due to a hardware failure.
    When i tried to start to ASM instance, i got the error.
    SQL> startup mount;
    ORA-29701: unable to connect to Cluster Manager
    The css daemons were not started. I checked it using
    $ ps -ef | grep css
    After logging in as ROOT and setting Oracle's bin directory in its path, i tried to run
    #./localconfig . But i didn't succeed.
    Then I came to know that you can start css by executing init.cssd script in ($ORACLE_HOME/css/admin)
    /u01/oracle/10g/css/admin
    $ ./init.cssd start
    ./init.cssd: /var/opt/oracle/ocr.loc: cannot open
    There is no such file called ocr.loc in this location. I confirmed it by
    So I looked for /var/opt/oracle/ocr.loc
    $ file /var/opt/oracle/ocr.loc
    /var/opt/oracle/ocr.loc: cannot open: No such file or directory
    What do i do?

    Boutet,
    Before you go ahead and restore the OCR, for that matter even to restore it successfully, you would need to restore/recreate the file /var/opt/oracle/ocr.loc. This file has the location of the OCR file, without this file, you will not be able to restore the OCR.
    The contents of the ocr.loc file would be something like this (I am including this information so that you may like to use it to recreate the file, in case you lost the original one).
    cat /etc/oracle/ocr.loc
    ocrconfig_loc=/<path>/cdata/localhost/local.ocr
    local_only=TRUE
    Hope this help.
    Thanks
    Chandra Pabba

  • Invalid oraInst.loc

    Hi,
    While applying ORACLE server patch using opatch i receieved an error that, oraInst.loc cannot be found in /etc. (i am on AIX 6.1, R12.1.1). So i copied oraInst.loc from $INST_TOP/admin/ to /etc/. then it complained that the ORACLE_HOME is not registered, but the applications is running fine.
    To my surprise oraInst.loc points to inventory_loc=/data1/R12/oraInventory but this mounts are'nt on my server. And also in each $ORACLE_HOME/oraInst.loc the inventory_loc is pointing to the same above wrong location. More over in $INST_TOP/admin/oraInventory there is no folder like ContentsXML. So to recreate it can i use the note
    How to Create a Clean oraInventory in Release 12 [ID 834894.1].
    The reason why i am asking this is, it is taking me to $ORACLE_HOME/appsutil/clone but it is not a clone instance (a freshly installed). If yes does it mean a fresh install also does clone.
    More over, how can i make sure that the local inventory is intact, as metalink docs says if local inventory is missing or corrupted then i need to reinstall techstack.
    Regards
    Taher

    Taher,
    The reason why i am asking this is, it is taking me to $ORACLE_HOME/appsutil/clone but it is not a clone instance (a freshly installed). If yes does it mean a fresh install also does clone.Do you mean to ask if the fresh installation comes with a clone directory? If yes, then I think it is you (or this clone directory is created with you run preclone).
    More over, how can i make sure that the local inventory is intact, as metalink docs says if local inventory is missing or corrupted then i need to reinstall techstack.Please see the solution section in (Note: 316251.1).
    Thanks,
    Hussein

  • Oratab and host

    hi,
    pls explain the diff between /etc/oratab and /etc/hosts with their usage
    thanks

    oratab :created by Oracle in the /etc or /var/opt/oracle directory when installing database software
    used to list the databases and software versions installed on a server.
    hosts : a computer file used in an operating system to map hostnames to IP addresses
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding

  • Dbca failure (9i install, Solaris64):cant find oratab, and ORA-27102 out of memory

    Trying to install 9i Enterprise Edition on Solaris 9 (64 bit), get two messages during running Database Configuration Assistant:
    "/var/opt/oracle/oratab file not found"
    followed later by
    "ORA-27102 out of memory"
    1. I searched the entire system (all drives, directories) but no such file oratab.
    2. ?
    What to do?
    Thanks,
    Joe

    Yes, the missing oratab problem was solved by running root.sh
    Had been missed on first install attempt.
    Thanks for your help!
    Hi,
    i think is some problem with installation coz oratab is a file created by root.sh and updated by the Database Configuration Assistant when creating
    a database.so you required oratab in /var/opt/oracle in solaris as database configure assistance lookup there for oratab.
    either copy this file from somewhere and try or try to reinstall.
    reply me the following question:
    1)which user and group you use to install oracle
    2)check is root.sh avilable in your $ORACLE_HOME or/and in $ORACLE_HOME/install/util.
    Yogi
    [email protected]

  • To upload a RTF and a PDF file to SAP R/3 and print the same through SAP

    Hi,
    I have a requirement to upload a PDF file and a RTF file to SAP R/3 and print the same.
    I wrote the following code for uploading a RTF file to SAP R/3 and print the same. However, the problem is , the formatting present in the RTF document( bold/italics..etc) is not being reflected when I do the 'print-preview' after the executing the code below :
    report z_test_upload .
    data: begin of itab occurs 0,
             rec type string,
          end of itab.
    data: options like itcpo.
    data: filename type string,
          count type i.
    data: filetype(10) type c value 'ASC'.
    DATA: HEADER  LIKE THEAD    OCCURS   0 WITH HEADER LINE.
    DATA: NEWHEADER  LIKE THEAD    OCCURS   0 WITH HEADER LINE.
    DATA: ITFLINE LIKE TLINE    OCCURS   0 WITH HEADER LINE.
    DATA: RTFLINE LIKE HELP_STFA OCCURS   0 WITH HEADER LINE.
    DATA:   string_len TYPE i,
            n1 TYPE i.
    selection-screen begin of block b1.
      parameter: p_file1(128) default 'C:\test_itf.rtf'.
    selection-screen end of block b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      CALL FUNCTION 'F4_FILENAME'
           IMPORTING
                file_name = p_file1.
    start-of-selection.
    move p_file1 to filename.
    call function 'GUI_UPLOAD'
         EXPORTING
              filename                = filename
              filetype                = filetype
         TABLES
              data_tab                = itab
         EXCEPTIONS
              file_open_error         = 1
              file_read_error         = 2
              no_batch                = 3
              gui_refuse_filetransfer = 4
              invalid_type            = 5
              no_authority            = 6
              unknown_error           = 7
              bad_data_format         = 8
              header_not_allowed      = 9
              separator_not_allowed   = 10
              header_too_long         = 11
              unknown_dp_error        = 12
              access_denied           = 13
              dp_out_of_memory        = 14
              disk_full               = 15
              dp_timeout              = 16
              others                  = 17.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    loop at itab.
      string_len = strlen( itab-rec ).
      n1 = string_len DIV 134.
      ADD 1 TO n1.
      DO n1 TIMES.
        rtfline-line = itab-rec.
        APPEND rtfline.
        SHIFT itab-rec BY 134 PLACES.
      ENDDO.
    endloop.
    HEADER-TDSTYLE = 'S_DOCUS1'.
    HEADER-TDFORM = 'S_DOCU_SHOW'.
    header-tdspras = 'E'.
    CALL FUNCTION 'CONVERT_TEXT'
      EXPORTING
      CODEPAGE               = '0000'
        DIRECTION              = 'IMPORT'
        FORMAT_TYPE            = 'RTF'
       FORMATWIDTH            = 72
        HEADER                 = header
        SSHEET                 = 'WINHELP.DOT'
        WITH_TAB               = 'X'
        WORD_LANGU             = SY-LANGU
        TABLETYPE              = 'ASC'
      TAB_SUBSTITUTE         = 'X09  '
      LF_SUBSTITUTE          = ' '
      REPLACE_SYMBOLS        = 'X'
      REPLACE_SAPCHARS       = 'X'
      MASK_BRACKETS          = 'X'
      IMPORTING
        NEWHEADER              = NEWHEADER
      WITH_TAB_E             =
      FORMATWIDTH_E          =
      TABLES
        FOREIGN                = RTFLINE
        ITF_LINES              = ITFLINE.
      LINKS_TO_CONVERT       =
    if sy-subrc <> 0.
    endif.
    CALL FUNCTION 'PRINT_TEXT_ITF'
      EXPORTING
         HEADER        = newheader
         OPTIONS       = options
    IMPORTING
      RESULT        =
      TABLES
        LINES         = itfline.
    if sy-subrc <> 0.
    endif.
    Any hints or suggestions to solve this problem will be highly appreciated.
    Thanks,
    Avra

    Hi Vishwas,
    Check out the thread [Efficient way of saving documents uploaded|Re: Efficient way of saving documents uploaded by users; and check the blog by Raja Thangamani.
    Also check the thread [Export Images through Function Modules   |Export Images through Function Modules;.
    Hope it helps you.

  • Data Recover From Formatted Drive? What is the best program to use to get back Logic Projects and any other file type?

    I was in the process of reorganising my hard drives so I could RAID them however I managed to corrupt one drive and had to format it which meant I lost all my Logic Files and some other files. I managed to save a lot of files (mainly video files) before I had to format the drive but I need a Data Recovery service that will not alter anything on the hard drive and will put all the formatted files (regardless of the type) back for me so I can get the rest of the ones I need.
    Thanks in advance.

    What about folders and such?
    No. FS doesn't reconstruct folders. However, Data Rescue does, depending on how you use it. About the only thing in Data Rescue a Quick Scan ever seems to show you are files that are already live.
    So that leaves you with a Deep Scan, or a Deleted Files scan. The first pass of a Deep Scan will attempt to retrieve folders and files, along with their original names. The second pass only looks for file patterns. Like recognizing a Photoshop .psd file. It will recover it, but give it a nonsense name. A Deleted Files scan only results in nonsense names of recognized file types; no folders.
    What were you using File Salvage on? A hard drive?
    Yes, though you can use it on a flash drive, or any other mounted drive.
    At the moment it is estimating 289 hours remaining on a 1TB drive. Can it not go faster?
    No, both of the software mentioned are slower than molasses in January. When you delete anything in Windows, its file table entry simply tagged as deleted. So to unerase them, the tag is removed. That's why it works to quickly and easily (assuming you haven't already overwritten the data to be recovered).
    In OS X though, the whole idea of the underlying UNIX structure is all about security. It's not supposed to be easy to retrieve deleted items. When you delete items, their file table entries are erased. So the only way to find deleted items is to scour the entire drive for BOF (Beginning Of File) markers that don't have a matching starting block to anything that is in the file table.
    Another question, half the drive was empty. Will it fly over that empty space or will it sieve through it incase there was some files stored on it?
    If you use the Expert mode is FS, you can choose to do that:

  • How do I get iTunes on a new computer to recognize and use my files on the local drive?  My music files on iCloud have been recognized.

    My old computer failed.  All files, including iTunes were backed up on a separate drive.  All files have been loaded on the new computer.  iTunes was reloaded, and recognizes all files on iCloud, but does not link to the files on the computer.  How can I re-establish that linkage?

    Hello jzinser,
    I am not sure on how you reset up your iTunes library on your new computer. If you copied the music by dragging on top of iTunes, then the media would have been put into the proper location. If you have the media copied to your computer and have not established in iTunes where it sits, then you will need to do that within the preferences in iTunes. Take a look at the articles below for more information to help sort this out. 
    iTunes for Windows: Moving your iTunes Media folder
    http://support.apple.com/en-us/HT201543
    Locate and organize your iTunes files
    http://support.apple.com/en-us/ht1391
    Regards,
    -Norm G. 

  • How to Edit and Replace Psd Files in Adobe Flash - Help!

    Hi Everyone,
    I am new to flash and I am trying to build my first flash site using a flash template. I can use flash to edit certain components like header text, etc. But The content is impossible for me to change. I think that these are psd files, which I can open with gimp or another program and edit. I save and replace that file, but when I view movie again, the content is the same. I guess what I need to know is how to get these files back into my flash movie after I have edited them. Please help, I am no computer expert, but I am learning. A how to for dummies answer would be awesome.

    Maybe You should try the Flash-forum:
    http://forums.adobe.com/community/flash

  • Image Capture downloads pictures and creates .aae file

    Using Image Capture 6.6 to download pictures from my iPhone 5S to Macbook Air w/ OSX Yosemite.
    When I go to the folder where I download the files on my computer, it shows a .JPG file and an .AAE file.
    I cannot find preferences for Image Capture to turn the additional download off.
    It is doubling file size storage on my computer as each picture has a .JPG @ 600KB and an .AAE @ 600K
    I have bulk deleted the .AAE files using Spotlight and searching the file type, but do not wish to continue doing this if there is way to turn this off.

    stevencallan wrote:
    However, upgrading the camera to a newer Logitech device (Pro 9000, and the dropping of explicit support from Logitech with twain a while back), a "Select source" dialog window appears, with nothing in >the source list (so basically a blank text box with only the Cancel button active). Using a properties file works for other parameters (jdbc data source, logging, file name for the image), but kind of drawing a >blank on the data source for the camera.This is why I'm reluctant to upgrade software (imaginee frowney emoticon here; for those who still doubt wait until the next OTN site upgrade for another example). Stuff sometimes doesn't work any more when you do (imagine another frowny emoticon)
    Until a better idea comes along use a card-reader to put the files into a folder, then load them into Apex as a second step. This is not as conveneint as loading directly from the camera, but if the interface won't work you'll have to do somethiing else.
    I don't have immediate access to Apex - can you load off a card-reader instead of the camera by specifying the drive to load the files from?
    It sounds like more of a Windows problem than Apex. Have you tried browser searches on Logitech and Twain to see if anyone has encountered similar problems?

  • When I go to my downloads folder on my dock and click the file all the content shows up but as soon as I go to open it in the finder, I get a blank window. Has anyone else had this problem, if so, How do you fix it.

    When I go to my downloads folder on my dock and click the file all the content shows up but as soon as I go to open it in the finder, I get a blank window. Has anyone else had this problem, if so, How do you fix it. I also cant delete anything from this folder because of it. Any help would be greatly appreciated.

    Hey Allen,
    I am having the same issue here in September.  How did yor situation get resolved.  My iPad Siri works great.  My iPhone 5 Siri has been out of comission (OOC) for almost a month and I am beginning to get a little frustrated since Siri works so well in July....ANY assistance would be highly appreciated... Thanx

  • I have recently updated my CC programs to the latest version and now all of my files wont open by default into their respective programs, only if I open the program and go to file open and open the file from there. How can I fix this?

    I have recently updated my CC programs to the latest version (CC2014) and now all of my files wont open by default into their respective programs, only if I open the program and go to file>open and open the file from there. How can I fix this?
    I have tried 'Open with' and the version of the program now installed on my computer isn't even suggested as an option and when I browse for it, the file wont open with it anyway

    On Windows (don't know about Mac), the latest version will always take over the file association, and become the default for indd files. It's impossible to change it.
    But there is a plugin for ID that makes this possible. Never tried it myself.
    https://www.rorohiko.com/wordpress/downloads/lightning-brain-soxy/

Maybe you are looking for