Mail causing Sleep Event?

For some time, I've been having a somewhat regular problem where my PowerMac G5 2x2 (Oct. 03) will wake from sleep in response to a mouse or keyboard click, then immediately go back to sleep. After rewaking, everything's normal.
On searching for the line Console shows for this:
Jun 29 19:35:16 G5 kernel[0]: System Wake
Jun 29 19:35:16 G5 kernel[0]: Wake event 0020
Jun 29 19:35:16 G5 kernel[0]: IOPMSlotsMacRISC4::determineSleepSupport has canSleep true
Jun 29 19:35:16 G5 kernel[0]: USB caused wake event (OHCI)
Jun 29 19:35:16 G5 kernel[0]: rtclock timebase_callback: late old 1000000000 / 33332472 new 1000000000 / 33332472
Jun 29 19:35:16 G5 kernel[0]: EIR is not supported.
Jun 29 19:35:16 G5 kernel[0]: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Full Duplex (PHY regs 5,6:0x45e1,0x0005)
Jun 29 19:35:16 G5 /System/Library/CoreServices/backupd[733]: Starting standard backup
Jun 29 19:35:16 G5 Mail[189]: -[POP3Connection fetchMessages:] failed: Error Domain=NSPOSIXErrorDomain Code=54 UserInfo=0x3b4c980 "The attempt to send data to the server “(null)” failed."
Jun 29 19:35:17 G5 configd[14]: arpclienttransmit(en0) failed, Network is down (50)
Jun 29 19:35:24 G5 kernel[0]: System Sleep
I found this thread showing the same event related to Mail.
http://discussions.apple.com/thread.jspa?threadID=1223555
Question: is there a way to make Mail wait a few seconds after the OS wakes before checking mail?
Also, I wonder if Time Machine may play a role here, as it often wants to do a backup immediately upon waking.
Seems as if the OS should impose a blackout until a few seconds after the OS is fully awake.

I thought of trying that, but only as a diagnostic. What if I want Mail to check automatically? Why should that cause spurious sleep events?

Similar Messages

  • Problem while sending mail through posprocess event hadler  inOIM 11g r2

    Hi,
    i am sending mail through posprocess event hadler inOIM 11g r2 when user is created.But i am getting following error in resolver class.
    java.lang.NullPointerException
    at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:102)
    at oracle.iam.notification.impl.util.NotificationUtil.getUserPreferences(NotificationUtil.java:83)
    at oracle.iam.notification.impl.NotificationServiceImpl.notify(NotificationServiceImpl.java:523)
    at oracle.iam.notification.impl.NotificationServiceImpl.notify(NotificationServiceImpl.java:271)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at oracle.iam.notification.impl.util.NotificationUtil.getUserPreferences(NotificationUtil.java:83)
    at oracle.iam.notification.impl.NotificationServiceImpl.notify(NotificationServiceImpl.java:523)
    at oracle.iam.notification.impl.NotificationServiceImpl.notify(NotificationServiceImpl.java:271)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    Edited by: 853559 on Sep 25, 2012 6:27 AM

    If you are using Custom Notification XML, make sure to have StaticData element in it. StaticData defines the entitites that can be used in the notification template, and these entities attributes are used to define substitution tokens in the template.

  • Recognizing dates in mail and adding events to iCal

    How do I make OSX recognize dates in mail and add events to iCal?
    This works on my laptop, but not my iMac. They have the same new version of OSX and iCal.
    I cant figure out what setting makes this work on one machine and not the other.
    Thanks
    CM

    First make an iCal backup, File > Export > Archive.
    Remove the following to the trash and restart your computer:
    Home > Library > Caches
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache)
    If the issue persists:
    Remove the following to the trash and restart your computer:
    Home > Library > Caches
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    __NOTE: Removing these files will remove any shared (CalDAV, exchange, etc.) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    Hope that helps.

  • Verbose boot stuck at - USB caused wake event (EHCI)

    I've been having problems booting my mac mini for a while. i thought I resolved the issue by re-installing the mini from the boot disks but after trying to upgrade to Leopard its now stuck one more time at the grey apple logo.
    Booting in verbose mode everything stops at
    Wating on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    USB caused wake event (EHCI)
    any thoughts on where I should go from here? Is it a visit straight to a "genius"?
    thanks everyone

    I've been having problems booting my mac mini for a while. i thought I resolved the issue by re-installing the mini from the boot disks but after trying to upgrade to Leopard its now stuck one more time at the grey apple logo.
    Booting in verbose mode everything stops at
    Wating on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    USB caused wake event (EHCI)
    any thoughts on where I should go from here? Is it a visit straight to a "genius"?
    thanks everyone

  • Causing an event in one VI when called from another

    Hi All
    I wonder if anyone could give me some advice on this. I have a VI, which displays the value of a text control, as a ‘value change’ event using an indicator. If I run this, having checked the ‘update will typing’ parameter for the control, the VI runs as expected and the indicator displays what I type. If I call the VI by reference from another and pass a string to the text control using the Set Control Value [Variant] method, the indicator remains blank, even though I can see the text control is being updated. I’m guessing this is because the event structure is expecting a user generated event which is no longer occurring. Is there any way to re-configure the code so that a value passed in this way, would be seen as an event? I've tried to get some idea from the Labview examples but not being too familiar with the way events work, I'm struggling to make sense of it. (I’m using Labview 7.1)
    Thanks
    Bruce

    knight2 wrote:
    Thanks tbob & Christian.
    Can I just check this? I need to create a new control or indicator in the main VI and create a reference to it. This would then be passed to the subvi and I’m assuming, wired to the Value (signaling) property? If not, where should it go? I'm not too clear on this bit.
    That said, I currently call the subvi from main, by reference. This was because I needed the subvi front panel to be visible before sending text to it. As I’m not passing any values via the connector pane, can the control/indicator reference still be passed?
    Thanks
    Bruce
    Yes, your first paragraph is correct.  Pass the ref to the subvi and use Value(Sgnl) property node in the subvi.  This causes an event for the control, and since it is a reference, the event gets carried to the source of the reference, which is in Main.
    To pass control references (or any object) to a subvi that is called by reference, you can use the Call by Reference method as shown in the attached Main vi.  This allows you to pass items into and out of the subvi called by reference.  If you use the standard way and use GetControlValue and SetControlValue, I don't think you can cause an event in Main by changing a value in the subvi.  If you use the method in my vi, you can use the Value(Sgnl) property in the subvi to cause an event in the Main vi.  This is the only way I know how to send events from a subvi to the main.
    Download the subvi first and put it in some directory.  Then download the main and put it in the same directory as the subvi.  Then when you open Main, it should find the subvi.
    - tbob
    Inventor of the WORM Global
    Attachments:
    MainVI_Ref.vi ‏14 KB
    SubVI_Ref.vi ‏11 KB

  • Mail based on event raise

    Hi guys,
    New to SAP CPS, but need help in setting up the mail alerting based on following scenario:
    Job chain contains 3 jobs: job_a, job_b, job_c. Custom mail definition is job_mail.
    Path flow job_a->job_b->job_c.
    Now in the chain flow, let us assume job_a works fine, job_b fails, the customer scenario is such that even if the job_b fails, the job_c should run. But job_b on error status should raise event say “EV_SendEmail”. My custom defined job_mail runs on wait event "EV_SendEmail" should run on the raise of this event. The job currently runs, sends out the email, but sends the job log and the job id of this job “job_mail”. Not the job_b’s id or the job_b’s log file.
    How do I make this scenario work?

    Hi Nanda,
    I had actually tried your suggestion, it did not work(My source html had a syntax bug). But after what you told, I modified my source, now it gives me this error. Not sure where I am missing "=".
    If you could let me know this, it would be great!
    Screenshots are below.
    I tried it like this:
    Mail job source:
    Event definition:
    Job definition to raise event:
    Error in CPS
    Warm Regads,
    Pavan

  • Mail causes Finder/Dock to hang

    Immediately after updating to iTunes 9.0.2 (25) I find that opening Apple Mail causes the Dock to refuse to open, and the computer (MacPro, early 2009, OS 10.6.1) must be rebooted to access any Finder functions.

    Hi Bob:
    Did you also run repair disk from your software install DVD? That is not the same thing as permission repair.
    If you have done that and it did not help, rebuild the mailbox(s) in the Mail application. Then try trashing a couple of preference files and restarting.
    com.apple.finder.plist
    com.apple.dock.plist
    I am still puzzled about why the programs/functions you mention seem to be interrelated.
    Barry

  • Mail prevents sleep and causes permanent disc activity

    Hello!
    Since some time my Macbook Pro won't sleep automatically when Mail is open, regardless of battery use or plugged in. Before upgrading to Lion, this was not an issue.
    As soon as I quit Mail, it goes to sleep after the specified time. Other programs do not seem to interfer with sleep.
    I noted that the disc is spinning and working constantly.
    pmset -g does not show any abnormal results:
    Active Profiles:
    Battery Power                    -1
    AC Power                    -1*
    Currently in use:
    standbydelay          4200
    standby          0
    womp                    0
    halfdim          1
    panicrestart          157680000
    gpuswitch          2
    hibernatefile          /var/vm/sleepimage
    sms                    1
    networkoversleep          0
    disksleep          10
    sleep                    10
    hibernatemode          3
    ttyskeepawake          1
    displaysleep          3
    acwake                    0
    lidwake          1
    When checking with fs-usage I received lots and lots of entries about activity similar to:
    01:17:34.538665  lstat64                                /Users/tim/Library/Mail/V2/POP-(user account data removed)/Sent Messages.mbox/6E55D917-94B7-4EEE-86ED-F6EC1B1DE3A9/Data/5/6/Attachments/65419/2 .93              0.000003   Mail.433341
    etc.
    And also:
    01:17:34.538688  getdirentries64   F=29   B=0x0                                                                                                                                                                                 0.000005   Mail.433341
    01:17:34.538696  close             F=29                                                                                                                                                                                         0.000006   Mail.433341
    01:17:34.538708  open              F=29       (R_____)  /Users/tim/Library/Mail/V2/POP-(user account data removed)/Sent Messages.mbox/6E55D917-94B7-4EEE-86ED-F6EC1B1DE3A9/Data/5/6/Attachments/65419/2 .10              0.000006   Mail.433341
    01:17:34.538709  fcntl             F=29  <SETFD>                                                                                                                                                                                0.000001   Mail.433341
    01:17:34.538710  fstatfs64         F=29                                                                                                                                                                                         0.000001   Mail.433341
    01:17:34.538716  getdirentries64   F=29   B=0x58                                                                                                                                                                                0.000006   Mail.433341
    etc....
    This activity is present as long as mail is open.
    Could this be the reason for not-sleeping? And how do i resolve this?
    Any help is appreciated!
    Thanks a lot in advance!

    After some lengthy protocol studies I noticed that the file activity kept going back to a specific group of attachments. I re-checked in mail and deleted the problematic mail. Since then I did not notice any more suspicious file activity in fs_usage for mail.
    What remains is the issue of the sleep timer and the mail retrieving rhythm:
    When I now set the Mail timer for retrieving mail to 5 mins and leave the sleep timer at 10 mins, the computer does not go to sleep. Setting Mail to 15 mins and sleep to 10 mins the macbook eventually goes to sleep - as at some point the mail timer has to be slower than the sleep timer.
    So this solves the issue for me but leaves me with a less frequent mail retrieval. Oh well...
    Maybe this helps someone else with a similar problem!

  • Mail not sending Event to iCal after upgrade

    I did the same as everyone else and upgraded as soon as I saw the message to upgrade mobileme ical. Now when I try to create an event in iCal using a date in an email after clicking on "Add To iCal" the popup just freezes. I've quited and rebooted Mail as well as iCal and no luck.
    Anyone else have this issue? Better yet, did anyone else find out how to fix it?
    With 4 boys I rely on that convenience big time!
    Maria

    The general approach at this time is to ask if you've checked for any problematic fonts (all languages) with Apple's Font Book (look in the Applications folder). Find and remove all duplicates also.
    Start there to be sure all fonts that are in play come out with a clean bill of health.
    Don't hesisate to perform wholesale deletion of old and/or little used fonts - be skeptical of anything that has come from Office 2008, including those related to an Equation Editor installation.
    By all means be sure any 3rd party apps AND plug-ins are Snow Leopard compatible.
    An additional measure is to clear the existing font caches:
    http://www.macworld.com/article/139383/2009/03/fontcacheclear.html
    That said, 10.6.2 release notes have this to say about fonts:
    http://support.apple.com/kb/HT3874
    Fonts fixes provided for:
    • an issue with font spacing
    • an issue in which some Fonts are missing
    • font duplication issues
    • an issue with some PostScript Type 1 fonts not working properly
    Good luck in any case.

  • How can I change a Mail To Do event to a different calendar?

    Hi all,
    When I receive invites from work colleagues in Mail.app they show up in iCal notifications for accept/maybe/reject (or whatever the terms are) actions. All good.
    However, when I accept them, I'm unable to save them in a "work" calendar. They seem to automatically get saved in the "On My Mac" - "Mail To Do" location and there is no facility to change the calendar.
    Would appreciate if anybody could shed some light on the "Mail To Do" calendar type and how others go about creating events in a work calendar when accepting invites.
    Thanks in advance,
    Anthony.

    Sorry, no solution here, just another 'me too'. This only popped up in the last couple of months. It's mainly sending me spare when I get an invite from another person and it adds it to this 'Mail To Do' calendar (under 'On My Mac' in iCal) automatically and I'm unable to move it to a calendar that gets synced with my phone. I've missed a number of meetings because of this problem.

  • Viewing Sent Mail Causes Mail to Quit Unexpectedly

    I am on an iMac, OS X 10.6.8 using Mail 4.5.  I have two different email accounts that I use.  No problems with sending messages, but I can not view the copy in the Sent folder for either mailbox.  When I try to open a Sent message, Mail crashes with a message 'Mail has quit unexpectedly' and no other information. I really need to access copies of my Sent messages!  This happens with both email accts.

    I have this too and it's driving me crazy. Wish some expert could address it, 'cause I'm not finding solutions anywhere.
    Bit since you posted about this a long time ago, did you figure a fix? Do you remember what it was?

  • Can't fetch mail after sleep

    I have a really annoying problem with an iMac and can't just figure out what's wrong:
    Since mid December this iMac (model 11,1: 2.66Ghz core i5/OS 10.6.5) has been dropping the network connections when it's waken up from sleep mode.
    If you try to hit the "Get mail" button after that, Mail tells +"the connection to the server 'nnn' on port 995 timed out."+
    It doesn't matter if youre using port 995 or 110, they both are allowed on the server we're using and there's no problems with the rest of the Macs in our office with similar Mail and Network configurations.
    And the computer drops the connection to our file server at the same time as well. The OS is up-to-date.

    I have exactly the same problem on Snow Leopard with Mail 4.5 except re-booting doesn't work. even re-installing Mail has made no difference.

  • Flip4mac/quicktime causes sleep problems

    I installed Flip4mac and when i try to watch YouTube the computer spontaneously goes to sleep. I uninstalled and it stopped, but it's caused me so much grief in the past that it started happening when i used quicktime among other things and i had to reinstall my system software.
    Does anyone know why this would happen? Is it definitely Flip4mac or is something else going on with my system?
    What would cause the computer to just sleep in the middle of multimedia?
    I've had hardware checked and cleared of problems twice.

    I don't believe there's anything in Flip4Mac code that sends commands to the system like that.
    Do you have a "hot" corner set up for screen saver? Maybe there's something goin on there. Do you have a schedule set up for sleep in energy saver?
    Try this simple test; create a new user account and head over to youtube. Then playback something and see what happens. If things work without sleeping, then there's something in your primary user account causing the weirdness.

  • Report Viewer refresh event causing window event problems

    I have a winform with a report viewer control and a couple of grids.  When a cell in one of the grids is edited the report gets refreshed (when focus is lost from the cell) this refresh appears to empty the event stack for the whole window.
    For example if I edit the cell then click the ok button the report refreshes and the button click event is lost.
    Also if I edit the cell and click on the report viewer then the grid itself stops firing events outside its control.
    Can anyone explain this behaviour so I can work around it?

    I am handling the celledited event on the grid (janus gridEX control) which fires when the focus is lost from the grid and the user has edited something.
    The event code calls viewer.RefreshReport() which successfully updates the report with the new data (via the common dataset both use as a data source).
    This is all running in a dialog box.
    The problem occurs when the user edits the grid and then immediately clicks the ok button.  The call to RefreshReport seems to stop the button click event firing.
    The second problem occurs when the user edits the cell then clicks on the report viewer to cause the celledited event to fire and the report to refresh.  Everything seems to work fine however if the user tries to edit a cell again the celledited event does not fire anymore unless you click on another row in the grid itself.  This behaviour only happens when clicking on the CR viewer when clicking any other control the behaviour is as expected.
    Whilst the CR viewer may not directly be the problem something is occuring when it is refreshed and I would like to understand what is happenening to cause the strange behaviour.

  • Attachment to mail and Weekly events in cakendar

    Please Apple stop making IOS look beautiful and start giving us functional and practical apps. Why can we still not add attachments from within an email? And please please if I add a new event and select repeat Weekly why does it STIL NOT GIVE ME DAYS OF THE WEEK TO REPEAT?  I am a personal trainer and clients train same time on dif days. Now I have to create dif events for each session.

    Hi Rick,
    I've checked all the settings and everything is fine.
    The problem is with sending attachment.When we are sending mail without attachment, it is working fine.
    Also attachment is getting generated perfectly.I can see the attchment at work item of mail send through SWI1.
    One more point I want to add that attachment is in pdf format.
    Thanks & Regards,
    Anirban

Maybe you are looking for

  • Attempt to move main timeline from inside a movie clip breaks menu buttons.

    I am attempting to have the main timeline move from a stopped position over a movie clip to frame 1, where my start menu is. The code I'm using does move the timeline but in doing so it somehow breaks the 4 buttons I have in frame 1. My code in the m

  • IWeb and photo corrections and importing photos

    Yeah, another iWeb problem. I both love and hate the application. I hadn't had this problem before now. I imported many, many photos into albums (via Aperture...) before noticing that the photos in download mode on my website were showing up at half

  • Fix that works for the new 21inch 27 inch Imacs Choppy Video Issue. ******

    I found the fix on the World of Warcraft forums. The problem is with Air Port. Disable Air Port and plug your computer directly into your Router. My games and video run great. I'm getting 60fps in World of Warcraft and all the flash videos work great

  • How to conver string date to sql date

    Hi, i have a html form which will populate the date in the text field using popup window in the mm\dd\yy format . In the servlet i first retrieve the value as string object and need to store that one the database. using setDate method of prepared sta

  • Data storage in aggregates,

    Hi Gurus,   Good morning. can any one help me in this issue please. aggregates are the subsets of our infocubes. then where the data is stored in the aggregates. do aggregates have fact tables. if fact tables are present in the aggregates then what a