Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac OS X Mountain Lion Slow Safari 6.0.5 Startup

Hello recently I have noticed that it takes Safari on my mac starts up really slowly, but afterwards it runs perfectly. I have reset my modem and safari they have not shown results. I have also gone on to another mac and it starts up fine.

iMac, OS X Mountain Lion (10.8.5)

Posted on Sep 23, 2013 7:22 AM

Reply
19 replies

Sep 24, 2013 8:24 AM in response to ndianaty

Please read this whole message before doing anything.


This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.


Step 1


The purpose of this step is to determine whether the problem is localized to your user account.


Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”


While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.


Test while logged in as Guest. Same problem?


After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.


*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.


Step 2


The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.


Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.


Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.


The login screen appears even if you usually log in 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, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

Sep 24, 2013 3:12 PM in response to ndianaty

Read this whole message before doing anything.


Back up all data.


Quit Safari if it’s running. Then select


Force Quit…

from the menu bar. A small window will open with a list of running applications. Safari may appear in that list, even though you quit it. If so, select it and press return. Close the window.


Step 1


In the Finder, press the key combination shift-command-A to open the Applications folder. Select the Safari icon in that folder and press the key combination command-I to open the Info window. There’s a checkbox in the Info window labeled Open in 32-bit mode. Uncheck it, if checked. Close the Info window and the Applications folder.


If Adobe Flash Player is installed, select

 ▹ System Preferences ▹ Flash Player Advanced

and click Delete All. Close the preference pane.


Hold down the option key and select

Go Library

from the Finder menu bar. Delete the following items from the Library folder (some may not exist):


  • Caches/com.apple.Safari
  • Caches/com.apple.WebKit.PluginProcess
  • Caches/com.apple.WebProcess
  • Caches/Metadata/Safari
  • Preferences/com.apple.WebKit.PluginHost.plist
  • Preferences/com.apple.WebKit.PluginProcess.plist
  • Saved Application State/com.apple.Safari.savedState


Leave the Library folder open. Try Safari again. If it works now, stop here. Close the Library folder. If you still have problems, continue.


Step 2

Triple-click anywhere in the line below on this page to select it:


open $TMPDIR../C


Copy the selected text to the Clipboard (command-C).

Quit Safari again. Launch the 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.


Paste into the Terminal window (command-V). A folder should open. Delete the following items from the folder, if they exist:


  • com.apple.Safari
  • com.apple.WebProcess+com.apple.Safari


Quit Terminal. Close the folder. Launch Safari and test.


Step 3


If Safari still doesn’t work right, quit, go back to the Finder and move the following items from the open Library folder to the Desktop (some may not exist):


  • Cookies/Cookies.binarycookies
  • Internet Plug-Ins
  • Preferences/com.apple.Safari.LSSharedFileList.plist
  • Preferences/com.apple.Safari.plist
  • Preferences/com.apple.Safari.RSS.plist
  • Preferences/com.apple.WebFoundation.plist
  • PubSub/Database
  • Safari


(Note: you are not moving the Safari application. You’re moving a folder named “Safari.”)


Try again. This time Safari should perform normally, but your settings and bookmarks will be lost. The default set of bookmarks will be restored. Delete them all.


If the issue is still not resolved, quit Safari again and put all the items you moved to the Desktop back where they were, overwriting the newer ones that may have been created in their place. You don’t need to replace the files you deleted in step 1. Stop here and post again.


If Safari is now working normally (apart from the lost settings), look inside the “Safari” folder on the Desktop for a file named “Bookmarks.plist”. Select

File Import Bookmarks

from the Safari menu bar. Import from that file. Recreate the rest of your Safari settings. You can then delete the items you moved to the Desktop.


Note: This step will remove your Safari Extensions, if any, and their settings. If you choose to restore them, do so one at a time, testing after each step to make sure you haven’t restored the problem.


If you don’t like the results of step 3, you can undo it completely by quitting Safari and restoring the items you moved or deleted in that step from your backup, overwriting any that were created in their place.

Sep 24, 2013 6:31 PM in response to ndianaty

Please read this whole message before doing anything.

I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.

This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.


These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.


Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.


Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands.


Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.


Launch the 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.


When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.


Step 1


Triple-click the line of text below on this page to select it:

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef

Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.

Step 2


Repeat with this line:

{ sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef

This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.


Step 3

{ launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef

Step 4

ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef

Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.


Step 5

osascript -e 'tell application "System Events" to get name of login items' | open -ef

Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output.


You can then quit Terminal.

Sep 25, 2013 7:18 AM in response to Linc Davis

Here is what the text documents have said


Step 1- Blank


Step 2-

com.microsoft.office.licensing.helper

com.adobe.fpsaud


Step 3-

com.paragon.ntfs.auth

com.google.keystone.user.agent

com.adobe.ARM.22a68319b4d457e170220962fed2e3abacf7a115a150874b0b3bacc5


Step 4-

/Library/Address Book Plug-Ins:

SkypeABDialer.bundle

SkypeABSMS.bundle



/Library/Components:



/Library/Extensions:



/Library/Frameworks:

AECore.framework

AEProfiling.framework

AERegistration.framework

AudioMixEngine.framework

Compressor.framework

Frameworks

FxPlug.framework

HPDeviceModel.framework

HPPml.framework

HPServicesInterface.framework

HPSmartPrint.framework

HPSmartX.framework

MediaServerAPI.framework

Motion.framework

NyxAudioAnalysis.framework

PluginManager.framework

ProFX.framework

ProMetadataSupport.framework

Qmaster.framework

TSLicense.framework

iLifeFaceRecognition.framework

iLifeKit.framework

iLifePageLayout.framework

iLifeSQLAccess.framework

iLifeSlideshow.framework

iTunesLibrary.framework



/Library/Input Methods:



/Library/Internet Plug-Ins:

AdobePDFViewer.plugin

CANONiMAGEGATEWAYDL.plugin

CANONiMAGEGATEWAYLI.plugin

CouponPrinter-FireFox.plugin

CouponPrinter-Safari.webplugin

DirectorShockwave.plugin

Flash Player.plugin

Flip4Mac WMV Plugin.plugin

JavaAppletPlugin.plugin

MacCouponPrinter2.plugin

NPRoblox.plugin

Quartz Composer.webplugin

QuickTime Plugin.plugin

SharePointBrowserPlugin.plugin

SharePointWebKitPlugin.webplugin

Silverlight.plugin

Unity Web Player.plugin

Unused

flashplayer.xpt

iPhotoPhotocast.plugin

nsIQTScriptablePlugin.xpt



/Library/Internet Plug-Ins (Disabled):

Flash Player.plugin



/Library/Keyboard Layouts:



/Library/LaunchAgents:

com.oracle.java.Java-Updater.plist



/Library/LaunchDaemons:

com.adobe.fpsaud.plist

com.leapfrog.connect.shell.plist

com.microsoft.office.licensing.helper.plist

com.oracle.java.Helper-Tool.plist



/Library/PreferencePanes:

Apple Qmaster.prefPane

Flash Player.prefPane

Flip4Mac WMV.prefPane

JavaControlPanel.prefPane

NTFSforMacOSX.prefPane



/Library/PrivilegedHelperTools:

com.leapfrog.connect.shell

com.microsoft.office.licensing.helper



/Library/QuickLook:

GBQLGenerator.qlgenerator

iBooksAuthor.qlgenerator

iWork.qlgenerator



/Library/QuickTime:

AppleHDVCodec.component

AppleIntermediateCodec.component

AppleMPEG2Codec.component

AppleProRes422.component

CanonMJPEGAVI.component

DVCPROHDCodec.component

DVCPROHDMuxer.component

DVCPROHDVideoDigitizer.component

DVCPROHDVideoOutput.component

DVCPROHDVideoOutputClock.component

DVCPROHDVideoOutputCodec.component

DesktopVideoOut.component

FCP Uncompressed 422.component

Flip4Mac WMV Advanced.component

Flip4Mac WMV Export.component

Flip4Mac WMV Import.component

IMXCodec.component

LiveType.component

Motion.component



/Library/ScriptingAdditions:



/Library/Spotlight:

GBSpotlightImporter.mdimporter

LogicPro.mdimporter

Microsoft Entourage.mdimporter

Microsoft Office.mdimporter

iBooksAuthor.mdimporter

iMovie.mdimporter

iWeb.mdimporter

iWork.mdimporter



/Library/StartupItems:

HP IO

HP Trap Monitor

Qmaster



/etc/mach_init.d:



/etc/mach_init_per_login_session.d:



/etc/mach_init_per_user.d:



Library/Address Book Plug-Ins:

SkypeABDialer.bundle

SkypeABSMS.bundle



Library/Fonts:

Pieces NFI

encodings.dir

fonts.dir

fonts.list

fonts.scale

pieces nfi.otf

pieces nfi.ttf

youmurdererbb_reg.otf



Library/Input Methods:

.localized



Library/Internet Plug-Ins:

.DS_Store



Library/Keyboard Layouts:



Library/LaunchAgents:

com.adobe.ARM.22a68319b4d457e170220962fed2e3abacf7a115a150874b0b3bacc5.plist

com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.BB6F61AE-E8C3-4CFF-B220-C22 73F472F4C.plist

com.apple.CSConfigDotMacCert-@me.com-SharedServices.Agent.plist

com.google.keystone.agent.plist



Library/PreferencePanes:


Step 5-

Hp Scheduler

Sep 25, 2013 8:08 AM in response to ndianaty

I hope that the information you've provided is accurate. Otherwise this is going to be a big waste of time, and the problem won't be solved.

Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.

First, empty the Trash.

Triple-click the line below on this page to select it, then copy the selected text to the Clipboard (command-C):

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l

Launch the 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.

Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.

The output of this command, on a line directly below what you entered, will be a number such as "41." Please post it in a reply.

Sep 26, 2013 9:05 AM in response to ndianaty

Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.

This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.


Step 1

If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null

This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.

Step 2 (optional)


Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.

Boot into Recovery. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open.

In the Terminal window, type this:

res


Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword


Press return. A Reset Password window will open. You’re not going to reset a password.

Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

Mac OS X Mountain Lion Slow Safari 6.0.5 Startup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.