Automating Shutdown and Startup with 11.1.0 over AIX 5.3

Dear Forums,
I follow the steps suggested in Oracle® Database Administrator’s Reference 11g Release 1 (11.1) for Linux and UNIX-Based Operating Systems B32009-06 April 2009.
But when I built the dbora script and I'm going to built the link, I found that the directory /etc/dbora /etc/rc.d/rc0.d does not exist in AIX 5.3. So could make no sense to build the link
# ln -s /etc/dbora /etc/rc.d/rc0.d/K01dbora
The other link could be built because the rc2.d directory exists. In fact when I list the directory /etc/rc.d I found:
# pwd
/etc/rc.d
# ls -l
total 8
drwxr-xr-x 2 root system 256 Nov 04 2008 init.d
-r-xr--r-- 1 root system 1614 Apr 10 2007 rc
drwxr-xr-x 2 root system 256 Jun 17 13:24 rc2.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc3.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc4.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc5.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc6.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc7.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc8.d
drwxr-xr-x 2 root system 256 Nov 04 2008 rc9.d
The question is if I need to create the rc0.d directory under /etc/rc.d directory and after created the link suggested, or if the refrence manual has a mistake for AIX.
What do I do?
Best regards,
Jose Guillen

Pl have your AIX SysAdmin create these missing directories for you. As far as I know, the instructions in the Oracle guides are correct. Your AIX SysAdmin may have an explanation for why the directory is missing.
HTH
Srini

Similar Messages

  • Different ways to shutdown and startup instance in 10g

    I have just installed 10g on my win2003 server. There seems to be 3 different ways to shutdown / startup an instance in 10g.
    1. via SQLPLUS (how its always been) with shutdown and startup commands
    2. via the new OEM Web interface
    3. Start / Stop the NT Service for the instance
    questions:
    - Did I miss anything other methods?
    - how come OEM ask for O/S login as well as DB login, when shutdown or startup? but via SQLPLUS I only have to login using as DBA? different level of security?
    - When shutdown via either SQLPLUS or OEM, the NT service is still shown as "started"? so does this mean that the NT service is more than the oracle instance???
    Thanks
    Clo

    how come OEM ask for O/S login as well as DB loginWith SQL*Plus, you are already logged into the Operating System. There is a OS session in progress. With OEM web interface, it has to first start a OS session and then connect to Oracle using Oracle credentials supplied to actually shutdown the DB.
    the NT service is still shown as "started"? The difference between NT service started or not started (given that the database was already shutdown) will be:
    When NT service is started but the DB is shutdown, your users will get this error message:
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Enter user-name:When NT service is stopped, your users will get this error message:
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:The NT service needs to be running for you to be able to do a STARTUP or SHUTDOWN on the database. You will NOT be able to STARTUP if the NT service was not running (STARTUP will not start your NT service automatically).

  • How to check Server Shutdown and Startup History in SAP

    Hi guru's . One of the background job failed on saturday. And i want check the duration and the history when the server shutdown and startup. I can check the server startup time at ST02 t-code. But i want to check the entire history of server shut down. Please guide me through. Thanks.

    Dear Ram,
    You can see the System logs in SM21 . Background job failure can be viewed in SM37 .
    As said before go through \usr\sap\TST\DVEBMGS00\work directory and see the logs. Files like dev_disp , dev_ms ,dev_rfc.trc ,stderr1,stderr2,stderr3,stderr4 will have the log information  .  These files will have the information after the last  system start .
    Anyway if want to see the old logs before server shutdown , see the old logs in old files like dev_disp.old,dev_ms.old .
    Regards,
    Nibu

  • What is the correct order to shutdown and startup RAC system

    anyone please take a look if my order of shutdown and restart is correct.
    This is two node RAC,
    1) srvctl stop database -d db_unique_name
    2)srvctl stop nodeapps -n node1
    3)srvctl stop nodeapps -n node2
    4)srvctl stop asm -n rac1
    5)srvctl stop asm -n rac2
    6)srvctl stop listener -n rac1
    7)srvctl stop listener -n rac2
    8) crsctl stop cluster all
    when I restart RAC, use
    1)crsctl start cluster all
    2)srvctl start listener -n rac1
    3)srvctl start listener -n rac2
    4)srvctl start asm -n rac1
    5)srvctl start asm -n rac2
    6)srvctl start nodeapps -n node1
    7)srvctl start nodeapps -n node2
    8)srvctl start database -d db_unique_name

    Hi,
    1.) I would specify -o immediate. Otherwise your stop of the database can take quite a while.
    2.) Actually nothing else (except the database) needs a clean shutdown. I would simply stop the cluster than with crsctl stop cluster all.
    4.) Also note if you have Voting and OCR in ASM this step won't be successfull (since it can't stop ASM as long as the cluster is running).
    8.) Note that crsctl stop cluster will leave the OHASD running (and also some other processes, check with crsctl stat res -t -init).
    If you need to really stop everything you have to execute crsctl stop crs on each node (they are not clusterwide).
    Startup:
    CRSCTL start CLUSTER ALL should actually bring a lot of things up... but this depends also on what has been stopped (since this is recorded in the OCR).
    But at least ASM and listener should startup automatically (even if they were stopped before).
    So normally it is enough to start the database. But I would not start the database, I would startup the services (which the database services). Because this will bring up the database.
    Otherwise you might end up with a running database, but with no active services.
    Regards
    Sebastian

  • How to shutdown and startup oracle 11g R1 from dbcontrol (EM)?

    Dear All,
    I have already installed oracle 11g R1. The database is running smooth including the dbcontrol / EM.
    I have difficulty in shutdown and restart database from EM.
    How to set EM, so that I can start and shutdown the database from EM?

    Hi,
    If you are in windows, this is a very common problem.
    You can try setting the logon as batch job to the OS user from local security policy
    1.Go Control Panel, Administrative Tools.
    2. Click on Local Security Policy.
    3. Local Policies, User Rights Assignment.
    4. Double click, 'Log on as a batch job'
    Here provide username along with domain name like co.uk\foo
    Regards

  • Database 10.2.0.1 Shutdown and Startup using cronjob in Solaris 5.10

    Need to shutdown and start db @ specific time thru crontab.
    At the user home directory have a file by the name "conn_as_sys_dba_shutdown" and the permission of the file is 500 with contents
    <<<
    sqlplus ' / as sysdba ' @ /export/home/oraret/shutdown.sql
    lsnrctl stop RETAIL
    exit
    >>>
    and the shutdown.sql permission is 400 and the content in the file is
    <<<
    shutdown immediate
    exit
    >>>
    When I try to run "conn_as_sys_dba_shutdown" from the user prompt it works. But when I schedule this as cronjob as the same o/s user, it doesn't work.
    Can some body help me on this.
    Thanks
    VG

    Be more specific on 'doesn't work'.
    Probably because you need to setup the environment for where sqlplus is, ORACLE_HOME, PATH etc.
    Create a shell script with execute privilege to the owner and add -
    export ORACLE_SID=<ora_sid_of_db_you're_restarting>
    ORAENV_ASK=NO . oraenv
    ${ORACLE_HOME/bin/sqlplus ... etc
    You may also need to setup your PATH depending on which other binaries you need access to.
    You can remove the reliance on the .sql by -
    sqlplus '/ as sysdba' <<-!
    shutdown;
    <etc>
    exit;
    !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Dead hard drive-how to format and startup with new disk

    I have a 9 month old non-retina MBP. I replaced the HD with an SSD when I bought it. It seems the SSD has stopped working and I need to replace it. Grrr. I do have a Time Capsule backup that I can use, but how do I install the OS on the replacement SSD? After I have the MBP running with the new SSD, I should be able to reinstall everything else from the Time Capsule backup. I have another MBP that I can use for assistance/transferring/formatting if this will be helpful. Will Apple store Genius help me to do this? I would not be surprised that any warranty coverage may have been voided when I installed the SSD. I could use the other MBP to format the new SSD before installing it.

    Your computer has got Internet Recovery. Use it to restore your backup.
    To start in Internet Recovery, hold Command, Option (Alt) and R keys while your computer is starting. Then, open Disk Utility, choose your hard disk at the top of the sidebar, go to Erase tab and erase the disk using "Mac OS Extended (Journaled)" as format.
    Finally, close Disk Utility, plug the external disk with your backup, select the option to restore a Time Machine backup and follow its steps

  • Automated cropping and resizing with user interaction

    Dear all,
    after hours of tests with batch processing and search in the internet maybe somebody of you can help me:
    I have roughly 3000 jpgs. in one folder (all different sizes and proportions), and I need all of them cropped to a specific proportion (width:height = 4:3) and then resized to a specific size (e.g. 800 x 600px). Batch processing can do a lot, but one critical step is not possible: As soon as one picture has been loaded into PS, I need a user interaction to determine the crop area freely (size and position) before the rest of the process (cropping, resizing and saving) can run automatically again.
    For example a picture of 2000 x 1000 px: The"crop window" lets me to choose an arbitrary area concering size and position (i.e.at 20px from the left, and 10 px from the top, size 1000 x 750 px = fixed aspect ratio  - and different for each picture), then the cropped area is resized to 800 x 600px, then it is saved.(Similar to the marquee tool with fixed aspect ratio)
    The crucial act is the interaction with the "proportional cropping". If the resizing is not possible in the first step, I coudl also do this with a second batch run myself.
    If somebody can help me, I would be very glad....
    Thanks a lot,
    Elmar Hartje

    This should give you the user resize then resize to 800x600.
    var doc=activeDocument;
    if(doc.width>doc.height){
    cropFourThreeRatio(true);
    doc.resizeImage(new UnitValue(800,'px'), undefined, undefined, ResampleMethod.BICUBIC);
    }else{
    cropFourThreeRatio(false);
    doc.resizeImage(undefined, new UnitValue(800,'px'), undefined, ResampleMethod.BICUBIC);
    function cropFourThreeRatio(landscape) {
    var startRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.INCHES;
        var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble( charIDToTypeID('Top '), charIDToTypeID('#Rlt'), 0.000000 );
            desc2.putUnitDouble( charIDToTypeID('Left'), charIDToTypeID('#Rlt'), 0.000000 );
      if(landscape){
            desc2.putUnitDouble( charIDToTypeID('Btom'), charIDToTypeID('#Rlt'), 147.000000 );
            desc2.putUnitDouble( charIDToTypeID('Rght'), charIDToTypeID('#Rlt'), 195.750000 );
      }else{
       desc2.putUnitDouble( charIDToTypeID('Btom'), charIDToTypeID('#Rlt'), 127.500000 );
       desc2.putUnitDouble( charIDToTypeID('Rght'), charIDToTypeID('#Rlt'), 96.000000 );
        desc1.putObject( charIDToTypeID('T   '), charIDToTypeID('Rctn'), desc2 );
        desc1.putUnitDouble( charIDToTypeID('Angl'), charIDToTypeID('#Ang'), 0.000000 );
    if(landscape){
        desc1.putUnitDouble( charIDToTypeID('Wdth'), charIDToTypeID('#Rlt'), 288.000000 );
        desc1.putUnitDouble( charIDToTypeID('Hght'), charIDToTypeID('#Rlt'), 216.000000 );
    }else{
      desc1.putUnitDouble( charIDToTypeID('Wdth'), charIDToTypeID('#Rlt'), 216.000000 );
        desc1.putUnitDouble( charIDToTypeID('Hght'), charIDToTypeID('#Rlt'), 288.000000 );
        desc1.putUnitDouble( charIDToTypeID('Rslt'), charIDToTypeID('#Rsl'), 0.000000 );
    try{
        executeAction( charIDToTypeID('Crop'), desc1, DialogModes.ALL );
    }catch(e){app.preferences.rulerUnits = startRulerUnits;}
    app.preferences.rulerUnits = startRulerUnits;

  • Random shutdowns and startups

    My iPod has a mind of it's own. If you pick shuffle songs or choose an album, it plays a couple of songs and them shuts down (apple screen). Then it resets and will pick something to play on it's own if you wait too long. Any one else experiencing this?

    Welcome to Apple Discussions!
    Try a restore...
    Restore the iPod
    btabz

  • Tips and help with re-installing Lion over Snow Leopard

    I had MAJOR issues with my initial Lion install on my Mid-2009 MBP- so much so, that I had to wipe my hard drive and re-install Snow Leopard and all my applications. My major issues were as follows:
    1. All my files were locked out- I could open them in most cases, but I couldn't overwrite them- Lion had aded some funky permissions scheme that I didn't recognize, and my user name wasn't present on any of them. In some cases, I couldn't even open files, even though they were resident on my hard drive (and in my own user folder) before the upgrade to Lion.
    2. Apple's own Universal Binary apps wouldn't work after the upgrade. Final Cut Pro 6, in particular, came up with a message that it was a "PowerPC" app and wouldn't run- yet Shake 4.1 would run just fine!
    3. Adobe Creative Suite 3- after the upgrade, my Abode Ceative Suite 3 apps worked just fine, for about a day- that is, until I tried to correct the file permissions issue by changing permission on a few of my folders in my User folder (and electing to change permissions in the files contained therein)- at which point my Adobe apps told me that they were damaged and needed to be reinstalled. Yet after uninstaling and reinstalling the entire Creative Suite 3 times, I still would get the same message.
    My entire workflow is Adobe CS and FCS2- why chould I have to pay the upgrade costs just to use Lion? FCPX is completely brkoen for my workflow and eqipment, and Adobe can't even guarantee that CS5 works with Lion- so why does Apple insist on Lion when it's hardly even compatible with its own products?
    I really want to use Lion, but I am looking for some tips on instalation to kep these problems from happening again. I didn' have ANY of these problems with upgrading OS 10.2 through 10.6. Any help with prepping my system/files for upgrading would be helpful. Thanks!

    any new Apple kB articles
    http://support.apple.com/kb/index?page=articles
    Me, I think clone backups are more useful, and only use T.M. as secondary.
    Using Cloning as a Backup Strategy
    I'd assume that professional apps may need to be tested still; and of course check to see what you have that depends on PowerPC code and Rosetta first. That has some in a tither.
    A clone lets you still be able to boot Snow Leopard. Check out Carbon Copy, SuperDuper.

  • Automating oracle applications startup and shutdown

    can some one share as to how we can start and stop oracle application automatically in linux

    Check the following thread:
    Automating shutdown and startup procedure in oracle apps
    Re: Automating shutdown and startup procedure in oracle apps

  • [SOLVED] Run script on systemd shutdown and reboot

    Hello!
    I am trying to log uptime on shutdown and reboot with no success.
    I create the file /usr/lib/systemd/system/uptime.service:
    [Unit]
    Description=/etc/rc.local.shutdown Compatibility
    ConditionFileIsExecutable=/etc/rc.local.shutdown
    DefaultDependencies=no
    After=rc-local.service basic.target
    Before=shutdown.target
    [Service]
    Type=oneshot
    ExecStart=/etc/rc.local.shutdown
    StandardInput=tty
    RemainAfterExit=yes
    [Install]
    WantedBy=shutdown.target
    /etc/rc.local.shutdown:
    [jribeiro@arkosta ~]$ ls -l /etc/rc.local.shutdown
    -rwxr-xr-x 1 root root 107 Out 24 12:42 /etc/rc.local.shutdown
    [jribeiro@arkosta ~]$ cat /etc/rc.local.shutdown
    echo "$(date) - $(/usr/bin/uptime | sed 's/.*up \([^,]*\), .*/\1/')" >> /home/jribeiro/registo_de_uptime
    Any ideas?
    Last edited by joseribeiro (2014-10-25 19:57:59)

    I altered the uptime unit file:
    [jribeiro@arkosta ~]$ cat /usr/lib/systemd/system/uptime.service
    [Unit]
    Description=/etc/rc.local.shutdown Compatibility
    Before=shutdown.target
    [Service]
    ExecStart=/bin/true
    ExecStop=/etc/rc.local.shutdown
    RemainAfterExit=yes
    [Install]
    WantedBy=shutdown.target
    Then I started the uptime service manually:
    [jribeiro@arkosta ~]$ sudo systemctl start uptime
    I checked the 'registo_de_uptime' file:
    [jribeiro@arkosta ~]$ cat /home/jribeiro/registo_de_uptime
    Sáb Out 25 19:43:31 WEST 2014 - 2 min
    After that I rebooted my system.
    I checked the 'registo_de_uptime' file, again:
    [jribeiro@arkosta ~]$ cat /home/jribeiro/registo_de_uptime
    Sáb Out 25 19:43:31 WEST 2014 - 2 min
    Sáb Out 25 19:44:27 WEST 2014 - 3 min
    Everything seems to be alright. I wanted to make the ultimate test.
    With that in mind I rebooted the system.
    I checked the 'registo_de_uptime' file, once more:
    [jribeiro@arkosta ~]$ cat /home/jribeiro/registo_de_uptime
    Sáb Out 25 19:43:31 WEST 2014 - 2 min
    Sáb Out 25 19:44:27 WEST 2014 - 3 min
    No success...
    It works when I start the service manually and in the right next reboot, after that it won't work.
    Here is the journal's ouput:
    [jribeiro@arkosta ~]$ sudo journalctl -b -0 -u uptime
    -- Logs begin at Sex 2014-10-24 22:02:03 WEST, end at Sáb 2014-10-25 20:05:29 WEST. --
    By the way:
    [jribeiro@arkosta ~]$ sudo systemctl status uptime
    ● uptime.service - /etc/rc.local.shutdown Compatibility
    Loaded: loaded (/usr/lib/systemd/system/uptime.service; enabled)
    Active: inactive (dead)
    Last edited by joseribeiro (2014-10-25 19:07:32)

  • Mac Air locks on startup with grey apple screen and spinning wheel

    when I start my MacBook Air all I get is the grey screen with the Apple and the spinning wheel. This screen does not change. Ive shutdown and allowed to charge overnite with no success. Does anyone have any suggestions?

      Grey Screen and spinning wheel at startup
    http://support.apple.com/kb/PH11044
    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    Reinstall OS X
    http://support.apple.com/kb/PH10763?viewlocale=en_US

  • I used my wifi to update to ios 8 after like 4 hours it finished ans in the middle of installing the software it shutdown and everytime i try to open it it shows the itunes logo with the usp cable... any help pls

    i used my wifi to download ios 8 after like 5 hours it finished and then it let me install,  while installing the software it shutdown and everytime i try to open it it shows up the itunes and the usp cable logo... when i plug in the usp cable it says in itunes( ipad recovery mode)  and when i press restore it start downloading the ios software again...... wats tht and what i can do pls help.   thnx

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • When I went to update my iPod touch on iTunes, it said unable to update then the iPod shutdown and no longer showed connected in iTunes.  I have tried holding down both buttons for up to 3 mins with no luck turning it on, even after a full charge.  Help?

    When I went to update my iPod touch on iTunes, it said unable to update then the iPod shutdown and no longer showed connected in iTunes.  I have tried holding down both buttons for up to 3 mins with no luck turning it on, even after a full charge.  Help?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

Maybe you are looking for