Lion won't shutdown
I am running Max OS Lion (10.7.2) on my iMac. Since last week I'm facing a problem shutting down the system. Sometimes it works like it did the month before but most of the time the grey screen with a little turning wheel appears and nothing happens. I have to switch off the Mac of by pressing the power button. I am not Mac OS expert, what I have found in the log are the following messages:
02.01.12 19:23:14,602 com.apple.launchd.peruser.501: (com.apple.talagent[187]) Exited: Killed: 9
02.01.12 19:23:14,605 com.apple.launchd.peruser.501: ([0x0-0xf00f].com.apple.iTunesHelper[234]) Exited: Killed: 9
02.01.12 19:23:14,605 com.apple.launchd.peruser.501: ([0x0-0x17017].com.apple.AppleSpell[266]) Exited: Killed: 9
02.01.12 19:23:14,606 com.apple.launchd.peruser.501: (com.apple.quicklook[357]) Exited: Killed: 9
02.01.12 19:23:14,606 com.apple.launchd.peruser.501: (com.apple.mdworker.pool.0[251]) Exited: Terminated: 15
02.01.12 19:23:14,645 loginwindow: DEAD_PROCESS: 83 console
02.01.12 19:23:14,659 com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,659 com.apple.dock.extra: 2012-01-02 19:23:14.658 com.apple.dock.extra[378:1707] Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,660 com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,660 com.apple.dock.extra: 2012-01-02 19:23:14.659 com.apple.dock.extra[378:1707] Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,660 com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,660 com.apple.dock.extra: 2012-01-02 19:23:14.659 com.apple.dock.extra[378:1707] Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,661 com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,661 com.apple.dock.extra: 2012-01-02 19:23:14.660 com.apple.dock.extra[378:1707] Could not connect the action buttonPressed: to target of class NSApplication
02.01.12 19:23:14,775 airportd: _doAutoJoin: Already associated to “WLAN-AC3003”. Bailing on auto-join.
02.01.12 19:23:15,033 shutdown: halt by jflachmann:
02.01.12 19:23:15,033 shutdown: SHUTDOWN_TIME: 1325528595 33231
Any idea what is going wrong
iMac, Mac OS X (10.7.2)