My MacBook won't sleep and I'm forced to reboot...

For the past two weeks, every other time I close my MacBook it will either sleep or it will not sleep. When it won't sleep, the light on the apple turns off but the little indicator light stays on and I can hear the fans whirring. When it stays on instead of sleeping, the screen is frozen and black and I'm forced to turn the power off then turn it back on. I've tried a few things including taking the battery out and holding down the power button but nothing seems to be working. My nearest Apple approved service provider is about an hour away and I don't mind taking it but if I can fix it without making the drive that would be awesome. If there are some specific things you need to find out my computer let me know and I'll fill you in. Any help would be very much appreciated.

Failure to sleep can be caused by hardware or software. To troubleshoot the problem you'll want to make sure nothing is connected to the computer but the power adapter since a USB or FireWire device might be the cause. Your computer came with a hardware diagnostic disc - either it is part of your installation DVD or it is a separate disc. Boot up with that disc and let it run. If it shows a problem you know you need to make a trip to the shop. If not, we can't positively eliminate hardware but we'll move on.
You'll need to create a new user account, after which you should shut down the computer and then restart and log in directly to the new account. This will eliminate any start-up items that might be causing the problem as well as any munged preferences that might be the cause.
If the computer continues to show shutdown issues you'll want to look at: 1) 3rd party drivers such as all-in-one printers and scanners - uninstall, restart and try again, 2) RAM upgrades - remove and try again, 3) an OS reinstall (which I've saved for next to last), 4) computer hardware. If you get to the OS reinstall, I'd recommend that you fully back up the computer and then erase the hard drive, reinstall the OS, and immediately try sleeping the computer.
Shutdown and wakeup issues are the two problems I hate dealing with most.

Similar Messages

  • Display won't sleep and screen saver won't sart

    I upgraded to the new OS and the display won't sleep and screen saver won't come on. Help please.

    Long shot.
    Do a backup.
    Quit the application.
    In Finder hold down the option/alt key while selecting the Go menu item. Select Library. Then go to Preferences/com.apple.systempreferences.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer ones.
    If you want to make your user library permanently visible, run the below command in Applications/Utilities/Terminal.
    chflags nohidden ~/Library/
    You will need to do that after any updates.

  • Why does updating virus definitions on microsoft security essentials make my macbook go to sleep and hard to wake it up from its sleep state?

    Why does updating virus definitions on microsoft security essentials make my macbook go to sleep and hard to wake it up from its sleep state? does this happen to anyone else? its really bugging me.

    Just  you probably, having used it for years since its beta days.
    don't run more than one malware suite/programs. it is possible to use some as long as they aren't running.
    I'd look elsewhere for why.

  • Macbook won't shut down unless i force quit!

    Hi my  macbook won't shut down unless i force shutdown.... it's been like this for a while so i hardly ever shut it down..... can't even close the case as it will then just continually shutdown and re-start itself on n on n on, whilst shut!!!
    It does occasionally shut down successfully ...... but today it shut down fine.... 1st time i tried it for well over a week! But then refused to start up! 1st time it's done this!! it took over two hours to convince it to start!!! Any thoughts would be massively appreciated ..... apple care run out and ZERO funds to have fixed !!! : (( v sad as i love my mac and can't do without it!!!

    shelbell508 wrote:
    I tried to run the disk utility and it wouldn't run properly
    Exactly what did you do to run Disk Utility and exactly what happened up to the freeze?
    I called some place to ask for advice and they said it could be my logic board???
    That's an easy answer to give but not necessarily the correct one.
    If you have the system restore disc that came with your Mac, boot with that disc in the Mac while holding down the "D" key. That will invoke hardware diagnostics. Run those several times to investigate the possibility that your Mac has a hardware flaw.

  • Internet goes stale after computer goes to sleep and then needs to be rebooted to function properly

    I mac with retina 5k display
    internet goes stale after computer goes to sleep and then needs to be rebooted to get it working again
    10.10.1 os

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Macbook won't sleep or wake on command, overheats

    I seem to have a sleeping and overheating problem with my 13" aluminum late-2008 edition 13" MacBook (I bought it exactly 4 years ago).
    When I put my computer into sleep mode, be it by shutting the lid or selecting the sleep mode, it doesn't seem to stay asleep for long. I'll hear it running, it'll get extremely hot (whether or not the fans turn on seems to be a crapshoot). If I let it sleep longer than a couple minutes, the battery will run out, completely. Half the time when I turn the computer back on after plugging it back in, it doesn't respond right away and I'll have to force a reboot.
    Other than sleep and possibly fan issues, the computer is running fine. No other complaints. Already took the battery out and reset the SMC. Not convinced that did anything worthwhile.
    Help?

    Hi there kbuckle!
    I have an article for you that can help you troubleshoot your computer's sleep issue. That article is specific to Mountain Lion, and can be found right here:
    OS X Mountain Lion: If your Mac won’t go to or stay in sleep
    http://support.apple.com/kb/PH11080
    Additionally, this older article might have some further troubleshooting steps for you, but it is more geared toward Snow Leopard and other older operating systems:
    Mac OS X: Why your Mac might not sleep or stay in sleep mode
    http://support.apple.com/kb/HT1776
    Hope this helps. Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • My macbook won't sleep

    Recently my MacBook won't go to sleep.  If I close the lid or choose sleep from the menu it shuts down and restarts.  When it is closed, it restarts continuously until it's opened again.  I hadn't downloaded anything new before the problem started, and all of my programs are as up to date as they can be (I'm on the Tiger OS so I can only update programs that work with that old of an OS).  My battery was also not holding charge like it should so I got it replaced.  That didn't help the sleep issue though.

    Hi. Please check if your bluetooth is on. This might cause some computers not to sleep because it keeps on looking for bluetooth devices. Also you can try resetting the SMC and see if that helps. This goes for the battery as well. You might want to put more info regarding your battery though. Use system profiler to get the info and post it. Here are  the steps for resetting your SMC.
    http://support.apple.com/kb/ht3964

  • IMac won't sleep and freezes on shutdown

    My iMac has developed an annoying problem. Most nights, when I try to put the computer to sleep, it goes to sleep and the immediately wakes back up. I exit all programs running in the dock and try to sleep it again, but the same thing happens. I will then try to shut it down, but it freezes on the screen that shows the wheel with the lines (sorry for the bad description there). Any ideas?

    Here's more on sleep;
    This is for a Mac that won't sleep.
    Here is KB article HT1776 with their tips.
    Mine follow;
    USB devices and hubs often cause Macs to not sleep or wake quickly from sleep (notably HP printers and scanners, HP all in ones, and Cannon scanners). Disconnect all USB except for keyboard and mouse and try. If it sleeps, add one back at a time testing after each one to find the culprit.
    If you've set your Mac to receive faxes, it may not be able to sleep. It might also have a damaged preferences file.
    If you use your Mac for faxing, open System Preferences. click Print & Fax, click the Faxing tab, and uncheck the Receive Faxes On This Computer box.
    If that doesn't work or you've never faxed on your Mac, go to Finder/Hard Drive /Library/Preferences/SystemConfiguration and delete the com.apple.PowerManagement.plist and com..apple.AutoWake.plist files (if your Mac asks, type your admin. password).
    If the latter file isn't present in the folder, go to user name(probably your name)/Library/Preferences, delete the com.apple.systemuiserver.plist file, and reboot your Mac.
    Hope this helps!
    P.S. One member here reported this (Michael Gleason);
    "I have had this problem with my IMac G5. It is surprisingly irritating. LaCie's Silverkeeper backup software was the cause. By default it gave itself permission to wake up the computer to check if a backup was needed. Do you have this or a similar program installed which has scheduled activities including wake-up permissions as an option?"
    Dave Hamilton provided this link, xlr8yourmac.com, to a member, which addresses failure of deep sleep with some users that updated and added new FireWire and USB card.
    Also, here is Apple KB article TA2469 about PCI cards and sleep.
    tomhorvat adds this; After few days of messing around I found out that I had desktop background (wallpaper) set to change every 1 minute.
    After unchecking "Change picture..." in system preferences (under Desktop/Screen saver), my powerbook went to sleep all by itself.
    Tristan Currier noticed this; "I have a Canon printer(shared) and my imac would not sleep. I opened up printer/fax in system prefs and noticed it said the printer was in use when it was off. Opened up the printer queue and noticed about 7 pending documents. Deleted them all and now it sleeps.
    Check the printer queue!"
    Good Luck!  DALE

  • The calendar app on MacBook won't recognize and sync with IPad and Iphone after upgrading to Yosemite and Server 4.0

    After upgrading to Yosemite on our mac mini (from OS X 10.9) and V4.0 to Server (from 3.2), the calendar app on MacBook won't recognize the account and won't sync with IPad and Iphone. Even after giving password over and over again. I get the following message: 
    De server reageerde met
    '500'
    op de bewerking 'CalDAVAccountRefreshQueueableOperation'.
    (Server responded with '500' on task 'CalDAVAccountRefreshQueueableOperation'
    Anyone idea?

    update to my original post:  after searching since for the past 10 days - I did want to pass along to others with an iphone calendar sync problem the following resource:
    Mac OS X: Resetting the SyncServices folder
    http://support.apple.com/kb/TS1627
    This is the preferred solution for problems with sync with calendar and other apps between iphone and MaciOS.  This did solve the problem which developed that no items from iCal were copying to Iphone, such as new calendars I would add, but the original problem has not been fixed by this reset.

  • New Macbook doesn't sleep and keyboard freezes

    I bought my mom a Macbook on Jan 21st and I've experienced these problems several times. Last night, I tried to sleep the Macbook but it wouldn't go to sleep, I eventually had to shut it down to turn it off. I closed the lid, the white light on the front came on, and then after about 20-30 seconds, it made a noise and the apple on the back of the screen lit up and it came back to life. I tried to sleep from the menu bar and it wouldn't go to sleep either.
    There wasn't anything plugged into the laptop like a mouse or anything else, so I don't know what would be causing it to do this. I have a MBP and have never had a problem like this.
    Another problem I have that has been widely discussed here is that the keyboard freezes every so often and it gets to the point where it's annoying. It happened at least 3 times yesterday alone when my mom was trying to work on her thesis. I saw that there was a firmware update that supposedly fixed this, but my Macbook is new enough that it doesn't need that update.
    Is this Macbook defective? I'm thinking I may have to bring it into a Mac store sometime this weekend and have it looked at if I can't get these problems solved. Any suggestions/ideas?

    Here is the link to the keyboard problem. I was having the same problem with mine, and decided to find out what was going on. So I finally found on the Apple site, where they have a update to install and fix the problem.
    http://docs.info.apple.com/article.html?artnum=307030

  • MacBook Won't Start and Hard Drive Full

    My daughter's MacBook won't start up completely.  It tells me to power off and power on again.  I tried restarting using my Snow Leopard DVD and it won't let me load, re-install or restore because it says her hard drive is 100% full.  Not sure how it got full and not sure how to get computer working again with no room on hard drive.  Help please.

    With MacBooks it's only the Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody that don't have FireWire. Which one is hers?
    You can get a larger hard drive (sounds like she needs one) and an external case. Put the larger hard drive in the MacBook and do a fresh install of the Operating System and the old hard drive in the external case.
    For a hard drive try Newegg.com. For larger drives go to the left hand side.  http://www.newegg.com/Store/SubCategory.aspx?SubCategory=380&name=Laptop-Hard-Dr ives&Order=PRICE
    Or OWC  http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Here's a cheap SATA external hard drive case on eBay http://cgi.ebay.com/USB-2-5-SATA-HDD-HARD-DRIVE-EXTERNAL-ENCLOSURE-CASE-BOX-/120 636286623?pt=PCC_Drives_Storage_Internal&hash=item1c167ba69f
    Here's video instructions on replacing the hard drive on the Aluminum Unibody http://eshop.macsales.com/installvideos/macbookpro_13_unibody_hd/
    Here's video instructions on replacing the hard drive on the White Unibody http://eshop.macsales.com/installvideos/macbook_13_09_unibody_hd/

  • My macbook won't strat and show file with question mark on it?

    Hi
    is there anyone can help me please my macbook can't boot and show file with "?"mark on it. 

    Restart and hold command + R (both keys) down. The screen will show four options. Select Disk Utility. Next click on the name of your drive, and run Repair Disk.
    After that is done, restart in the usual way.

  • MacBook Pro - Word, Excel, and Email always open at reboot

    Every time I reboot my Macbook Pro word, excel, and the email program always open. I have quit the programs numerous times before shuting the computer down, checked the start up section under - Preferences/Users&Groups/Login Items - and nothing is there. It is very annoying. There has to be a default way to get this to stop. Any help is appreciated.

    Open  > About this Mac, and check what OS X version you are using. If it's 10.7 or 10.8, the next time you are going to turn off or restart your computer, go to  > Shut Down, and unmark "Reopen windows when logging back in". Doing this, no applications other than the ones set up to start automatically will appear the next time you start your MacBook Pro

  • HT201321 Sometimes I cannot wake my IMac (Lion) after putting it to sleep and I am forced to restart. Any help much appreciated

    Ocassionaly I cannot wake my iMac and I am forced to restart.

    Hey aristoklis,
    To start off, I would try resetting the SMC to see if that resolves the issue. You can read how to here:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    Have a great day,
    David

  • Macbook pro won't sleep and is super slow

    Hello,
    My macbook has suddenly become very slow at everything that it does (scrolling, typing, openning new tabs in browsers, literally everything) and when I close the led, the little LED light beside the remote sensor remains on. Doesn't go into blinking mode. When the macbook is awake and working, that light is off (don't remember if this is norm). I have read the previous blogs, I've tried all the resets and I've tried permission repairs. I just don't know what to do anymore.
    Does anyone have any suggestions, or solutions?
    F

    If there is anything in the card-reader slot, including an empty adapter, remove it and test. Otherwise see below.
    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.evenflow.dropbox com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; BI () { $PB\ :CFBundleIdentifier "$1"; }; LC () { $2 launchctl list | awk 'NR>1 && !/0x|\.[0-9]+$|com\.apple\.(AirPortBaseStationAgent|launchctl\.(Aqua|Background|System))$/{print $3}' | grep -Fv "$1"; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"and $((l-25)) more line(s)"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps Model; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^EO]|x([^8]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm POST; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/s/^.*://p' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;/Apple|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm Heat; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; o=; fdesetup status | grep -q On && o=On; Ps FileVault; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel log"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; bi=`egrep '\.(kext|xpc)/(Contents/)?Info.plist$' <<< "$sys" | while read i; do [[ -f "$i" ]] && BI "$i"; done`; o=`kextstat -kl | grep -Fv "$bi" | cut -c53- | cut -d\< -f1`; Pm "Kernel extensions"; li=`egrep 'Launch[AD].+\.plist$' <<< "$sys"`; jl=`while read f; do [[ -f $f ]] && $PB\ :Label $f; done <<< "$li"`$'\n'"$bi"; R && o=`LC "$jl" sudo`; Pm Daemons; o=`LC "$jl"`; Pm Agents; o=`for d in {/,}L*/Lau*; do M; done | grep -Fv "$li" | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; p=`lsbom -pfc /var/db/*/*.BSD.bom | sed -En '/peri.+\/.+\./s/^\.\/[^/]+//p'`; [[ "$b" && "$l" && "$p" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do i="$d"/Info.plist; [[ -f "$i" ]] || continue; ID=$(BI "$i") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Shared libraries"; o=`find -L {,/u*/lo*}/e*/periodic -type f -exec cksum {} \; | awk '{print $3"\t"$1}' | grep -Fv "$p" | awk '{print $1}'`; Pm "Periodic scripts"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=; defaults read /Library/Preferences/com.apple.alf globalstate | grep -q 0 || o=On; Ps Firewall; o=`scutil --proxy | egrep 'Prox.+: [^0]'`; Pm Proxies; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print}; /v6:/{if ($2 !~ "A") print}'`; Pm TCP/IP; [[ "$I" =~ [AW]i ]] && { o=`/S*/*/P*/*/*/*/*/airport -I | awk '/lR/{print $2}'`; o=$((o<=-87?o:0)); Ps RSSI; }; R && o=`sudo profiles -P | grep : | wc -l`; Ps Profiles; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc hosts <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "App check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`find .??* -path .Trash -prune -o -type d -name *.app -print -prune`; Pm "Hidden apps"; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font issues"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps UID; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for

  • Restore Points Deleted w/dual boot & Windows 7

    Dual booting with two partitions on another disk with Windows 7 / Windows 10 and when I returned to Windows 8.1 or Windows 10 from Windows 7, restore points are deleted and remain in Windows 7? Is there a solution? Thanks Hello

  • Problem with ora:addChildNode()

    Hi, in wsdl file i have such a xml element defined <types> <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ntu.ac.uk/bpel/travelagency/" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="intArray

  • [solved] GTK3: Fonts not rendering smoothly

    Here's GTK3 app and GTK2 app side by side: Fonts are not rendering correctly on any GTK3 app. I use Ubuntu's patched versions of freetype2, fontconfig and cairo from AUR: freetype2-ubuntu fontconfig-ubuntu cairo-ubuntu How can I get GTK3 apps to rend

  • Java install kit for mac built under windows

    Hello, sorry if I posted this thread in a wrong section but i didn't know where else. I have developed an application in java and made a installer for windows platform. Now I am asked to build a installer for mac OS X. The big problem is I have no id

  • Printing big Image throws OutOfMemoryError

    Hello, I am new to "Java Printing", this is my first attempt to print somthing in Java, I am trying to print several JTextPanes and a big PNG image as a background for them. Sometimes everything work fine, but sometimes it throws java.lang.OutOfMemor