What prevents export of a private key from Mavericks keychain?
Solution 1:
It appears that your system was mistaken about being asleep (because an internal flag it used to keep track of sleep state got out of sync with the true state). As you confirmed later, a reboot fixes this problem.