Mail will not open
Mail will not open on my Mac OSX running lion 10.7.5. When I click the icon in applications or the dock, Mail appears in the Menu bar but nothing else happens. HELP
iMac, Mac OS X (10.7.4)
Mail will not open on my Mac OSX running lion 10.7.5. When I click the icon in applications or the dock, Mail appears in the Menu bar but nothing else happens. HELP
iMac, Mac OS X (10.7.4)
Back up all data.
Step 1
If Mail crashes or freezes immediately on launch, try the steps suggested on this page. Sometimes a corrupt message on a mail server can be deleted by logging in to the server through its web page. If Mail still crashes on launch, skip to Step 3.
Step 2
Select all your mailboxes, and then select
Mailbox ▹ Export Mailbox...
from the Mail menu bar. Export the mailboxes to the Desktop folder.
Make a note of the settings for all your Mail accounts – everything you'd need to reconstruct the settings from scratch.
Quit Mail.
Step 3
In the Finder, hold down the option key and select
Go ▹ Library
from the menu bar. Move the following items from the folder that opens to the Desktop:
Note: you are not moving the Mail application. You’re moving a folder named “Mail.”
Launch Mail. It will behave as if you were setting it up for the first time. Go through the setup process with one of your accounts, using the information you noted earlier. Test. If Mail works now, recreate the rest of your settings.
If there’s no improvement, quit Mail and put back the items you moved to the Desktop, replacing any newer ones that may have been created in their place. Stop here and post your results.
Step 4
This step should not be necessary with IMAP or Exchange mailboxes, because they synchronize automatically with the server. Nevertheless, if the mailboxes are very large, importing them may spare you the need for a long download.
If you took Step 2, import the mailboxes you exported:
File ▹ Import Mailbox...
If you skipped Step 2, look inside the Mail folder on the Desktop for a subfolder Mail/V2/Mailboxes. Import the mailboxes it contains.
Test. If Mail is still working, delete the items you moved to the Desktop in Step 3.
Any chance you can help me? My mail app does not open
9/12/17 1:12:13.152 PM com.apple.xpc.launchd[1]: (com.teamviewer.service[2931]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/MacOS: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:13.152 PM com.apple.xpc.launchd[1]: (com.teamviewer.service) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
9/12/17 1:12:14.508 PM com.apple.xpc.launchd[1]: (com.teamviewer.desktop[2933]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/Helpers: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:14.508 PM com.apple.xpc.launchd[1]: (com.teamviewer.teamviewer[2932]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/MacOS: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:14.508 PM com.apple.xpc.launchd[1]: (com.teamviewer.desktop) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
9/12/17 1:12:14.508 PM com.apple.xpc.launchd[1]: (com.teamviewer.teamviewer) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
9/12/17 1:12:23.159 PM com.apple.xpc.launchd[1]: (com.teamviewer.service[2934]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/MacOS: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:23.159 PM com.apple.xpc.launchd[1]: (com.teamviewer.service) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
9/12/17 1:12:24.516 PM com.apple.xpc.launchd[1]: (com.teamviewer.teamviewer[2936]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/MacOS: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:24.516 PM com.apple.xpc.launchd[1]: (com.teamviewer.desktop[2935]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/Helpers: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:24.516 PM com.apple.xpc.launchd[1]: (com.teamviewer.teamviewer) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
9/12/17 1:12:24.516 PM com.apple.xpc.launchd[1]: (com.teamviewer.desktop) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
9/12/17 1:12:33.161 PM com.apple.xpc.launchd[1]: (com.teamviewer.service[2937]) Service could not initialize: Unable to set current working directory. error=2, path=/Applications/TeamViewer.app/Contents/MacOS: 14C2043: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2
9/12/17 1:12:33.162 PM com.apple.xpc.launchd[1]: (com.teamviewer.service) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
YO, I have not gone through any of this headache, but my mail will not open, if I just reinstall OS X completely will it work? Also, how will I do that?.... I tried the following:
I tried restarting "Mail"
I force quit mail
I restarted my computer
I closed all other apps
Opened mail from both launchpad and finder
I repeated steps above in different sequences
I have had no luck.
Note:
I am running:
Note:
Recently I have done the following:
Played around with dual booting linux.
wiped my computer, (twice) from errors and corrupt partitions.
Went through an "Internet Recovery Mode" process Last Sunday.
My mail has been failing, (I think) since my last wipe on Sunday.
Warren
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, or if a firmware password is set, or if the startup volume is a Fusion Drive or 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.
Please post a screenshot that shows what you mean. Be careful not to include any private information.
Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.
Please read this whole message before doing anything.
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.
The purpose of this test 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 in OS X 10.7 or later, 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.
1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
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) at the request 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, under the conditions in which the problem is reproduced. 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:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[45]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}')printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */ /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ s/ *:$//;x;s/\n//;/Apple|Genesy|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;} ' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/:/;END { if(NR<100)print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}')print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR==2'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' ' s/^.{52}//;s/ .+//p ' ' /Launch[AD].+\.plist$/;END{if(NR<100)print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' '/\.(framew|lproj)/d;/plist:|:.+(M.+exec|scrip)/s/:[^:]+//p' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/;END{if(NR<100)print "/System/"};' '/^\/usr\/lib\/.+dylib$/p' '/\/etc\/(auto_m|hosts[^.]|peri)/s/^\.\/[^/]+//p' ' /\/(Contents\/.+\/Contents|Frameworks)\//d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5
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.
At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try 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.
________________________________
If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.
There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.
*The linked support article refers to OS X 10.9 ("Mavericks"), but the procedure is the same for OS X 10.7 ("Lion") and later.
Back up all data to at least two different storage devices, if you haven't already done so. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
Erase and install OS X. This operation will destroy all data on the startup volume, so you had be better be sure of your backups. If your Mac was upgraded from an older version of OS X, you may need the Apple ID and password you used.
When you restart the computer, the Setup Assistant will launch to take you through the initial setup process. Follow the prompt to transfer the data from one of your backups. Don't transfer the Guest account, if it was enabled on the old system.
If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode.
If all the facts are as you've stated, I can't come up with any theory except that the hardware is faulty.
Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
Keeping your confidential data secure during hardware repair
Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
*An SSD doesn't need to be zeroed.
Launch the Console 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 Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
12/05/2014 12:32:36.356 Mail: Using V2 Layout
12/05/2014 12:32:40.253 [0x0-0x26026].com.apple.mail: The operation couldn\u2019t be completed. (AOSErrorDomain error 5002.)
12/05/2014 12:32:40.253 [0x0-0x26026].com.apple.mail: (null)
Hope this is what you need. Thanks for your patience.
If you haven't already done so, please log out or restart the computer and try again. If there's no change, open the iCloud pane in System Preferences and uncheck the Mail box. Then check it again and test Mail.
Have followed your instuctions to the letter, except when I tried to Login with the Shift held down it would not let me login, so I released Shift key and I was allowed to login. But problem still persists.
Mail will not open