Cannot shrink log file 2 because the logical log file located at the end of the file is in use ?

HI,
I am getting this error frequently.. any recomendations :
Executed as user: DB0\sqlservices. Processing database: dbin [SQLSTATE 01000] (Message 0) 
Cannot shrink log file 2 (DB_log) because the logical log file located at the end of the file is in use. [SQLSTATE 01000] (Message 9008) 
Processing database: DB_ [SQLSTATE 01000] (Message 0)  DBCC execution completed. If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Message 2528) 
Cannot shrink log file 2 (DB_log) because the logical log file located at the end of the file is in use. [SQLSTATE 01000] (Message 9008) 
Processing database: DB [SQLSTATE 01000] (Message 0) 
DBCC execution completed. If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Message 2528) 
Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized. Reissue the statement after the current backup or file manipulation operation is completed. [SQLSTATE 42000] (Error 3023) 
Processing database: DB_AC [SQLSTATE 01000] (Error 0)  
[SQLSTATE 01000] (Error 0)  DBCC execution completed. If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Error 2528). 
The step failed.
Please give any receomendations to avoid this error in future :
Yangamuni Prasad M

 
Hi Yangamuni,
Are there any progress?
Please have a look on the below threads with the similar issues as yours:
http://www.sqlservercentral.com/Forums/Topic652579-146-1.aspx
http://social.msdn.microsoft.com/forums/en-US/sqldatabaseengine/thread/ae4db890-c15e-44de-a2af-e85c04260331
The solution is change the recovery mode to SIMPLE, shrink log files and then change to the FULL recovery mode.
Thanks,
Weilin Qiao
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

Similar Messages

  • I have Adobe reader installed.  However, I am unable to open some files because it is asking for Adobe's approval to open the files. How do I do this please?

    I have Adobe reader installed.  However, I am unable to open some files because it is asking for Adobe's approval to open the files. How do I do this please?

    That message is NOT from Adobe, and has nothing to do with Adobe's approval for anything.
    Quite the opposite: Adobe Reader is NOT YET RUNNING, Adobe aren't involved. Some other app or program is putting out that message. Have you tried giving that permission?

  • TS3992 I have been getting this message: "This iPhone cannot be backed up because there is not enough iCloud storage available." However, the phone says that I still have 1.1 GB of available storage. Any suggestions?

    I have been getting this message: "This iPhone cannot be backed up because there is not enough iCloud storage available." However, the phone says that I still have 1.1 GB of available storage. Any suggestions?

    Try doing a hard reset:
    Press and hold both the Home button and the Sleep/wake button simultaneously for about 15 seconds and release when the Apple logo appears.
    After that: go to Settings - iCloud - Storage and backup - turn off the iCloud backup
    and backup with iTunes from now on
    More info on backing up: http://support.apple.com/kb/ht1766
    Or, if you prefer to keep backing up with iCloud, check out this article, it will help you understand how to manage the iCloud storage:
    http://support.apple.com/kb/ht4847

  • Cant use adobe reader to open file because i get a window saying i mush agree to the terms an condui

    Cant use adobe reader to open file because i get a window saying i must agree to the term and conditions before i use it.    no place to do this

    Mac HD/Applications
    Double click the Adobe Reader app and accept the agreement.

  • TS1363 i cannot connect to itunes because my 10 year "forgot" her password.  so all the restore suggestions utilizing itunes will not work...HELP!

    i cannot connect to itunes because my 10 year "forgot" her password.  so all the restore suggestions utilizing itunes will not work...HELP!

    You may need to put the iPod into recovery mode : http://support.apple.com/kb/ht1808 - you should then be able to reset the iPod and re-sync its content.

  • I've got a mac pro problem with the starting up, but also a red light on the logic board solidly on. Its not among the diagnostic led. It's located near the BT adapter and the front fans. Also the fans run loud also. any solutions?

    Hi
    I've got a mac pro late 2006, and i am having problem with it for quite a while now. the problem i am facing is the start up process, and the red light on the logic board. Earlier I've got the two led on the diagnostic leds 5 and 6 turned on without the diagnostic button being pressed, and i think those are related to the processors overtemp. I've managed to solve that by, removing the processors and re applying the thermal compound on the heatsink. what i have left now with is the red light on  the logic board at the time i plugged in the power. At the same time when this light come on, the power indicator at the front panel come on as well. i am not sure what is this light relates to. We've replace the power supply too, and gone through the SMC reset but seems no help.
    Any idea on the problem? I am desperate about it, and i will be greatful if anyone can help..
    thanks and hope for your best solutions
    Kari

    I can't help directly with your problem but you might check here http://tim.id.au/laptops/apple/macpro/ for a service manual which could answer your question.

  • Where do you find the serial no. of the logic pro product when it is bought in the app store

    where do you find the serial number of the logic pro 9 product when you download it from the app store.  It is needed to start up the product the first time.

    Well there really isn't any serial number, or at least my copy from the app store doesn't have one. It is tied to your iTunes/app store account. In the app store, look at the help menu....
    Update applications
    App Store keeps track of updates for the applications you purchased. The Updates button in the toolbar shows the total number of application updates available for downloading.
    The number of updates is also displayed on the App Store icon in the Dock.
    Manage application updates
    Click Updates in the toolbar.
    For updates in the list, you can:
    Download and install all of the updates at once, or download and install a specific update.All of the updates listed on the Updates page are free.
    Pause, resume, or cancel a download.

  • I joined iTunes Match on my MBP and added our MBA to the same Match account. What should the iTunes Media Folder Location be for iTunes on the MBA?

    The iTunes libraries on both machines appear to be in sync, though I don't know if Home Sharing or iTunes Match is to thank for the consistency. But the iTunes Media Folder locations are different on the MBP and MBA, and I don't know if they should point to the same storage location (it's been on a drive connected to our Airport for years). I also don't know what options for Copying Files and Keeping iTunes Organized should be on the MBA. I certainly don't want the media files duplicated yet the devices sharing a cloud version.
    I hoped the MBA would act like an iOS device using iTunes Match in that music would stream unless downloaded. Then downloaded music would have to be managed (deleted from the MBA's iTunes) for space reasons at some regular intervals-- just like we now do on the iPhones and iPad. The library entry for the song would remain... just the locally stored file would be deleted and the iCloud download would change back to the download symbol.
    But if a purchase is made from the iTunes store on the MBA, the file is stored on the local MBA machine as well as the external drive because the MBP receives the song via Home Sharing and downloads the file.

    Each iTunes client will expect a discrete iTunes library location.  The iTunes Match service will allow the libraries to be automatically synchronised along with any IOS devices that are also registered for iTunes Match.
    Following making a secure backup for any given library it is possible, once Songs have been 'matched' or 'uploaded' to remove the local copies and play the Songs from the Cloud.  The behaviour on IOS devices is different, they will download each Song as it is played.
    Note:  Apple is very clear that the responsibility for maintaining music files remains with the user - so it remains essential to ensure that you have your own Songs secure backed up prior to relying on the Cloud.  Should there be an issue with the Cloud resulting in loss of Songs you will need your own secure backup.

  • I am new to sap. i wanted to know the how to include archiving checks at end of the partner in sp09

    hi this is Priti
    This requirement is in place to enable the customer to perform the Archiving checks along with the EOP check during the blocking run of Business partner. There are few application which already have archiving check defines for the business partner. So this feature would give the customer an option to have one extra level of check along with the EOP check.
    The archiving check would be considered during the blocking run of the Business partner.
    If any application’s Archiving checks module deny the blocking then the business partner blocking would not take place.
    If the BP is passed back through the ET_NOT_ARCHIVABLE then the blocking of the respective BP would be stopped.
    The archive check modules would be called in the report BUPA_PREPARE_EOP and in the FM BUPA_CHECK_EOP_REMOTE. If the BP is passed back through the ET_ARCHIVABLE then we would go ahead with the standard blocking process.
    how should i check this ET_NOT_ARCHIVABLE partners. i need functionlity and at the same time i need to handle those errors also.

    Why don't you Google it at yourself.
    Just type "What is SAP?" then read various post from various website.
    For more help you can visit the website help.sap.com

  • HT1459 Just bought a new ipod shuffle for my kid and cannot set it up because it does not show up in itunes. Also the charging light does not light up. what could be wrong, as i am able to see both my iphone and ipad on itunes on the same pc?

    Just bought a new 4th gen iPod Shuffle for my kid. Problem is I cannot do the initial set up, as the device does not show up on iTunes on my PC. Also the charging does not light up. Any ideas on what could be wrong, as I am able to see both my iphone and iPad on iTunes using the same PC?

    I also tried manually underlining a few things on the new iPad and when highlighting a paragraph, it would skip a few lines and the line would go through a few as well. Looks like a major iBooks glitch needs to be addressed here.

  • I have a MacBook and cannot connect to App Store. I have no problem with the internet connection. I want to be able to buy the apps that are available for my computer. The date, time and location are all correct - all the suggestions have failed

    I have a MacBook - I am unable to connect to App Store - I have no problems using the internet to connect to anything else. I have checked out all the suggestions - Apple Preference and time, date, location etc. they are all correct. I cannot think what else I should do. Any suggestions please Cynthiafromgrayshott.

    If you don't see any messages, not have anti-malware running or the Firewall on, try installing the Mac OS X 10.6.8 Update Combo
    It's ok to do this even though you are already running v10.6.8 (according to your profile).
    Restart your Mac after the combo in installed, try the App Store.
    Also... if you have an app called Little Snitch installed, that can prevent a connection to the App Store.

  • Where is the Warp Stabilizer plugin located in After Effects CS6 program files?

    I need to delete the plugin temporarily to gain access to my project because it constantly crashes on start up due to the Warp Stabilizer.

    NOt sure if you can actually remove it,but it should be in the plugins/extensions sub-folder inside the AE install folder. Anyway, try the usual troubleshooting first before taking such a radical step that may destroy AE and require a reinstall. Flush the caches, open the project with capslock and remove the effect.
    MYlenium

  • I love macs and mac os but what hard ware is still getting maid by apple, the ata drives and ram are maid by companies like Samson and Toshiba and the processors are maid by intel. do apple still make the logic board or do they just focus on the case.

    Firs of all i want to make it clear that i dont hate macs, i think they are the beast computers in the world. Im just wondering if apple are givving up making harware for them self,

    Hello,
    I don't think Apple has actually "made" any hardware for years, they design it & have others build it.

  • Which is the mac OS registry location and filename to determine the version of installed firefox?

    I have a Mac mini with 10.8.4 installed. I installed firefox 21.0. I'm trying to locate the registry entry (plist) file which contains the version of firefox installed. This file needs to be used programatically.

    For programmatical access to the Firefox version see [http://forums.mozillazine.org/viewtopic.php?f=25&t=653489 How to detect Firefox browser version?]
    You can access it manually from about:config (but, I am pretty sure, not from the sysytem registry):

  • The transaction log for database 'WSS_Content' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

    Hi all,
    Observing the below error in event logs once in every day at 3:30 AM on the on SQL Server Machine, it is being used for TFS 2010.
    The transaction log for database 'WSS_Content' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
    Kindly advice me here on what to do?
    Thanks in advance

    First thing to check is, what is happening at 3:30am to cause the log to fill up?  Is there any maintenance tasks being run against the DB, such as index re-organizations or rebuilds?  If so, take a look at what the job is doing, maybe it could
    be tuned (ex:  A Maintenance Plan with a rebuild indexes task will rebuild *every* index whether it needs it or not.  Look at using something that checks how fragmented an index is, and then intelligently determines what, if anything, to do to that
    index.)
    Basically, the error is telling you that SQL is trying to do something in the DB, and has filled up the log (either because it's not getting backed up often enough, or the transaction in question is running *very* long, or your log is set to not auto-grow)
    So, a couple possible solutions:
    Increase the frequency of Transaction Log backups of WSS_Content (only works if the DB is in Full Recovery)
    If you've got the disk space, turn on auto-growth for the TLog (or just manually grow it larger) {This will work for both Full and Simple Recovery}
    It would be nice to know what's causing the space to not be re-used, but with this occuring at 3:30am, you'll either need to set up an Agent job to run around that time and record its results, or manually run something like "select log_reuse_wait_desc from
    sys.databases where name = 'WSS_Content';"  Me, I prefer to be soundly sleeping at 3:30am and would set up an Agent job to run from say about 3:00am to 3:45am once per minute (maybe even more frequently.)
    DON'T shrink the log, though.  SQL will idealy grow the log as large as it needs it (if autogrowth is enabled) and no more.  If you shrink the file, SQL will just have to re-grow it later again, which can affect performance.
    Jason A.

Maybe you are looking for