Single user mode session lost after backgound processes jump in

We have an application running on SQL server. This application restores DB very frequently using Single user mode. Following are the SQLs that are executed to restore the database in single user mode and to get the database back in multi user mode.
alter database [test-db] set single_user with rollback immediate; --This sql is run using test-db
use master;restore database [test-db] from database_snapshot = 'snapshot_test-db';
alter database [test-db] set multi_user;
After switching the test-db to single user mode some 4-5 background processes of Taskmanager jump in for the test-db kicking off the session that application has taken over in single user mode . These background process are deadlocked between them selves.
Please refer to the output of sp_who2 below at link.
http://social.microsoft.com/Forums/getfile/200625
and following is the deadlock XML.
NOTE: SPIDs in deadlock XML may differ from the output of sp_who2 as spids keeps on changing for these processes.
<deadlock-list>
<deadlock victim="process4bbfc78">
<process-list>
<process id="process4bbfc78" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="705" schedulerid="1" kpid="1648" status="background" spid="22" sbid="0" ecid="0" priority="0" trancount="0">
<executionStack/>
<inputbuf>
</inputbuf>
</process>
<process id="process6d44388" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="419" schedulerid="1" kpid="5796" status="background" spid="30" sbid="0" ecid="0" priority="0" trancount="0">
<executionStack/>
<inputbuf>
</inputbuf>
</process>
<process id="process6d44718" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="109" schedulerid="1" kpid="3908" status="background" spid="16" sbid="0" ecid="0" priority="0" trancount="0">
<executionStack/>
<inputbuf>
</inputbuf>
</process>
<process id="process4bbee38" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="313" schedulerid="1" kpid="2656" status="background" spid="15" sbid="0" ecid="0" priority="0" trancount="0">
<executionStack/>
<inputbuf>
</inputbuf>
</process>
</process-list>
<resource-list>
<databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
<owner-list>
<owner id="process6d44718" mode="S"/>
<owner id="process4bbee38" mode="S"/>
</owner-list>
<waiter-list>
<waiter id="process4bbfc78" mode="X" requestType="wait"/>
</waiter-list>
</databaselock>
<databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
<owner-list>
<owner id="process4bbfc78" mode="S"/>
</owner-list>
<waiter-list>
<waiter id="process6d44388" mode="X" requestType="wait"/>
</waiter-list>
</databaselock>
<databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
<owner-list>
<owner id="process4bbfc78" mode="S"/>
</owner-list>
<waiter-list>
<waiter id="process6d44718" mode="X" requestType="wait"/>
</waiter-list>
</databaselock>
<databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
<owner-list>
<owner id="process4bbfc78" mode="S"/>
</owner-list>
<waiter-list>
<waiter id="process4bbee38" mode="X" requestType="wait"/>
</waiter-list>
</databaselock>
</resource-list>
</deadlock>
</deadlock-list>
On searching for this problem I found out that people have faced similar problem but I was unable to find out the root cause and debug steps for this problem. Stopping the SQL server is provided as a solution to kick out these background processes but this
is not a feasible in our case as code to restore DB runs very frequently resulting in this problem at a good frequency.
I also made sure that SQL Server Agent is not running. The SQL services running on server are SQL server, SQL Server Browser and SQL Server VSS Writer.
Any help will be appreciated as this is a blocker problem.
Thanks,

Hi Amrita,
We can open a transaction, make data modifications to generate a lot of transaction log, and then run ALTER DATABASE AppDB SET MULTI_USER in the same transaction. You can also refer to the following document:
Getting out of single user mode:
http://blogs.msdn.com/b/dfurman/archive/2012/01/20/getting-out-of-single-user-mode.aspx
Allen Li
TechNet Community Support

Similar Messages

  • Kernel panic on MacPro in Single-User mode after memtest.

    I've had about 7 kernel panics in about 7 days on a new MacPro. 2 gigs of RAM (Apple Installed). Fresh install of OSX (no user import). While going through the troubleshooting process I ran memtest in single user mode. Ran it all night no errors.
    So in the morning I typed ctrl-c and then exit (i think)... it seemed to start the process of booting and I got another kernal panic. I've actually done this three times now.
    I checked panic.log and all the error messages but 1 were the same. Including the ones I got in single-user mode (copied below).
    Should I be able to gracefully exit out of single-user mode without a kernel panic?
    Does this point to a RAM error even though memtest and AHD for that matter ran all night without finding anything?
    I'm all set to try again (taking careful notes this time) to see if I can reproduce but I was hoping for some feedback first.
    Thanks,
    Craig
    Sat Jan 27 22:17:27 2007
    panic(cpu 0 caller 0x41C47CC4): Uncorrectable Fbd memory error detected. ferr = 20000000 , nerr == 00000000, fErrFat = 20000000 nErrFat == 00000000
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x108cd8 : 0x128d08 (0x3c9a74 0x108cfc 0x131de5 0x0)
    0x108d18 : 0x41c47cc4 (0x41c49f1c 0x20000000 0x0 0x20000000)
    0x108da8 : 0x41c47f58 (0x406a180 0x406a180 0x2 0x820044)
    0x108e38 : 0x66a712 (0x406a180 0x0 0x3ba3680 0x0)
    0x108e68 : 0x66a59b (0x3b92780 0x0 0x0 0x1c)
    0x108e88 : 0x67d9be (0x1c 0x108ef8 0x8 0x67f4be)
    0x108eb8 : 0x67db68 (0x3b91b1c 0x17 0x3b928ca 0x3b81120)
    0x108f18 : 0x68a743 (0x3b34348 0x0 0xafdd0c77 0x4cd5)
    0x108f38 : 0x70a4fb (0x3b34348 0x0 0x3abac80 0x0)
    0x108f68 : 0x67053f (0x3b88600 0x0 0x3b87580 0x49)
    0x108f88 : 0x669c1f (0x3b6b800 0x0 0x3b87580 0x49)
    0x108fa8 : 0x3ba298 (0x3b87100 0x0 0x3b92f00 0x49)
    0x108fe8 : 0x19aa80 (0x25423e30 0x25423e30 0x19bad6 0xb26000)
    0x25423f18 : 0x1a445b (0x10 0x1 0x4af85c 0x6)
    0x25423f38 : 0x19d871 (0x0 0x0 0x25423f68 0x206)
    0x25423f58 : 0x135f14 (0x0 0x0 0x0 0x19d23a) Backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleMCEDriver(1.1.2f1)@0x41c44000
    dependency: com.apple.iokit.IOACPIFamily(1.2.0)@0x664000
    com.apple.driver.AppleAPIC(1.2.0)@0x709000
    com.apple.driver.AppleACPIPlatform(1.0.8)@0x668000
    dependency: com.apple.iokit.IOPCIFamily(2.2)@0x57d000
    dependency: com.apple.iokit.IOACPIFamily(1.2.0)@0x664000
    Kernel version:
    Darwin Kernel Version 8.8.4: Sun Oct 29 15:26:54 PST 2006; root:xnu-792.16.4.obj~1/RELEASE_I386
    MacPro   Mac OS X (10.4.8)  

    Welcome to Apple Discussions!
    Yes, your memory or memory slot, or memory seating is bad or off. "Uncorrectable Fbd memory error detected. ferr = 20000000 , nerr == 00000000, fErrFat = 20000000 nErrFat == 00000000"
    Clearly a memory related issue. It may also be that memtest doesn't know how to diagnose the new kind of memory and is reporting that back to the logs. Take it in to a service center to have all the boards replaced to make sure the issue isn't reproduceable with new memory. If it is, then I'd consider the slots on the logicboard a problem.

  • Single user mode, Lost Admin Account, and Disk Permissions

    Okay, so I have quite a few issues here. I will start from the beginning.
    About a week ago, I tried to install some updates and I could not get the Admin account to work. I went to the users profile and noticed my Admin account was not there. Did a quick search and found Apple's outline of how to fix this via the Operational DVD and the root user. Tried this and it would never work, because as soon as I restarted the computer or changed screens it switched back to a standard account.
    Next up, I went into the terminal to check the Admin User group. As it turns out it is not there. So I find a discussion on there that outlines how to rebuild this in single user mode and the Unix prompt. So, I print it off and try to restart in single user mode. After trying two different keyboards and a sum total of 8 to 10 times, I can't restart in single user mode to get to the Unix prompt.
    One last thing, last night I went into the Disk Utility on the start-up DVD. I wanted to check the Repair Permission log and I got the following:
    ACL found but not expected on "private/var/root/Library/Preferences"
    ACL found but not expected on "private/var/root/Library/"
    ACL found but not expected on "Network"
    Thoughts?
    Thanks for your help!
    tpp

    first, the ACL messages can be ignored. if you can't get to single user mode you can't fix your admin group. the only reasons that I know why you wouldn't be able to do that is
    1. a defective keyboard
    2. you have a firmware password set. have you? you'd have to turn it off before you can get to single user mode.
    lastly when you restart in single user mode make sure you press command+s right after you hear the chime. do not press it too early or too late. lastly, I'm not sure which instructions you've found to fix the admin group but I have them in this thread
    http://discussions.apple.com/thread.jspa?messageID=8011324

  • Macbook won't boot after Airport update, stuck in single user mode

    Wasn't sure what forum to put this in, so I'll start here. After re-imaging student machines from the server, for some reason the new Macbooks no longer recognize they have an airport card. On another machine I download the appropriate Airport software, copy to thumbdrive, and install on student laptop. After required reboot, the Macbook refuses to boot into OS X- I get the grey apple logo, spinning gear, then drops to what appears to be single user mode, with the exception that it seems to be "refreshing" itself constantly with messages appearing for brief moments (too fast to read). It cycles so fast that I can't type anything before it is gone again. If I purposely boot into single user mode, everything behaves as normal, if I mount as fire-wire drive, everything looks good. But I can't get into OS X. Before I brick more student machines, have any ideas?

    Some added info, i CAN boot the bricked machine into Safe mode, but at reboot I get stuck in the same cycle again.
    Oh, and in SafeBoot, the Macbook still tells me that no Airport card is installed, even though I know it does (and it's not knocked loose or anything).....

  • I can only start my iBookG4 after deleting preferences. I have to go into single user mode to do so. If I don't go into single user mode, the computer shuts down during boot up. What might be the problem?

    I can only start my iBookG4 after deleting preferences. I have to go into single user mode to do so. If I don't go into single user mode, the computer shuts down during boot up. What might be the problem? How can I fix this?

    I do not have a startup disk. I did try fsck (based on what I learned from your reply-thank you). This failed (fsck); here is the message:
    ** Checking catalog file.
        Invalid key length
    (4, 8198)
    ** Volume check failed.
    /dev/rdisk03 (hfs) EXITED WITH SIGNAL 8.
    I am sure this is an easy fix; I just have no clue how.

  • Mac not booting normally after running '/sbin/fsck -fy' in Single user mode

    HI, I tried to log in to single user mode and run the '/sbin/fsck -fy' command. This command failed. So I rebooted my Macbook pro by 'reboot' command. On bootup I hear the chime shoud and can see the Mac Symbol but never reach the login prompt. The round circle keeps rotating over the gray screen and nothing happens.
    Then I again hard rebooted mac book and entered single user mode. I ran again '/sbin/fsck -fy' many times and after many attempts the command stuck and never returned.
    Then I tried using the recovery method to reinstall MAC OS X. It asked me to choose the Harddrive where to install MAC OSX. But the option of "macintosh HD" was disabled and message was " hard drive locked".
    Please help me how to boot my MAC normally :'(

    Welcome to the Apple Support Communities
    Boot in Recovery again and open Disk Utility. Then, choose "Macintosh HD" in the sidebar and repair the hard drive. If it is repaired, restart and OS X should start correctly. If not, you will probably have to format the hard disk.
    You only have to use that command when you have problems with the Mac OS X volume filesystem that they couldn't be repaired with Disk Utility, and as this command got stuck, probably damaged the OS X volume filesystem

  • Help needed: Lion boots only in single user mode after a kasperksy unsuccefull installation

    Hello everyboby,
    I used to be a Sun Solaris sysadmin with root privileges, but I can't fix the Macbook of my girlfriend...
    WHAT I WISHED:
    I wished I could restore the boot INI/config files of a MacBook (the old one, made of white plastic, not the pro, made of "steel"), so that Lion started at boot, like it used to do, before a "fatal" kasperky installation.
    WHAT HAPPENS:
    the macbook plays the chord, shows the Apple logo, seems to load the OS (Lion) and then switches to graphic mode, BUT the desktop (is "desktop" the name of the screen of the operating system, once it's fully started, like on a PC?) doesn't appear, only a grey screen, then nothing happens.
    I guess that probably Lion is fully running under the grey screen, but without the screen/video been correctly setup, I cannot interact with the notebook.
    I CAN boot in single user mode, mount the file system in writing mode and read and write the disk.
    WHAT HAPPENED:
    my girlfriend upgraded to Lion from Snow Leopard and used the notebook for a while (one month?), then she decided to upgrade kaspersky, but the installation failed somehow and now the notebook is stuck.
    WHAT I TRIED TO DO:
    - I read this: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystem Startup/Chapters/CustomLogin.html#//apple_ref/doc/uid/10000172i-SW10-BAJCGEGG
    - and that: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/ man5/launchd.conf.5.html#//apple_ref/doc/man/5/launchd.conf
    - and removed from the disk all the folders and files dealing with startup items AND kaspersky, but nothing changed: at boot the grey screen appears and Lion's interface is not loaded (or if it is, it's not shown).
    - then I looked for some logs, found the kernel's one and found something that looks like an error message dealing with video inizialization... So, it really seems something is not working at video level.
    WHAT I AM ASKING YOU:
    some help, please... : is there anybody that can give me some specific advice on how the boot is done on a macbook with Lion? Are there some INI files I can copy into the macbook, so that it starts in grphic mode?
    whatever...
    thank you in advance!
    Dario

    Linc Davis wrote:
    I used to be a Sun Solaris sysadmin...
    Then you backed up
    I didn't: it's my girlfriend's notebook and she not using a timemachine external disk. She did all by herself

  • Fan issues after entering Single User mode

    Earlier, I went into Single User mode to run an application called Applejack. When my computer first loaded up, my fan became twice as loud as it normally does. I figured that would return to normal once I restarted my computer, but when I went back to my usual setup my fan is still incredibly loud. I attempted to restart my computer again, but that didn't help. Is there anything I can do to fix this?
    Just to clarify a few things, the fan begun to act up as soon as I entered Single User mode. I've tried looking into my System Preferences settings, but changing my Processor Performance doesn't seem to do anything unless there's something I need to do along with changing the setting. Thanks in advance!

    And just to be clear, in Single User Mode the computer's feedback about temps is not functioning... so your Mac assumes the worst, and keeps those suckers going full blast.
    I find this to be the case when it has crashed and I re-start in SUM. But if I shutdown normally, usually you can start in SUM and be ok fan noise wise.
    Quad 2.5   Mac OS X (10.4.6)  

  • Agetty fails to start after switching out of single user mode

    Every time I switch to runlevel 3 from single user mode, agetty fails with this error:
    Jan 29 10:19:28 localhost agetty[1445]: /dev/tty1: cannot open as standard input: Input/output error
    And since it fails, init disables it for 5 minutes… This always happens on the virtual console I run "init 3" on; the other consoles work fine.
    This is how I run agetty from /etc/inittab:
    c1:2345:respawn:/sbin/agetty -8 -s 38400 -a ma --noclear tty1 linux
    Disabling auto-login and removing the --noclear option does not make any difference. Does anyone have a clue what is going on? It is more of an inconvenience than a problem, but still… I am using early KMS on an ATI Radeon 9550 card, by the way.

    So nobody else has been bitten by this stupid bug?
    Anyway, it happens on a pure VGA console too, so it has nothing to do with the video driver. And I take back the “more of an inconvenience” part – it is freaking annoying that one can not just properly change the runlevel. Oh well…

  • How do i repair my hard drive in single user mode when disk is full?

    Hi there Apple Community!
    I have an old Macbook Pro 17" with an upgraded 500GB harddrive and 4GB memory. I'm running Mac OSX Lion.
    Was hoping you could help me out.  THis is the situation:
    Long story short I spilt wine on my macbook and the screen went a bit blobby. Switched it off for a few days, removed the battery etc. etc. Opened it up cleaned out as much of the wine as possible, but unfortunately some of it came in behind the LCD, so now the screen has a nice red stain.  Obviously I'm not going to try to clean that out of the LCD. 
    My Macbook Pro still worked for a few days after that, but then my harddrive gave up.  I booted in the Recovery HD menu, verified the drive and I got the error "Keys out of order - This disk needs to be repaired, click Repair Disk." I attempted to repair the disk but got the error "Keys out of order - Disk Full Error - The volume could not be repaired".
    Unfortnately of this 500GB I only have about 7GB free on it, as I have a huge iPhoto and iTunes library. I did make a TIme Machine backup of my user directory, but not the system files.  I don't really want to do a clean install because:
    1) I'm paranoid that there's something I did not fully back up
    2) I don't want to have to download the whole Mac OSX Lion again. I should have made a USB bootable backup when I had the chance.  I don't have access to a broadband connection.
    What I feel are my viable options, are as follows:
    1) I did buy a replacement internal 500GB harddrive, so I can probably try to make an image of the hard drive to this new drive, but not sure how. I believe it's through the Disk Utility with the "New Image" option but not sure how to go from there.
    2) Start up in Single User Mode and delete some unnecessary files and re-attempt to run the fschk -fy utility again (I tried this earlier and got the same Disk Full Error).  - the problem with this is, I'm not familiar with the command line and have no clue how to delete files.  I don't know my way around Unix.
    3) I can also probably attempt to make a Ghost Image or Acronis Image of the failed drive to this new drive, but not sure if Norton Ghost or Acronis True Image will be able to read this HFS drive - I believe it's possible as it's a simple hard drive clone. 
    If you can guide me in the best option - probably there is a better solution than my proposed ones above, I appreciate any feedback and comments you might have!

    hi Baltwo,
    So I ended up copying my user folder to another harddrive. I managed to download the whole osx lion again, reinstalled, and recovered my home folder using this discussion:
    http://support.apple.com/kb/HT1428
    I have managed to get all my files back. My iTunes library works fine, but my iPhoto library when I open it, get the following error:
    iPhoto cannot be opened because of a problem.
    Here's the error log
    Process:         iPhoto [1540]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         8.1.2 (8.1.2)
    Build Info:      iPhotoProject-4240000~8
    Code Type:       X86 (Native)
    Parent Process:  launchd [209]
    Date/Time:       2012-09-19 19:56:45.528 +0200
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Sleep/Wake UUID: 7948ABE2-5294-4F87-B6E3-777095A2F2EE
    Interval Since Last Report:          4780 sec
    Crashes Since Last Report:           9
    Per-App Crashes Since Last Report:   9
    Anonymous UUID:                      70117D38-03EA-4F9C-B810-50B743864B9E
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
      Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
      Reason: image not found
    I've done an Apple Software Update but it didn't find an update for iPhoto.
    One thing to note is, this library was originally created on iLife 08, upgraded to '09 and it stayed on that version. It hasn't een upgraded to iLife '11.  It worked fine on my previous install of OSX Lion.  How do I recover the library without upgrading to '11 ?

  • Getting Data Off Harddrive in Single User Mode

    When my PowerBook G4 running 10.3.9 boots after the white apple screen I just get a blue screen and my mouse. I am able to boot into single user mode and get to the data on my harddrive. My other computer at home is a linux box so if I could just get the network going in single user mode I could ssh all of my stuff to the other machine. Is there any way to do this. Is there any other good way to recover my data?

    Hi dsignoff,
       This is likely to be more difficult than it sounds. If the problem isn't a failed hard drive, you might have an easier time simply doing an archive-and-install. Of course any installation except a fresh install will preserve your home directory but an "update" installation stands a reasonable chance of not fixing the problem.
       Even if you do succeed in moving everything to the linux box, you will likely lose the resource forks and file metadata of the files.
       Of course even if you do try an archive-and-install, it never hurts to have some backup. I'm a bit rusty with Panther but I believe that it requires the following as a first step:
    /usr/libexec/registermach_bootstrapservers /etc/mach_init.d
    That actually starts quite a bit of the system, possibly including the part that is causing Aqua to fail to start up. (meaning that it too could fail) However, if the above command succeeds, the next step is to execute:
    /sbin/SystemStarter start Network
    You may also need:
    /sbin/SystemStarter start NetworkExtensions
    If all of that works, you should have enough services available to ssh to the Linux box and move files. Of course there is a chance that if you find the error messages of the process that is failing in the /var/log/system.log, we could actually recommend a fix for the system.
    Gary
    ~~~~
       "The wages of sin are death; but after they're
       done taking out taxes, it's just a tired feeling:"

  • Errors while Changing the Database to Mutli User Mode from Single user mode in SQL Server 2012

    Hi,
    Good Afternoon :).  Need your help in resolving one of the issue with SQL Server 2012.
    Today, we kept one of the database in the Single User mode and wanted to bring back to Multi User mode.  But we are getting the below error.  There are no user sessions connected to this database which are blocking each other.  I see multiple
    SYSTEM sessions are in blocked state.  The blocking is not cleared even affter restarting the SQL services.
    Verified the SQL Server Errorlog and couldnt get much useful information to troubleshoot the issue.
    pasted the information from the sys.sysprocesses as well for your kind reference.
    Msg 1205, Level 13, State 68, Line 1
    Transaction (Process ID 55) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    Msg 5069, Level 16, State 1, Line 1
    ALTER DATABASE statement failed.
    spid
    kpid
    blocked
    waittype
    waittime
    dbid
    login_time
    status
    cmd
    18
    1004
    36
    0x0005
    144
    5
    4/9/2014 13:13
    background                    
    TASK MANAGER    
    35
    1796
    36
    0x0005
    35
    5
    4/9/2014 13:34
    background                    
    TASK MANAGER    
    36
    2464
    37
    0x0005
    363
    5
    4/9/2014 13:34
    background                    
    TASK MANAGER    
    37
    5100
    36
    0x0005
    254
    5
    4/9/2014 13:04
    background                    
    TASK MANAGER    

    Clearly 36 and 37 are causing deadlock.
    see
    https://www.simple-talk.com/sql/database-administration/handling-deadlocks-in-sql-server/
    http://www.mssqltips.com/sqlservertip/1036/finding-and-troubleshooting-sql-server-deadlocks/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Yosemite only boots in single user mode?!

    Hello everyone,
    for a few weeks now I've had issues with unresponsive wakes and whatnot but now it seems my machine has detiorated within a short walk home.
    First off my specs:
    MBP 13" mid 2012
    Core i5 2,5Ghz, Intel HD4000
    2x 4gb Ram 1600MHz
    Samsung 840 Evo 120Gb SSD
    As I said, within 20 minutes of carrying the laptop around the performance deteriorated drastically. When I opened it up back home it was incredibly slow and unresponsive. Opening Applications or even just folders takes about 30-60 seconds. Same applies for using the brightness controls for screen and keyboard, or the volume buttons. After some 15 minutes the System will completely stop to react to startup attempts of applications.
    I tried the following troubleshoots while searching the forums as I understand this is a common problem in Yosemite:
    - boot in safe mode ( worked once, but with the same problems of unresponsiveness, after a second try booting hangs at the usual 50%)
    - reset SMC
    - reset NVRAM ( PRAM?)
    - try to repair the disk via disk recovery ( cmd + r)( repair failed and Volume vanished from the list - after that only internet recovery was available) ( also of note: today I brought my SSD up to its limit by installing unreal engine 4. I deleted it expecting to see an improvement, which I didn't get. Still, after deinstalling it the Volume showed a 99% utilization in disk recovery)
    - starting single user mode and this is interesting. First it shows the following without any input:
    Warning: Couldn't block sleep during cache update
    Warning: Proceeding without DlskArb
    rebuilding .../Caches/com.apple.kext.caches/Startup/kernelcache
    pci pause: SDXC
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    kext file:///System/Library/Extensions/JMlcromATA.kext/ is in hash exception list, allowing to load
    Child process / user/sbin/kextcache[6] exited due to signal 11.
    Error 107 rebuilding /System/Library/Caches/com.apple.kext.cashes/Startup/kernelcache
    then it proceeds to boot into the same unresponsive mess as before.
    - In the finder I tried to repair disk permissions and again the volume itself to no avail.
    I really have no idea what to do about it at this point. I can recreate this scenario and reliably boot this way but the system is painfully slow and impossible to work with. Sorry to bring up this topic again since there have been so many posts on similar problems but none of the aforementioned solutions worked for me.

    Please do the following:
    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.
    This should install the version of OS X that you had installed.

  • Won't boot normally or in recovery and single user mode, safe mode hangs up halfway

    iMac locked up with visual glitches while playing the Mac beta client of League of Legends. Had to force a shutdown by holding the power button. Now it won't boot; after the Apple logo and spinning wheel I just get a white screen. I tried launching in recovery mode, that didn't work. Then I tried safe mode; the bar filled a little over half and then nothing but white screen. I was able to boot single user mode once; ran fsck -fy and rebooted, still white screen. Now I can't get back to single user mode. I booted with command option P R to reset the NVRAM and got the second chime, but still nothing.
    Luckily all my important files are in the cloud, but I'm really hoping my computer isn't completely dead. I haven't had any issues in the past. I've even been playing LoL for over a month with no issues, until now when I tried to play the newer game types, Dominion and ARAM; both caused visual glitches forcing shutdowns. I was able to restart my computer with no problem after the first two visual glitches, but after the last one I am stuck at the white screen as I described above.
    Thanks in advance for your help!

    I'd bet the drive is damaged. You could try reformatting if possible. Again, you are booting from the Recovery-10.8.2 disk if you can. If you can't, then you will need to use the installer disc that came with the computer.
    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Mounting a usb hard drive in single user mode

    I've gotten as far as connecting the hard drive at boot, but I don't know how to figure out which dev is the hard drive, and which arguments to use with the mount command. I can't do much when I login, and I'm trying to cp files from my hard drive to my external hard drive through single user mode.
    Any help is greatly appreciated. Thanks.

    Hi leung wai,
       I wouldn't mind knowing the answer myself. I think the problem with doing it in the manner you attempted is that the device tree hasn't been created yet so the mount command is certainly not going to work. I assume that the answer is to start up enough of the system to have the device tree created. Unfortunately, I don't know where in the startup process that occurs. You could try the following command after making the boot volume writable:
    /usr/libexec/registermach_bootstrapservers /etc/mach_init.d
    Then check to see if the /dev virtual filesystem has been created. Of course it wouldn't surprise me if that didn't also mount your disks. If not, try the following:
    /sbin/SystemStarter
    It should have been created after that because at that point almost the whole system has started.
    Gary
    ~~~~
       You've been telling me to relax all the way here, and
       now you're telling me just to be myself?
             -- The Return of the Secaucus Seven

Maybe you are looking for

  • Mail issues on iOS 8 (unread mail, accidental deletions)

    Hello, ever since I updated my iPad 4 to iOS 8, I have had problems with my mail app. I hoped that it was a glitch and that updates would fix it, but now I'm on 8.1.2 and things remain the same. Here's what is troubling me: The new unread e-mails in

  • Is music in multiple user account supposed to take up more space?

    I have two user accounts on my computer and I transferred all of my iTunes music to the second one so it could be accessible from both. But when I did it the memory space on my computer went down. Is this supposed to take up more space?

  • PDFs will not open in Browser with Adobe Reader 9

    I am using Vista Ultimate x64 (SP1) using IE7. I am using the 32-bit version of the browser. I have selected "Display PDF in browser" on the Internet settings tab of the Adobe Reader 9. Every time I select a PDF document, it forces me to save the doc

  • Condition to calculate order quantity with previous 3 months history of act

    Hi, We have a requirement of the report is i need to calculate order quantity (SD) with condition that it should have been produced with previous 3 months with finished goods sales quantity (MM), please suggest suitable formula so that order quantity

  • Recommended size of photos

    Just started using iM 8 on my 1.8 Dual G5 (Yes, it installed and works although it appears a little slowly)! Question: What is the size that photos need to be to insure they will import and display properly? I dragged a couple of photos from an exter


HashFlare