Shutdown problem in script

Hi,
I run following for to do backup of db
rman target /
run
shutdown immediate;
startup mount;
backup database format '/u05/backups/pbf_offline/%d_offline_bak_%s_%p_%T';
alter database open;
exit;
but it hit the error of ORA 600 [LibraryCacheNotEmptyOnClose] .
Is there way to put wait time in between shutdown and mount in script or way to resolve this please help me.
thanks

Hello,
I got this error in 10g and I created a before shutdown trigger:
CREATE OR REPLACE TRIGGER flush_shared_pool
BEFORE SHUTDOWN ON DATABASE
BEGIN
EXECUTE IMMEDIATE 'ALTER SYSTEM FLUSH SHARED_POOL';
EXCEPTION
WHEN OTHERS
THEN
raise_application_error (num => -20000, msg => 'Error flushing pool');
END;It seems to be related to the following Bug:
Bug 4483084 - OERI[LibraryCacheNotEmptyOnClose] on shutdown [ID 4483084.8]
NB: I've found this advice on this helpful link:
http://www.dbaglobe.com/2009/09/troubleshooting-ora-600.html
Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Feb 28, 2011 10:31 PM

Similar Messages

  • Laptop-mode: shutdown problem

    I have HP Elitebook 8540W.
    When I enable the laptop-mode on this computer, I can't shutdown it anymore.
    When I shutdown my PC, everything goes well until it reaches "Remounting root filesystem readonly":
    Remounting root filesystem readonly
    >POWER OFF
    [137.532383] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    [137.532529] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392
    [137.532531] res 40/00:02:00:00:02/00:00:00:00:00/00 Emask 0x4 (timeout)
    [137.532813] ata2.00: status: {DRDY}
    [142.849448] ata2.00: revalidation failed (errno=-5)
    After this I have to shutdown my PC manually by pressing the power button for 5 seconds.
    The ata2 in the logging above points to my BD-ROM drive (BC-5501H).
    When I disable laptop-mode in rc.conf, the problem is gone.
    Are there any "powersave options" I can disable for my BD-ROM somewhere in laptop-mode ?

    As I understood my problem was caused by Wake-on-LAN function. You can disable it in BIOS if you don't need it.
    Also if you don't realy need ethernet connection you can remove eth0 from ethernet interface in wicd options, so wicd won't touch it anymore.
    These solutions worked for me as well as one mentioned above, but now I just removed laptop-mode and using pm-utils powersave script. More information on
    https://bbs.archlinux.org/viewtopic.php?id=134109
    http://crunchbanglinux.org/forums/topic/11954
    Battery life is now much longer than with laptop-mode and I didn't encounter shutdown problems yet.

  • How im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    how im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    What "auto shutdown problem" are you talking about?

  • Random shutdown problem on G5 dual 2.3 GHz w/OS 10.4.7

    Hello,
    I’m using a dual 2.3 GHz G5, and it’s been working flawlessly since I bought it about a year ago. Until yesterday, I was running OS 10.4.5. Yesterday I upgraded to 10.4.7, and as soon as I booted up after the install, I started having a maddening problem with my computer randomly shutting down. (Not sleeping, but a complete power down.)
    At first, the shutdown would happen immediately after powering up; my computer wouldn’t even make it to the blue progress bar. I zapped the PRAM and tried something I found online about unplugging the computer for 15 seconds, then plugging it back in. It now boots up, and I can log in, but the computer still shuts down randomly.
    There seems to be no pattern to the shutdowns. I tried taxing the processor by opening and resampling huge Photoshop files while lots of other apps were open, and things were fine. Then it would conk out while I was composing an email.
    I’ve heard of this random shutdown problem affecting Macbooks, but I have yet to find anything about G5 towers and OS 10.4.7. Does anyone have any info/advice?
    Many thanks.
    G5 dual 2.3 GHz Mac OS X (10.4.7) 2.5 GB RAM, 250 GB HD
    G5 dual 2.3 GHz Mac OS X (10.4.7) 2.5 GB RAM, 250 GB HD

    Thanks for the advice. I did check the system.log in Console and found the following altert:
    PMU FORCED SHUTDOWN, CAUSE = -122
    Now, since my computer is just over a year old, and since this problem happened immediately after applying the 10.4.7 OS update, I found it hard to believe that my hardware could be responsible. After 2 days of troubleshooting, I was stumped; after a 2-hour service call, so was Apple tech support. I ended up doing an archive and install back down to 10.4.5, and all is well.
    I tested this issue on other machines running 10.4.7 and had no problems. It seems that the following specific combination of elements triggered the problem:
    • PowerMac G5 dual 2.3 GHz (dual 1.8 machines did not exhibit the same problem)
    • OS 10.4.7
    • Logging in with Open Directory/Active Directory mobile profiles
    • iTunes 7
    Bottom line: if you’re using a dual 2.3 GHz PowerMac with mobile OD/AD profiles, do not update to 10.4.7, and steer clear of iTunes 7, at least until there is a patch update available.
    (And Apple wants to be taken seriously in the enterprise market?)
    G5 dual 2.3 GHz Mac OS X (10.4.7) 2.5 GB RAM, 250 GB HD

  • Problem in script format

    hi,
    i am having problem in script , the problem is
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aaaaaaaaaaaaaaaaaaaaa       11.01                             17.28                     170000000               2400000
    this is fine but when the 1st column is shot other also get affected.
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aa       11.01                             17.28                     170000000               2400000
    and i cannot draw vertical line here .what is the solution for this.
    Edited by: jaihind on Mar 6, 2010 12:21 PM
    hi,
    problem is if the description field is long then other coloum are comming fine but if description caloumn is small then other also get affected and its comes towards left .
    Edited by: jaihind on Mar 6, 2010 12:22 PM

    Hi
    For this u can resolve by using the Formatting characters ......
    This is your layout ..
    s.no| descriptio | UOM | Qty | Rate | AMT |
    01 aaaaaaaaaaaaaaaaaaaaa 11.01 17.28 170000000 2400000
    Assume that   your field names like  
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    &sno&      &desc&         &UOM&       &Qty&         &rate&         &AMT&
    asseme that  length of these fields(in characters) as per your requirement will be ...
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    8                  15                  5                8                 10                  15
    For these use formatting characters    like   ...
                  s.no      |  description      |    UOM      |    Qty      |      Rate      |         AMT       |
    1stLine  &sno& ,,  &desc+0(15)&,,  &UOM&       &Qty&        &rate&         &AMT&
    2ndline                 &desc+15(15)&     
    &desc+0(15)&  -  it will print  first 15 characters from 0th position
    &desc+15(15)&- From 15th position it will print 15 characters ..
    Hope you resolve your issue
    Let me know if Any concerns,.......

  • Clock problem and shutdown problem! Are they related?

    Having a problem with my Dual 2 GHz Power Mac G5
    A few days ago I noticed that my clock was not showing in the menu bar in the upper right corner of my desktop.
    I went into System Preferences and went to Date & Time. Under the clock tab “Show Date and Time in Menu Bar” the box was not checked off. I checked it off and went to the “Date and Time” tab. The date and time was correct. I then checked the box “Click the lock to prevent further changes” to lock it. The date and time did not show up in the menu bar. I then went back to the tab “Show Date and Time in Menu Bar” and the box I checked was not checked off even thought the lock was still locked.
    I then moved my cursor up to the menu bar in the upper right corner to see what would happen and the spinning beach ball started up but only for the original icons such as Bluetooth, Mobile Me (which I do not use), Time Machine, Spaces (doesn’t indicated the number when I switch Spaces, etc. The icons Norton Anti Virus and Tech Tool Pro in the menu bar are okay.
    Also, when I attempt to shut down my computer the system clears the icons from my desktop except for a picture I have on my desktop and I get a gray wheel spinning and the system just hangs until I press and hold the on/off switch. I don’t know if the clock and shutdown problems are related.
    The only new software I loaded recently was Skype with Logitech WebCam for the Mac and Quicken 2007 (Had a problem with Quicken 2006). They both are working okay.
    And ideas on why I cannot get my clock to show up and my computer to shutdown?

    You may have to consider a new post in the Hardware forum area for the computer
    model and build/year; if there is a possibility of some basis the matter could be in
    the machine and not the software running within it.
    Your last two/three posts are in the Leopard 10.5(.8) forum area and do indicate
    some kind of problem where troubleshooting the computer to discover if the matter
    at hand would be either hardware or software based, may be the way to go.
    The link to the 10.6 Snow Leopard forum won't be of help if your computer is a
    PPC-based G5 tower, or other older pre-Intel configuration. And I remember
    your earlier questions about the iMac G4 and some other issues in the past.
    You may ask the moderators to put your post in a new thread of its own, in the
    Leopard 10.5 area; so as to not 'piggy-back' another topic; even though some
    of the odd issues you've had seem similar to this OP's topic line and appear to
    be in the same general series of hardware. {The question here seems valid.}
    The routine suggestions to check, test, verify, and perhaps repair or replace
    the system; save a bootable clone to suitable external standalone device if
    testing a suspect computer's viability is recommended; and the basics if not
    already tried to help isolate the issue(s) as you've posted elsewhere, may be
    of some help to try and do; so in that matter, a new thread of your own is best
    for your own directed feedback. Since this kind of advice applies to most any
    situation, including troubleshooting what may be hardware or software, I'm
    adding my two and three-tenths cents worth here.
    Your original included Apple Hardware Test may be of some help, in the process
    of elimination; but is not conclusive, so other methods would be also suggested.
    Some ideas appear to cover the same ground. However, system corruption or
    disc failure can also manifest itself in odd ways & affect things indirectly for a time.
    • OS X Maintenance And Troubleshooting
    http://www.macattorney.com/ts.html
    • Mac OS X BASIC TROUBLESHOOTING & MAINTENANCE
    http://www.gballard.net/macrant/osx_troubleshooting.html
    • Troubleshooting Tips for computers:
    http://www.stcdio.org/offices/cem/mediaandtechnology/cem-computer-classes/troubl eshooting.html
    So, at the risk of inadvertently alienating the OP, I am posting this as
    a general help to following readers at some later time; and it may not
    be too simple for a refresh course.
    Some software issues can be resolved by repairing disk permissions,
    and re-applying the last OS X update Combo file over the same one
    already in the system; or if not up-to-date already, check & repair all
    the general items and then apply the last Combo update.
    A too-full hard disk drive can compromise the system integrity, so that
    is a matter of course to keep up on what resources exist and remain
    for the OS X to function correctly and for apps to multi-task together.
    However that works out...
    Good luck & happy computing!

  • Are the replacement Heatsinks fixing people's Random Shutdown problems?

    Is the replacement heatsink (the shorter one) still the method of choice from Apple for fixing Random Shutdown problems?
    Is it working for people who've had it done recently?

    Does this max out the CPU?
    Yes. People who advocate this are testing to see if it's possible to induce a "random" shut down.
    Why would anyone want to do that?
    Good question. I've seen two reasons put forward: (a) It's better to make it happen now yourself rather let it strike out of the blue at some later date (and if running this test doesn't induce RSDs you can feel confident that your computer is probably immune); (b) If you take your MacBook to an Apple Store it could be useful for demonstrating to an Apple "genius" that your computer has the problem, especially if your shutdowns are infrequent.
    (personally, I don't agree with (a))
    MacBook (OS 10.4.8)     iMac G4 (OS 10.3.9)

  • Late 2013 13"MBP-Shutdown Problem

    I was having shutdown problems with my Late 2013 MBP 13"-the MBP would go to the gray screen and the small pinwheel would progress to different hash marks every 3-5 seconds, the machine would not shutdown at all, it was stalled, so I called Apple and we trouble shot. During our troubleshooting adventure it dawned on me that the problem could be related to my Antivirus Software-Intego. So I went ahead and disabled the real-time scanner and...viola, it shutdown with no problem. So I am letting people know that as of currently, Intego's real time scanner could cause issues during shutdown. I placed it on a scheduled scan and placed everything else on; no issues now.
    So my only question would be; I have the same antivirus software on my early 2012 15" MBP with no issues. Though, I do remember having very slow shutdowns for sometime and then it seemed to resolve itself. The major difference in these two machines appears to be, besides the retina displays, the mechanical HDD vs SSD. My 15" (early 2012) has two Mech. HDD while the new 13" has of course SSD. I am thinking the antivirus software isn't handling the SSD appropriately.
    Any-how, I just wanted to give a quick (though detailed) heads up.

    OK, I messed around with this issue over the weekend. Here's what I did:
    1. Used iPad 3 until I have run battery down to about 50%
    2. Plug in to left USB port on Late 2013 rMBP. Battery icon starts displaying "flip-flop" behavior.
    3. Replug into right side USB....no problem, all behaving well.
    4. Tried plugging in my iPhone 4s into same cable on left USB port, no problem.
    5. Replug iPhone into right side USB....again no problem, all behaving well.
    Here's where it got interesting:
    6. Exchange charging cable for a newer cable with the smaller-sized 30-pin dock connector.
    7. Plug iPad into left USB port...and viola! Battery charging icon is steady...no "flip-flop"!
    8. Replug into right side USB....no problem there either, all seems normal.
    I have no idea what's going on, but this seemed to have solved prolem. BTW, the older cable, when plugged into wall charger, charges the iPad just fine.
    Hope this helps someone else with this problem.

  • Shutdown problems

    I tried updating to 10.5.6 this evening (I should have read these forums first to be forewarned...but anyway..). I was prompted to restart and ever since I have had difficulty shutting down. All icons, the dock, desktop and menu bars switch off (as usual) and the screen goes to blue and just sits there. The HD is spinning and the screen goes from a light blue to a slightly darker shade of that blue and the cursor shows up on the screen as well. But the computer just doesn't shut down.
    Is there a way to force shutdown (other than holding the power button down)??
    Also, what can I do to help fix the problem.

    I ran disk utility and no apparent problems came up.
    I then went hunting in other threads for clues and found a link to the Apple download updates page which gave me an idea.....
    Since my shutdown problems started when I was prompted to restart for the 10.5.6 update I thought to re-install the 10.5.5 update.
    This seems to have worked. No idea why 10.5.6 would lock up the shutdown process but at least I get a clean shutdown now.
    Anyone have a similar issue??

  • Need more info - same spontaneous shutdown problem...

    I'm using a very trustworthy 2.5 year-old T500 running Vista SP2 32-bit and my laptop has begun to have the same spontaneous shutdown problems as other users who've written here.  I suspect it's overheating.  I normally use my T500 on a docking station, which may or may not exacerbate an overheating issue. 
    I want to address this problem to ensure that I can continue to progress on my PhD dissertation (!) without crises, so I have taken some of the steps previously recommended for this problem here on this board.  I installed TPFC today to begin monitoring CPU temperature and it appears that it runs between 55 and 65 C.  Other temps listed are lower.  I also made necessary adjustments in Power Settings to maximize fan speed and allow CPU speed to float.  I also removed the battery so I'm using AC power with no battery/recharging processes to add to the problem, though I'm not certain that last part will make any difference.
    I want to also clean the fan since I'm sure it's probably dirty after 2.5 years of continous use in my house.  How can I take my laptop apart to clean the cooling fan?  Or is this something I should take it to a repair shop to accomplish?
    Thanks in advance for your advice.

    No, my machine is not under warranty any longer.  I agree, if it was, there's no way I'd risk voiding it by tearing it apart myself.
    Thanks for causing me to double check.  I DO have a few months of warranty left, so this baby is going to a professional!  I could probalby do it myself, but why risk it?

  • Suddenly shutdown problem. (iphone 4s)

    My phone suddenly shutting down (every day) (when I check my screen it is blank and I am swiching on every time), sometimes I need to use soft reset to able swich on.
    Do you have this problem in you phones?
    my ios is 5.0.1.

    I restored with Itunes, but I have still same problem
    Settings>General>About>>Diagnostic & Usage>Diagnostic & Usage Data>2012-01-03-211019.panic.plist
    show me that I have hardware problems.(In forums I saw that if we have panic.plist it's mean that I have hardware problems, am I right ?
    *In 10 days, It was happend 4 times (shutdown problem), after restore It was happened 1 time.

  • Leopard (10.5 & 10.5.1) shutdown problems

    I just got a brand new 20" iMac with Leopard. When I started it up I migrated user settings (but no applications) over from my 12" PowerBook G4 (in case that is relevant).
    A few of the times I went to the "apple" menu to shutdown the computer, the spinning gear/wheel looking icon came up and the computer did not shutdown. I had to hold the power button down in the back to reboot it.
    Also, I installed 10.5 -> 10.5.1 upgrade. At the end of the installation process it said it was updating the "boot cache" and would reboot when it was finished. After an hour it was still spinning, so I manually rebooted the machine.
    I am still having shutdown problems.
    Any help is greatly appreciated. I backed up all my important files and am thinking of reinstalling Leopard from scratch and going from there. Is this an easy task?
    Thanks,
    JRF

    Hi JRF;
    Since you admitted to forcing the iMac to shut down a number of times, it is very likely that you have corrupted the disk. I would suggest as a start that you boot from the install media and use Disk Utility to repair the disk. Hopefully that will be able to repair any disk corruption that you may have caused by your forced shutdowns.
    Allan

  • ASM shutdown problem

    Hi experts,
    suddenly I faced ASM shutdown problems on a 2 node RAC. While trying to reboot the second node the resource ora.asm can't be shut down.
    After 10 minutes the shutdown of ASM times out. There is an interesting line in the ohasd.log saying that ASM can't be shut down due to error code: 3.
    Does anyone knows what this means? I googled hours and hours without any success, even in MOS I found no further informations.
    Help is greatly appreciated!!!!!!
    Thanks a lot
    Volker
    P.S. My environment:
    - 2 node RAC OEL 6.3
    - 11.2.0.4 Oracle Enterprise Edition

    Hi gurus,
    I noticed that the shutdown of the ASM instance went wrong as part of the OHAS. Unfortunately I have no error stack except this numerical error written in the ohasd.log.
    Below you can find an excerpt of the ohasd.log:
    2013-11-15 00:44:12.730: [
    AGFW][2791917312]{0:0:124} Received the reply to the message: RESOURCE_STOP[ora.asm 1 1] ID 4099:724 from the agent /u01/app/11.2.0.4/grid/bin/oraagent_oracle
    2013-11-15 00:44:12.731: [
    AGFW][2791917312]{0:0:124} Agfw Proxy Server sending the reply to PE for message:RESOURCE_STOP[ora.asm 1 1] ID 4099:723
    2013-11-15 00:44:12.731: [   CRSPE][2781411072]{0:0:124} Received reply to action [Stop] message ID: 723
    2013-11-15 00:44:12.731: [
    INIT][2781411072]{0:0:124} {0:0:124} Created alert : (:CRSPE00111:) :  Stop action timed out!
    2013-11-15 00:44:12.731: [   CRSPE][2781411072]{0:0:124} Stop action failed with error code: 3
    2013-11-15 00:44:12.732: [
    AGFW][2791917312]{0:0:124} Received the reply to the message: RESOURCE_STOP[ora.asm 1 1] ID 4099:724 from the agent /u01/app/11.2.0.4/grid/bin/oraagent_oracle
    2013-11-15 00:44:12.732: [
    AGFW][2791917312]{0:0:124} Agfw Proxy Server sending the last reply to PE for message:RESOURCE_STOP[ora.asm 1 1] ID 4099:723
    2013-11-15 00:44:12.732: [   CRSPE][2781411072]{0:0:124} Received reply to action [Stop] message ID: 723
    2013-11-15 00:44:12.732: [   CRSPE][2781411072]{0:0:124} RI [ora.asm 1 1] new internal state: [STABLE] old value: [STOPPING]
    2013-11-15 00:44:12.732: [   CRSPE][2781411072]{0:0:124} CRS-2675: Stop of 'ora.asm' on 'rac2' failed
    2013-11-15 00:44:12.733: [   CRSPE][2781411072]{0:0:124} RI [ora.asm 1 1] new internal state: [CLEANING] old value: [STABLE]
    2013-11-15 00:44:12.733: [   CRSPE][2781411072]{0:0:124} Sending message to agfw: id = 925
    2013-11-15 00:44:12.733: [   CRSPE][2781411072]{0:0:124} CRS-2679: Attempting to clean 'ora.asm' on 'rac2'
    2013-11-15 00:44:12.733: [UiServer][2779309824]{0:0:124} Container [ Name: ORDER
    MESSAGE:
    TextMessage[CRS-2675: Stop of 'ora.asm' on 'rac2' failed]
    MSGTYPE:
    TextMessage[1]
    OBJID:
    TextMessage[ora.gpnpd]
    WAIT:
    TextMessage[0]
    There are other error messages as well telling that one have to wait for the shutdown of the ASM instance. But no one is telling me the reason for that.
    Regards
    Volker

  • Priniting problem in script

    Hi friends,
    i am facing a problem in script. i have developed the form
    and it is working fine .in print preview every thing seems to be ok.
    when we try to take a print the right side characters are cutting down by 2
    characters every time.
    i have moved the content to left but the result is the same.
    can any one tell me how to solve the issue.
    Regards,
    Srinivas

    Hi,
    Try to check the lenght of the field/var that you are printing.
    change the alignment doesnt solve the problem.
    Check in your code what is the lenght and if is the same in your form.
    Sample:
    &j_1bprnfli-cfop(4C)&
    prints only 4 digits of the variable j_1bprnfli-cfop.
    Regards.
    Rodrigo Paisante

  • Problem in script printing

    Hi Guru's
    I have a problem in script printing.
    The quantity and netprice are printing incorrectly. i.e., quantity should print as 1.000 where as it is printing as 1,000 and net price is printing as 5,30 instead of 5.30.
    I have checked in the owndata settings it is like 1,234,56.00.
    I would like to know whether any settings will be there or i need to do any modificatione
    Waiting for you reply.

    Hi!
    Here you can find the SAPScript formatting options.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm
    If it is not good for you, you might code it in your printer program and put it into a character variable.
    Regards
    Tamá

Maybe you are looking for

  • Purchase order output type determination

    Hello All, We have a requirement where in we need to trigger custom outout type at the header level on Plant. We have added the plant field at header communication structure but the output type is not getting triggered. Functionals confirmed that all

  • Unexpected line breaks in output of a sql query

    Hi, I have a query which looks like: set pages 0 set feed off set newp 0 set lines 350 select LPAD(SUBSTR(COLUMN1,1,23),23),LPAD(SUBSTR(COLUMN2,1,42),42), SUBSTR(TO_CHAR(START_TIME,'HH24:MI:SS'),1,8),SUBSTR(TO_CHAR(END_TIME,'HH24:MI:SS'),1,8) FROM TA

  • SAP Naming Conventions for DB Data Files

    Hi Everyone! We are about to install a SAP ECC 6.0 SR3 ABAP on Windows Server 2008 (R2) & SQL Server 2008 SP1 and we want to name the DB data files as follows: <sid>DB_Data_001.MDF/NDF Do you see any problem with this or think this could lead to a pr

  • DB startup failed

    Hi All, I am getting the following error when starting the server: IBM AIX RISC System/6000 Error: 13: Permission Denied R3trans: connect check finished with error code 12 ora 27121 DB startup failed What is to be done? Plz help me with this. Regards

  • Get sequence start from Transmit API

    I'm using the Transmit API to get the timecode of the sequence as it plays. I'm using the inTime and working out the number of seconds from the ticks. This gets the number of seconds from the start, which is fine if the sequence begins at 00:00:00:00