Can't change /etc/oratab file or automatic startup problem on linux!!!

Hi friends,
I have installed an Oracle 11.2.0.1 on Oracle Linux Server 5.11(Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
I have following users and groups as
[grid@orcl11g ~]$ id grid
   uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
[grid@orcl11g ~]$ id oracle11g
   uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
When I log on as grid user. I check the followings:
[grid@orcl11g ~]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[grid@orcl11g ~]$ srvctl status database -d ora11g
Database is running.
[grid@orcl11g ~]$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> select status from v$instance;
STATUS
STARTED
When I log as  oracle user. I check the followings:
[oracle11g@orcl11g ~]$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter password:
Connected to an idle instance.
SQL> select status from v$instance;
STATUS
OPEN
Till here everything is OK!!!!
When I edit /etc/oratab file; change N to Y for +ASM and restart the system, then it seems value N is not changed to Y. But changed for database as shown below.
     +ASM:/u01/app/grid/product/11.2.0/grid:N   # line added by Agent
     ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
QUESTIONS!!!!!
1. When I edit /etc/oratab file manually why second row saved (changed N to Y manually) but the first row become unsaved (although changed N to Y) again after restarting the system?
2. After restarting the system database and ASM started automatically, although the line is not changed to Y above (in oratab file) for ASM. What is the reason and how can I change to Y? Or if I have to change the N to Y or not?
3. Is it enough to edit N to Y in oratab file for ASM and database to start ASM and database automatically? I think there will be some other scripts have to be created in /etc/init.d/ directory for automatic startup.
PLEASE HELP ME TO UNDERSTAND THIS PROBLEM CLEARLY!!!!
Thanks!!!
Message was edited by: DBA_84

Thanks for reply ZeDBA,
I don't want to prevent auto starting. As 2769577 stated above that
    "...You may not need to edit in oratab since it's automatically taken care by HAS in 11g..."
It is meaningful and perhaps it is the exact reason or solution.
Question is that, why I can't edit oratab file manually for ASM row? ' Not need ' and ' can't ' is different!!
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
# Multiple entries with the same $ORACLE_SID are not allowed.
+ASM:/u01/app/grid/product/11.2.0/grhome_1:N        # line added by Agent
ora11g:/u01/app/oracle11g/product/11.2.0/dbhome_1:Y
If we assume the 2769577's answer is exactly correct, reason or solution. Then it means that the row "..
+ASM:/u01/app/grid/product/11.2.0/grhome_1:N  
# line added by Agent
in oratab file is meaningless and unnecessary if HAS process enabled and automatically start the ASM.
Please clarify it, If I am wrong?
Thanks!!!

Similar Messages

  • I have recently moved all of my files to a larger external hard drive, but when I am reminder of an itunes upgrade it's still attempting to go to the old drive.  How can I change the settings so it automatically goes to my new hard drive?

    I have recently moved all of my files to a larger external hard drive, but when I am reminder of an itunes upgrade it's still attempting to go to the old drive.  How can I change the settings so it automatically goes to my new hard drive?

    lisacooney wrote:
    I have recently moved all of my files to a larger external hard drive
    How did you move these files?

  • :-)  How can we change the default file path for Bank file ( dmee ) ?

    Hi All,
    We encounter a problem.
    Electronic bank file ( created after a F110 run ) are created, in an automatic way to the DIR_TEMP directory. ( On the SAP server )
    How can we change the default file path for Bank files ( dmee ) ?
    We'd like to specify another path.
    Thx for your help.
    Erwan

    Hello,
    Make sure that you have created the directory in transaction code AL11 with the help of basis consultants.
    You can link your PC directory to the application server.
    You can maintain the path whether your file needs to get saved in OBPM4 against your DMEE structure example GB_BACS etc.
    If you do not maintain any path in OBPM4, then the file gets saved to temporary directory. If you give the directory path name in OBPM4, then the file gets saved to that directory with numbers 0001, 0002, 0003 etc till it reaches 9999 and reset from the beginning.
    If you give the path as well as file name as ABCD, then the file gets generated to that directory folder with ABCD0001, ABCD0002, ABCD0003 etc. till it reaches ABCD9999 and reset from the beginning.
    Hope this solves your problem.
    Regards,
    Ravi

  • /etc/oratab file edited

    Dear Team ,
    I want to connect my Linux ( Orace DB 11g) to Symantech Backup 2012 . but the agent not connect the reason is below
    ""suggested you to get assistance from the Oracle DBA to get the /etc/oratab file edited as it is not having any entry of the Oracle Instance. ""
    As A DBA what i have to do how I can get /etc/oratab file edited ( waht the steps ??!)
    second it will not affect my current isntance -:(
    Thanks
    Abu shahd

    1005531 wrote:
    Dear Team ,
    I want to connect my Linux ( Orace DB 11g) to Symantech Backup 2012 . but the agent not connect the reason is below
    ""suggested you to get assistance from the Oracle DBA to get the /etc/oratab file edited as it is not having any entry of the Oracle Instance. ""
    As A DBA what i have to do how I can get /etc/oratab file edited ( waht the steps ??!)
    second it will not affect my current isntance -:(
    Thanks
    Abu shahdHi,
    Really I dont know what editing Symantech Backup 2012 in oratab.
    As you know, oratab file may contain comments staring with a pound signs (#) in column one,
    and data lines consisting of entries in the following format:
    for example : admdb:/u01/app/oracle/product/11.2.0/dbhome:N
    Oracle's "dbstart" and "dbshut" scripts use this file to figure out which instances are to be start up or shut down
    (using the third field, Y or N).
    I think Symantech Backup 2012 editing only this sentence N to Y for database.
    It is not problem for your instance.
    Regards
    Mahir M. Quluzade

  • How can I change a .band file created in GarageBand to an .mp3 file?

    How can I change a .band file created in GarageBand to an .mp3 file?

    Dorsey Hudson wrote:
    My GarageBand didn't work exactly as you suggested.
    my apologies, i dropped the word "then."
    for future readers:
    "use the Share menu, then tick the Compress checkBox..."

  • How can i change a pdf file type to another file type

    how can i change a pdf file type to another file type

    You can copy the contents and paste it into a Word file. Just don't expect everything to transfer or to retain all of the formatting.

  • Can I change the default 'File Type' for PL/SQL Source File to '*.prc' ?

    Want to change the 'default' extension for PL/SQL source to '*.prc'
    When navigating 'File' / 'Save As', and selecting the 'File Type' list box,
    The default 'File Type' for PL/SQL Source File is '*.pls'.
    Can I change the default 'File Type' for PL/SQL Source File to '*.prc' ?
    I have followed , 'Tools', 'Preferences' , 'File Types' and added '.prc' as 'Sql Script' file type, because (PL/SQL Source) is not present in the list.

    You can certainly overwrite the 'Save As' extension as you are saving the file. I have added an ER for more control over this functionality.
    sue

  • Can I change fonts on files/folders ?

    can I change fonts on files & folders instead of default fonts ?

    You cant change the font BUT you can change the boring folder image by copying and pasting in the folders 'info'. That is, if you were looking for a way to personalise your mac :-)

  • How can I edit /etc/mnttab file of a running Solaris 10 Machine?

    Hi All,
    How can I edit /etc/mnttab file of a running Solaris 10 Machine?
    Any ideas, solution, suggestions.
    Regards,
    Rahul.

    Hello Roach,
    First, thanks for your quick response.
    I am using a Solaris 10 (Sparc ) machine , I want to make sure that no set uid programs get executed in /tmp partition.
    Currently I am modifying the value in /etc/vfstab to and adding the value in Mount Options as nosetuid, and restarting the system as a result when the system is rebooted the /etc/mnttab entry is populated accordingly and setuid programs are not executed in /tmp partition.
    But I want to avoid the reboot.
    I am planning to update the /etc/vfstab as well as /etc/mnttab file directly so that the reboot can be avoided.
    I found some function related to /etc/mnttab i.e
    (i)getmntent
    (ii)resetmnttab
    I will go into more details about it now
    Regards,
    Rahul.

  • Sapcar returns error "can't change date of file"

    I am preparing to apply SPS12 to my ERP6.0 system.
    when I run sapcar -xvf "*.?ar", I get the following error:
    "can't change date of file EPS/in/CSN01120061532_0026976.ATT
    invalid argument."
    note: I am using the latest sapcar version 7.00 running under the local&domain admin account.
    Did anyone run into this problem before?

    We have the same error
    processing archive /sapcd/sap/ECC6/JCE_Policy_Files/90000115.CAR...
    x Changelog.txt
    can't change date of file Changelog.txt
    Invalid argument
    How did you fix it ?
    Regards,
    Madhan

  • Can we change the default file format 'BIN' of system to 'ASC' using table

    can we change the default file format u2018BINu2019 of system to u2018ASCu2019 using table TSOPE
    if possible:will it affect any system performance

    Hello Vincent,
    BIN(Binary) is default selection.and so we have to select ascii.to make myself more clear my queries is like:
    first for setting ascii what we need to enter in text box that is against ASCII.and
    secondly if we select ASCII will it affect system performance in anyways.

  • Can I change a PDF file to a pages file?

    Can I change a PDF file to a pages file?

    You can extract the text In Preview .app from a PDF file and Copy/Paste it into Pages.
    Acrobat Pro can convert a .pdf into a Word .doc which you can then open in Pages, but it is quite a slow process, depending how large the .pdf is.
    PDFs are not necessarily composed of text and images, they may only be images and any text they have is not actually freeflowing text. It takes a degree of programming trickery to work out what text fits where, especially if it is columns. You need to review it after to check it is what you expected.
    If all you want is to see the pdf/s in Pages just drag it in, it is just an image. If it has multiple pages, then open it in Preview and copy over the thumbnails.
    Peter

  • I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion

    I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion and on both my MacPro and my wife's Imac. I also see my mailboxes randomly disconnecting and reconnecting. Any other ideas of a possible cause?

    I solved it myself, after the "note" which came back from FF/Mozilla just as I finished my message, commenting on what it was that my system had , I wnnt back to check my plug-ins etc. I downloaded the latest Java, BOTH 32bit AND 64 bit versions and latest Firefox.
    Now all is working.
    Thanks,
    B.

  • Can't Change Drobo-FS File Permissions

    Hi
    About a week ago I bought a Drobo-FS and moved my rather large iTunes Library to it. The problem now is my file permissions on the iTunes folder. It says I have "Custom" access and won't let me change anything. Consequently I am having trouble backing up files.
    I am using Lion on a relatively new iMac and Drobo-FS is connected via ethernet through my Time Machine.
    Can anyone tell me how to correct this? I am not very knowledgeable on this subject so any advice please treat me as if I was a 10 year old.
    Thanks
    Herbert

    Thanks for reply ZeDBA,
    I don't want to prevent auto starting. As 2769577 stated above that
        "...You may not need to edit in oratab since it's automatically taken care by HAS in 11g..."
    It is meaningful and perhaps it is the exact reason or solution.
    Question is that, why I can't edit oratab file manually for ASM row? ' Not need ' and ' can't ' is different!!
    # The first and second fields are the system identifier and home
    # directory of the database respectively.  The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    +ASM:/u01/app/grid/product/11.2.0/grhome_1:N        # line added by Agent
    ora11g:/u01/app/oracle11g/product/11.2.0/dbhome_1:Y
    If we assume the 2769577's answer is exactly correct, reason or solution. Then it means that the row "..
    +ASM:/u01/app/grid/product/11.2.0/grhome_1:N  
    # line added by Agent
    in oratab file is meaningless and unnecessary if HAS process enabled and automatically start the ASM.
    Please clarify it, If I am wrong?
    Thanks!!!

  • Converting Video to iPod, can you change name of file

    When you convert Video to iPod format, can you change name of the new file or put some "marker" so one can tell which is the orginal and which is the new file?
    Currently it is difficult to tell between the orignal and the new file.
    thanks in advance
    Rohit

    You'd probably be better off doing this sort of editing in iTunes, and letting it move the files appropriately.
    Go to the preferences, Advanced tab, and check the box to 'Keep iTune Music folder organized'. Then any changes you make to song names or other info (within iTunes) will automatically be applied.

Maybe you are looking for