Testing system events (shutdown/restart)

Is anyone aware of a way to determine what event was sent to loginwindow to cause a system shutdown.. Im basically looking for a way to test for the events of kAELogOut
kAEShowRestartDialog
kAEShowShutdownDialog
kAERestart
kAEShutDown
as documented in http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Artic les/BootProcess.html#//apple_ref/doc/uid/20002130-114618-BAJGBJHI
thanks

You need to implement applicationShouldTerminate and the documentation is pretty explicit that your app doesn't get told who's asking it to quit but I'll assume you're up to speed on all that.
You would need to poll AppleEvent or the loginwindow process or come up with some other way of determining who's asking you. I've seen this solution - it isn't pretty but it's the kind of thing you'd need to think about doing.
http://myztik.katan.com/?p=176
I'm not aware of a way to use BSD level kqueue to get System event calls but that doesn't mean there isn't one. Even if it is possible it means your App would need to constantly deal with notifications you don't care about. Also keep in mind your applicationShouldTerminate will get called for every quit so there won't always be a Systemwide notification... it could just be the Application's Quit command.
HTH,
=Tod

Similar Messages

  • IPs system events and restart

    Hi,
    I am looking at monitoring the IDS system events like adding users/sensor application restart,interface down with a SDEE client.Does system events like this get logged in detail to the event store to be picked up by the API ...or is there something i need to do with my CIPS ver 6 to get it across with verbose messages .
    Thanks and appreciate

    Simply go into your IPS and create an "Event Action Filter." Simply modify the source address with that of your scanning system. You can leave the rest pretty much stock or, adjust the destination to the subnet of your DMZ. Also, you'll want to keep an eye on the areas to subtract. Making sure to take away the deny actions, and if necessary, reporting as well.
    http://www.cisco.com/en/US/docs/security/ips/6.1/configuration/guide/ime/ime_event_monitoring.html

  • Can I download a file in different sessions or should it be in a single session? In other words can I pause the download of a file, shutdown/restart my system and then resume download from where I left off? Or will it start from the very beginning?

    Can I download a file in different sessions or should it be in a single session? In other words can I pause the download of a file, shutdown/restart my system and then resume download from where I left off? Or will it start from the very beginning?

    If a server supports resuming downloads then the download should continue where it left off.<br />
    You can test that by simple starting a large download and wait a minute or so before pausing it.<br />
    Then you can close and restart Firefox and see if resuming works.
    You can set the pref browser.download.manager.quitBehavior to 2 on the about:config page.<br />
    That will make Firefox ask for confirmation if you want to cancel the download if you close Firefox.
    See:
    * http://kb.mozillazine.org/browser.download.manager.quitBehavior

  • Windows 8 system doesn't get internet, says system event log on service has some problem of STOP 0xC000021A error which system restarts very slowly

    Hi, my system runs on windows 8 on hp laptop envy series. All of a sudden, system event log on service stopped, errors which prevented the system to log on services. It displayed error of STOP 0xC000021A when i use system restore to roll back to previous
    configuration. Also when I tried to refresh my pc, it says i can't do changes as log in was switched to prevent the changes by notification.I don't know what to do next, I tried to put recovery dvds which I made when system was bought, now not at all working.
    Internet is not active, not able to resolve by trouble shooting and system taking lot of time to get dsktop. Previously I used to get my desktop in 10 seconds. Now its 10 min. May be I m infected with virus. My files, they are there. I tried to transfer some
    files by pendrive to another system, now the new system(where i put my files in another system) crashed, windows 7 system which does not display desktop, icons etc and not at all workable. 
    Also in my hp system, i m unable to open control panel. if its opened, it will not go off, when i use task manager, it says explorer and shuts down. I had to force restart the system. Please resolve something to get my hp laptop workable. I m waiting for
    my MS thesis to be working on that. My files are locked and no way to transfer, I fear of infected by virus to another computer also. 
    Pls give instructions to hw to set my hp laptop at the earliest without losing any of the files. Idon't want to reinstall and lose all the data for timebeing. Else, inform me the option for copying data safely. I tried to change the adv startup and recovery
    by changing the boot sequence by DVD but this also shows error 0xC000021A and asks us to see the details. I didn't understand all this. Pls help asap.
    Thanks
    venkata
    STOP 0xC000021A

    MV
    If you can boot either from the win 8 dvd or in safe mode we need the DMP files
    We do need the actual DMP file as it contains the only record of the sequence of events leading up to the crash, what drivers were loaded, and what was responsible.  
    WE NEED AT LEAST TWO DMP FILES TO SPOT TRENDS AND CONFIRM THE DIAGNOSIS.
    Please follow our instructions for finding and uploading the files we need to help you fix your computer. They can be found here
    If you have any questions about the procedure please ask
    Wanikiya and Dyami--Team Zigzag

  • In windows system events observed below bugcheck at the time of restart. Error _02/08/2015 11:27:58 _BugCheck _none _0x00000050 (0xfffff8a01cba4000, 0x0000000000000000, 0x... _1001

    In windows system events observed below bugcheck at the time of restart.

    Hi,
    It seems to be a system crash issue, we need to analyze the crash dump file to narrow down the root cause of the issue. Unfortunately, it is not effective for us to debug the crash dump file here in the forum. I would like to suggest that you contact Microsoft
    Customer Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • System hangs on restart (shutdown works fine)

    I using Gnome 2.30 and kernel 2.6.34, on a ThinkPad T61. When I try to reboot my sytem either from the terminal or with the Gnome shutdown dialogue, it seems to shut down fine, I see the LCD power off, and then it hangs right before it should reboot to the BIOS. I have to hold the power button down to shutdown the system and then restart it.
    I tried reboot=b and acpi=force in the menu.lst, but this did not help.
    Ubuntu 10.04 (dual booted) on the same system does not have this problem. (It's kernel 2.6.32.)
    Restart in Arch used to work fine until recently (sometime in the last couple weeks).

    Just found that using kernel26-lts (i.e. 2.6.32) resolves this problem. Any chance of making reboot work with 2.6.34?

  • *UPDATED* K8N Diamond Plus X16 Shutdown\restart delays

    First off, I'd like to take a moment to pat everybody who helps out on this forum, and that you do a wonderful service to the pc community.   
    My system specs. are below for reference.
    I have recently been experiencing shutdown\restart delays with my computer.  I'm pretty sure it started after I replace my 7900GT with a 7900GTX through an RMA.
    The issue is that now when I shutdown or restart the computer, it hangs.  Windows has shut down, the mouse shuts down, the monitor turns to low power mode, but the pc just sits there for a good 15-20 seconds in this state, then shuts off or restarts (whichever I chose it to do).  I have taken everything out and reseated, including all connections and such.  More recently I have again removed all cards, ram and psu, and vacuumed out the case, also opened the psu and cleaned that out too).  Put it all back together, and works fine still except the problem is still there.  Other then that, the computer pretty well works fine and dandy.  Play games ok (BF2, BF2142, etc...), video editing\encoding (2 or 3 at the same time), CD to MP3 ripping, and all other operations work without a hitch.  Voltage levels seem ok in the bios and through Everest Ultimate Edition 2006.  I can give specs. from these on request.  I've made sure all drivers are up to date.  Checked bios settings, reset bios settings.  Disabled any option for power savings, including wake on lan.  Problem still lingers.  Any other suggestions?   Thanks in advanced!
    L_K

    Ok, tests are in.  Since I have no idea what I'm doing with the mem timings, I set them all to auto.  4@333 = no difference.  1@400 = no difference.  I didn't see a point in trying 2 modules, as I don't see it making any difference at this point.
    I do get a reoccurring error message in the log file relating to a network card and dhcp.
    Event Type:   Warning
    Event Source:   Dhcp
    Event Category:   None
    Event ID:   1003
    Date:      02/04/2007
    Time:      6:15:26 PM
    User:      N/A
    Computer:   THE_BEAST
    Description:
    Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 00161717F7E3.  The following error occurred:
    The semaphore timeout period has expired. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 79 00 00 00               y...   
    If that helps any.
    This is current, and is directly from Everest:
    Memory Controller   
    Type   Dual Channel  (128-bit)
    Active Mode   Dual Channel  (128-bit)
    Memory Timings   
    CAS Latency (CL)   2T
    RAS To CAS Delay (tRCD)   2T
    RAS Precharge (tRP)   2T
    RAS Active Time (tRAS)   5T
    Row Cycle Time (tRC)   10T
    Row Refresh Cycle Time (tRFC)   20T
    Command Rate (CR)   2T
    RAS To RAS Delay (tRRD)   2T
    Write Recovery Time (tWR)   3T
    Read To Write Delay (tRTW)   3T
    Write To Read Delay (tWTR)   1T
    Write CAS Latency (tWCL)   1T
    Refresh Period (tREF)   166 MHz 7.8 us
    DQS Skew Control   Disabled
    DRAM Drive Strength   Normal
    DRAM Data Drive Strength   4  (No Reduction)
    Max Async Latency   7 ns
    Read Preamble Time   6.0 ns
    Idle Cycle Limit   16
    Dynamic Idle Cycle Counter   Enabled
    Read/Write Queue Bypass   8
    Bypass Max   4
    32-byte Granularity   Disabled
    Error Correction   
    ECC   Supported, Disabled
    ChipKill ECC   Supported, Disabled
    RAID   Not Supported
    DRAM Scrub Rate   Disabled
    L1 Data Cache Scrub Rate   Disabled
    L2 Cache Scrub Rate   Disabled
    Memory Slots   
    DRAM Slot #1   512 MB  (PC3200 DDR SDRAM)
    DRAM Slot #2   512 MB  (PC3200 DDR SDRAM)
    DRAM Slot #3   512 MB  (PC3200 DDR SDRAM)
    DRAM Slot #4   512 MB  (PC3200 DDR SDRAM)
    Chipset Manufacturer   
    Company Name   Advanced Micro Devices, Inc.
    Product Information   http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_873,00.html
    Driver Download   http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_2336,00.html
    Driver Update   http://driveragent.com?ref=59
    The windows disk I have is a slipstreamed disk.  I have slipped sp2, and several drivers including my raid drivers, video, motherboard, and I think that's it.  I can, if I really think I need to, install just an sp2 version of windows, and then go from there on my 160GB drive.  In the process, I would disconnect every other drive excluding the dvd drive.  Just to eliminate them from the equation.  Not now, but perhaps on the weekend or whatever.
    Thanks
    L_K

  • Slow shutdown, restart, logout on MBP retina 10.9.3

    I have been unable to shutdown or restart my MBP mid 2012 retina (2.6 GHz Intel Core i70, other than by holding down the power button.  I've tried, I think, almost all suggestions on this forum (safe mode, restore, repair permissions reset PVRAM. etc).  I finally got it to shutdown regularly by eliminating all Divx software on my computer (no easy task), but shutdowns and restarts still hang an unusually long time, about 15 seconds.
    It was suggested I send console information just before my last BOOT_TIME to see if any process in the time after restart command and boot would give any hints.  Here are the entries, and there appear to be some problems but I cannot interpret them.  I have an external WD passport drive connected (which I can eject before restarting with no noticeable effect, and a USB hub, which I also disconnect to no effect).  Any help/suggestions would be appreciated.  I am about to give up...  I would like not to have to re-install the system software..  Thanks for any help!
    6/17/14 10:30:23.684 AM com.apple.launchd.peruser.502[254]: (com.apple.PackageKit.InstallStatus) Throttling respawn: Will start in 8 seconds
    6/17/14 10:30:23.730 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.730 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.730 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.731 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.732 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.733 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.733 AM WindowServer[137]: CGXGetConnectionProperty: Invalid connection 55815
    6/17/14 10:30:23.775 AM 1PasswordAgent[320]: Shutting down 1PasswordAgent 3.8.21 #32009 built Apr 24 2013 16:09:31
    6/17/14 10:30:23.775 AM com.apple.launchd.peruser.502[254]: (com.maintain.SystemEvents[1613]) Exited: Killed: 9
    6/17/14 10:30:23.776 AM com.apple.launchd.peruser.502[254]: (com.apple.EscrowSecurityAlert[1113]) Exited: Killed: 9
    6/17/14 10:30:23.778 AM com.apple.launchd.peruser.502[254]: (com.apple.AirPlayUIAgent[344]) Exited: Killed: 9
    6/17/14 10:30:23.778 AM McAfee Reporter[312]: Application is teminating
    6/17/14 10:30:23.779 AM com.apple.launchd.peruser.502[254]: (2BUA8C4S2C.com.agilebits.onepassword-osx-helper[290]) Exited: Killed: 9
    6/17/14 10:30:23.781 AM com.apple.launchd.peruser.502[254]: (com.apple.FolderActions.enabled[323]) Exited: Killed: 9
    6/17/14 10:30:23.784 AM com.apple.launchd[1]: (com.apple.ShareKitHelper[330]) Exited: Killed: 9
    6/17/14 10:30:23.785 AM NotificationCenter[287]: Connection interrupted.
    6/17/14 10:30:23.788 AM com.apple.launchd[1]: (com.apple.internetaccounts[343]) Exited: Killed: 9
    6/17/14 10:30:23.788 AM loginwindow[74]: ERROR | -[ApplicationManager(AppleEventHandling) sendQuitEventToApp:withDelay:] | sendQuitEventToApp (Seagate Storage Gauge): AESendMessage returned error -600
    6/17/14 10:30:23.795 AM UserEventAgent[11]: Captive: [UserAgentDied:142] User Agent @port=69131 Died
    6/17/14 10:30:23.799 AM com.apple.launchd.peruser.502[254]: (com.seagate.SeagateStorageGauge.plist[310]) Exited: Terminated: 15
    6/17/14 10:30:23.802 AM com.apple.launchd.peruser.502[254]: ([0x0-0x28028].com.apple.AppleSpell[877]) Exited: Killed: 9
    6/17/14 10:30:23.812 AM com.apple.launchd.peruser.502[254]: (com.apple.UserEventAgent-Aqua[258]) Exited: Killed: 9
    6/17/14 10:30:23.823 AM com.apple.launchd.peruser.502[254]: (com.apple.gamed[336]) Exited: Killed: 9
    6/17/14 10:30:33.818 AM loginwindow[74]: ERROR | -[ApplicationManager quitPrivateProcesses] | Private process did not quit
    6/17/14 10:30:33.954 AM sessionlogoutd[1657]: sessionlogoutd Launched
    6/17/14 10:30:33.966 AM sessionlogoutd[1657]: DEAD_PROCESS: 74 console
    6/17/14 10:30:33.966 AM loginwindow[74]: ERROR | -[Application hardKill:] | Application hardKill returned -600
    6/17/14 10:30:34.019 AM airportd[97]: _doAutoJoin: Already associated to “William's Wi-Fi Network”. Bailing on auto-join.
    6/17/14 10:30:34.221 AM shutdown[1658]: reboot by _trustevaluationagent:
    6/17/14 10:30:34.222 AM shutdown[1658]: SHUTDOWN_TIME: 1403026234 221486
    6/17/14 10:30:34.000 AM kernel[0]: Kext loading now disabled.
    6/17/14 10:30:34.000 AM kernel[0]: Kext unloading now disabled.
    6/17/14 10:30:34.000 AM kernel[0]: Kext autounloading now disabled.
    6/17/14 10:30:34.000 AM kernel[0]: Kernel requests now disabled.
    6/17/14 10:30:44.000 AM bootlog[0]: BOOT_TIME 1403026244 0

    That log recorded about ten seconds of activity before the system shut down.
    Uninstall whatever McAfee product has been installed according to its instructions. There is insufficient reason to conclude it is causing any particular behavior but McAfee "anti-virus" products serve no beneficial purpose on a Mac and can only complicate troubleshooting.
    Seagate's disk utilities are also unnecessary and have the potential to contribute to problems.
    Power or other problems related to unexpected system sleep, shutdown, lights or fans call for an SMC reset. Read all the steps.
    Before Resetting the SMC
    Try each of the following steps in this order before you reset the SMC. Test the issue after completing each troubleshooting step to determine if the issue still occurs.
    Press Command + Option + Escape to force quit any application that is not responding.
    Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if it's not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time. The power adapter indicator light will cycle off / on once.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • Strange problem in report Execution in test system

    Hi,
    As something strange going on my program in test system.
    1) Executing the program in Development system using SE38->program name->F8. the program executes and display selection screen fraction of seconds.
    issue:
    When i am doing same process in TEST System(using SE38->program name->F8) the execution process is min 1 or 2 min , then i am gettign the Selection screen.
    I have checked other programs in TEST System but it doesnu2019t happen to any other programs on TEST system.
    Program functionality--
    i am using 2 table and MARA and Z table,  Using Selection screen i am extracting the data into output screen and excel download
    Dispaly
    1)if user select the Radio button output to screen in selection screen
    Display data into screen using some color formatted
    2)if user select the Radio button output to file in selection screen
    I am using OLE Automation Controller to get the Output excel download some color formatted data
    please let me know how to rsolve this type of isssue in Test system...
    plz respond when you find the time.
    Regards,
    AS
    Moderator Message: Urgency downgraded.
    Edited by: kishan P on Apr 13, 2011 11:59 AM

    Yes ..
    INITIALIZATION. Event  i have written code like free the objects ans clear Work Area and Refresh the Internal tables
    And
    *-to highlight the comments on selection-screen
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'RM1'.
          SCREEN-INTENSIFIED = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Add entries to get the search help values
      PERFORM SEARCHELP_REGION.
      PERFORM SEARCHELP_COUNTRY.
    At selection screen event i am getting the search help for the region and country
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_REGN-LOW.
    *Search help for Region
      PERFORM SEARCHHELP_REGN_F4.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_CTRY-LOW.
    *Search help for Country
       PERFORM SEARCHHELP_CTRY_F4.
    using FM :*FM for F4 help for returning the value to be displayed
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    Please let me know is it couse problem in TEST System....
    so how to resolve the issue...
    Regards,
    SR

  • Reporting Services not automatically starting. System event log 7009, Application event: 18456

    For the past month (since Oct 11,2012)  reporting services (SSRS 2008R2) is not starting after the server is rebooted. The service is set to automatically start and starts manually without a problem.  The system event log contains the following error:
    Event ID 7009: A timeout was reached (30000 milliseconds) while waiting for the SQL Server Reporting Services (MSSQLSERVER) service to connect.
    SQL logs :
    The SQL logs has many "Event 18456 Login Failed, State 38" errors when the database engine starts. I assume clients conections are failing because the databases  aren't online yet. None of these 18456 errors coorespond to the account reporting services
    runs under.
    The SQL logs indication Event 7009 occures before the "ReportingServer" database is online so im assuming there is a dependancy but I don't know how to avoid this.
    This problem is occuring on a number of our servers running SSRS (if not all)
    Any ideas?
    Paul

    Hi A141695,
    For Event ID 7009, you can try to do the steps below to resolve it.
        1. Click Start, click Run, type regedit, and then click OK.
        2. Locate and then click the following registry subkey:
            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
        3. Right-click Control, point to New, and then click DWORD Value.
        4. In the New Value #1 box, type ServicesPipeTimeout, and then press ENTER.
        5. Right-click ServicesPipeTimeout, and then click Modify.
        6. Click Decimal, type the number of milliseconds that you want to wait until the service times out, and then click OK.
    For example, to wait 60 seconds before the service times out, type 60000.
    Quit Registry Editor, and then restart the computer. For more information about it, please see:
    http://www.sqlservercentral.com/Forums/Topic850540-1550-1.aspx#bm851211
    http://myitforum.com/myitforumwp/2012/08/22/configmgr-2012-sms_srs_reporting_point-component-failure/
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.

  • Mysterious repeat log entries in System events log

    I tried unsuccessfully to share internet connection with 2 iMacs without router(That doesn't matter). But after this, my iMac (24" 2.8 GHz) not networked or on internet now shows this repeated log entries every minute:
    com.apple.launchd[1] (com.apple.InternetSharing): Throttling respawn: Will start in 10 seconds
    This message gets repeated every minute on System events log. Daily, Monthly maintenance was not done automatically earlier today on this iMac (usually it did without any problem) which was on all-night.
    I checked with Disk Utility, repaired permissions. Although no problems in working, this continuous log writings disturbs me.
    Thanks for any help & Happy New Year!
    Best.

    Thanks, V.K. Did that (was asked password). System log showed after restart:
    com.apple.launchd[1] (com.apple.InternetSharing[152]): Exited with exit code: 1
    com.apple.launchd[1] (com.apple.InternetSharing): Throttling respawn: Will start in 10 seconds
    com.apple.launchd[1] (com.apple.InternetSharing153): Exited with exit code: 1
    com.apple.launchd[1] (com.apple.InternetSharing): Throttling respawn: Will start in 10 seconds
    Then it started again the same way as above - with each aditional line each time as shown above. Thanks for sticking with me on this. Hope you will offer other suggestions.
    Best.

  • How to avoid system events "ignoring" lines in applescript?

    Hello!
    I am trying to write a very simple script that will trigger macros on another application, however when the script is executed, it skips a couple of lines which makes the whole process go erratically.
    This is the code i'm using:
    tell application "Adam"
      activate front window
    end tell
    tell application "System Events"
      keystroke "4"
              repeat 10 times
              end repeat
      keystroke return
      keystroke (ASCII character 47)
              keystroke "tell test"
      delay 1
      keystroke return
      keystroke (ASCII character 36)
      keystroke "t"
      keystroke (ASCII character 36)
      delay 2
      keystroke return
    end tell
    The red lines are the ones that seem to be neglected somehow (keystroke "4" doesnt carry the expected action in application "Adam"). I'm a newbie at applescripting but i fail to see why this might be happening
    Any help is of course greatly appreciated

    Hi Arthur!
    Tried your solution without much success, after some playing around i found out changing the command to use any other keystroke (e.g. - ) actually made the script work as intended, although it also implied changing the macro trigger (4 to - ) in application Adam.
    repeat 10 times
    keystroke "-"
    end repeat
    Lately I've been testing with other applications and found out this "ignore" behaviour happens mostly when you use numbers for keystrokes, perhaps there is al alternate way of inputting these?
    Thanks for your and everyone's help

  • How to disable GNOME logout/shutdown/restart beep???

    Hello, when I logout/shutdown/restart and the volume is not mute, I hear a large beep sound which annoys me very much. I tried to untick alart sound in System->Preference->Sound, but it does not help.

    That module only affects the system PC speaker. You say "when the volume is not mute[d]"; is the beep coming from the soundcard or the PC speaker? If it's coming from the latter, unload the pcspkr module (and be sure to unload snd_pcsp as well if you're on a 2.6.28 or higher kernel).
    -dav7

  • Touchsmart 9100; error 0x80072ee4; troubleshooting wizard error; system event notif. svc. error

    HP Touchsmart 9100 all-in-one
    Windows 7 professional
    First I get a window that says
    failed to connect to a window service --windows could not connect to the system event notification svc. This problem prevents standard user from logging into the system. as an administrator you can review the system event log for details about why the service didn't respond.
    Windows help and support cant start.  There is a problem with Windows Help and support.  To view our online help content visit windows website;
    The Internet is not available and the troubleshooter does not work.  I get this error when I try to connect to Internet;
    ERROR 137 (net::ERR-NAME-RESOLUTION_FAILED) unknown error
    I cannot run any diagnostics. I get this:  
    An error occurred while troubleshooting. Then it says Diagnostics troubleshooting wizard has stopped working. A prooblem has caused the system to stop working correctly.  Windows will close the program and nootify you if a solution is available.
    I get this window:
    Package ID: Performance Diagnostic
    Path;  Unknown
    Error Code; 0x80072ee4
    User;  
    Context: Restricted
    I restarted with the same result.
    I tried to do a startup repair and it said no problem was detected.
    Yesterday I had a problem where the cursor moved but nothing was clickable. I could not detect a problem, so I did a system restore to oct. 1 and it seemed to work.  The only thing added yesterday was malwarebytes. I scanned with that program and removed one item, but I cannot remember what it was.  
    I ran an AVG virus scan and it detected no viruses.
    I have the same issues in safe mode.
     When I go to services.msc it says it is "starting" and I cannot restart it.

    Hello sallatticum:
              Welcome to Hp's forum .  This link is how to correct  your error. How it works on a business computer that I do not because you have a total different operating  system then home users computers do. http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/error-code-0x80072ee4-and-the... 
           You need to goto the HP's Business Support Forum with your computer issues. Next time or if this fix did not work for your issue. http://h30499.www3.hp.com/t5/Business-PCs-Compaq-Elite-Pro/bd-p/bsc-271 Please click on Kudos if this resolved your issue. Thank you frrw. 

  • Startup error message:System Events got an error: NSInternalScriptError (8)

    I just upgraded from Panther to Tiger on my mac Mini and I can't seem to get rid of this message everytime I boot up:
    System Events got an error: NSInternalScriptError (8)
    Any idea how I can "fix" this?
    Much thanks.

    Do you have any login items listed in the Accounts pane of your System Preferences? If so, disable them and restart to see if that clears the message. If so, then re-enable them one by one and restart to see which one it is.
    In doing a Google search, that message appears to come from an AppleScript. So perhaps you have an AppleScript running at login that needs to be modified to be compatible with Tiger...
    charlie

Maybe you are looking for