Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-18-2016, 09:37 AM
Kurt Todoroff Kurt Todoroff is offline
Registered User
 
Join Date: Sep 2009
Posts: 11
Account Won't Log Out After SD! Scheduled Backup

SD! performs a scheduled backup, on my two iMacs, at 1 AM every day. The target backup disks are encrypted. Both iMacs restart, automatically, at 6 AM, every day. I have used this arrangement, successfully, for years.

When I upgraded OS X to Yosemite on my two iMacs, both of them would not logout of the User account, from time to time. This problem persists with El Capitan, and, it occurs to the present. This occurs when I attempt to restart the iMac, and, when OS X attempts to perform an automatically scheduled daily restart. The display is black. The arrow is visible (Although, after five minutes (the screensaver turn-on setting) the arrow disappears. It reappears on the black display, if I bump the trackball.). The computer does not respond to keyboard input (including the restart key commands). The arrow does respond to trackball input, with movement. I cannot access the iMac through Screen Sharing / VNC, when the iMac is in this state. I have allowed this state to persist, for over 72 hours. When this problem occurs, the only recourse is to perform a hard power off.

I have investigated this problem, on and off, for the past couple of years, unsuccessfully. About six weeks ago, I disabled all SD! scheduled backups on both iMacs. The restart problem stopped occurring, entirely. After one month, I reenabled SD! scheduled backups. The failure to restart problem has reoccurred. During this six week period, the external encrypted backup drives have remained attached to their respective iMacs. Some of them connect through Firewire. Some of them connect through USB.

Finally, a few months ago, I purchased a new iMac to replace my home iMac. The old [replaced] home iMac display went black, permanently. The estimated repair costs exceed $750. I attached an inexpensive display to this old iMac, in order to gain access to it, until I decide its future. This new iMac restarted automatically, every day. It began to exhibit the failure to restart problem, once I enabled SD! automatically scheduled backups. The problem ceased occurring, once I disabled SD! automatically scheduled backups.

I run a minimalist system configuration on my iMacs. Very very little non-Apple software: MSO, DiskWarrior, SuperDuper!, Canvas Draw, a couple of other reputable applications. No Flash, Shockwave, Adobe Reader.

I request your assistance. I will provide SD! logs and console logs, if necessary.

Thank you.
__________________
Kurt R. Todoroff
Reply With Quote
  #2  
Old 04-18-2016, 02:23 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Kurt, honestly, we have no kernel components. When we're not running, we're not running. We don't interact with the system in any unusual way. The schedules are fired with either cron or launchd, in an entirely standard manner, and you can even look at the schedule drivers, since we supply them in source form. They're written in Applescript. Applescript can't cause your system to hang on shutdown either.

So, something else is clearly going on.

What happens if you start up in Safe Boot, then set a schedule to run a few minutes from "now", then shut down?
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 04-18-2016, 05:14 PM
Kurt Todoroff Kurt Todoroff is offline
Registered User
 
Join Date: Sep 2009
Posts: 11
Hello, Dave.

I want to start this message by stating that I am confident that SD! is not causing this problem, nor, did I attempt to imply so. My respect for SD! is without peer. I only stated my observations. My primary observation was that my new iMac was working flawlessly, for many weeks, until I enabled SD! scheduled daily backups. Then, the problem ceased on three iMacs, when I disabled SD! scheduled daily backups on all of them. Furthermore, this problem started when I installed Yosemite.

I will try your suggestion. Since the problem does not occur with every restart attempt, if it does not occur while in Safe Boot, then, its absence will not be conclusive evidence of a specific problem. I could attempt repetitive Safe Boot / SD! backup / Restart attempts. This presents the problem of when to terminate this testing, if I cannot reproduce the problem while in this configuration.

From another perspective, I recall reading a posting about a User's inability to eject a disk, after an SD! backup. You stated that Spotlight might be using the disk. This being said, could OS X be doing something to the disk (Spotlight, et al.), post SD! backup? I'm still wondering about encryption's possible role in this.
__________________
Kurt R. Todoroff
Reply With Quote
  #4  
Old 04-18-2016, 06:14 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Certainly, the spotlight daemon should be killed during shutdown like every other daemon, so that shouldn't be an issue.

You may want to try booting in "verbose" mode (cmd+v during poweron). That also does a verbose shutdown, which may provide you with clues as to what's failing or hanging during the shutdown process.

Can't see what encryption would have to do with it.

Note that Jason Snell (http://www.sixcolors.com) had a very similar sounding problem that ended up being caused by Adobe Creative Cloud...
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 04-18-2016, 09:20 PM
Kurt Todoroff Kurt Todoroff is offline
Registered User
 
Join Date: Sep 2009
Posts: 11
Hello, Dave.

Information 1:

I neglected to add some information, in my original posting. After each time that the scheduled morning restart (or, other manual restart) fails, due to inability to log out (thus, requiring me to perform a hard restart), I open the hard drive. It contains a file that uses the filename TEST.txt. I open the file. It contains the word Test (or, Testing; I don’t remember which one). I close this file, and then, I delete it. I check the hard drive, nearly every day. This file is not present, after I delete it. The next time that this problem occurs, and, the system won’t log out / restart, and, I perform another hard restart, this file appears on the hard drive, again. Delete it. Repeat.



Information 2:

I performed a Verbose Mode boot. Then, I opened Terminal. I typed

sudo dmesg >> ~/Desktop/kernlog.txt

I opened this file. It contained interesting information. However, it exceeds my abilities, and, I am unable to decipher its meaning.



Information 3:

I performed five consecutive Safe Mode reboots, followed by SD! scheduled backups to both a small internal volume, and, to an external encrypted USB hard drive. I have provided the results, below.

Restart 1
Shift key
Safe Mode
SD! Scheduled Backup to a small internal volume, and, to an external encrypted USB hard drive
SD! Automatically Quit

Restart 2
Shift key
Black display with visible arrow, for five minutes.
Typed Username and Password, in the blind.
Pressed Return, in the blind.
Safe Mode
SD! Scheduled Backup to a small internal volume, and, to an external encrypted USB hard drive
SD! Automatically Quit

Restart 3
Shift key
Safe Mode
SD! Scheduled Backup to a small internal volume, and, to an external encrypted USB hard drive
SD! Automatically Quit

Restart 4
Shift key
Safe Mode
SD! Scheduled Backup to a small internal volume, and, to an external encrypted USB hard drive
SD! Automatically Quit

Restart 5
Shift key
Safe Mode
SD! Scheduled Backup to a small internal volume, and, to an external encrypted USB hard drive
SD! Automatically Quit

Restart 6
Normal reboot to the system.



As shown here, I performed five Safe Mode restarts. I performed ten SD! scheduled backups (two per SM restart). The system restarted normally, every time.

I plan to leave the SD! scheduled restarts disabled for one week. Then, if no restart failures occur, I will reenable SD! scheduled restarts, and, I will monitor restart performance.

Here is something else, that I was considering. Let’s suppose that after SD! performs a scheduled backup, at 11:30 PM or 12:45 AM, sometimes OS X Spotlight does its thing on the two backup drives. I don’t remember the time that the daily / weekly / monthly maintenance scripts run. Suppose that OS X attempts to run one or more of these scripts, while Spotlight is doing its thing to the two backup drives. I’ve seen the silliest, seemingly innocent concurrent processes, bring my Quad-Core i7 right to a halt. Suppose that the combination of Spotlight and the maintenance scripts slows the system down so much, that, both processes are still running when the system attempts its 6 AM scheduled restart. What would the system do, when it attempted log out of my account (for a scheduled restart), while the Spotlight and d/w/m maintenance scripts were still running?
__________________
Kurt R. Todoroff

Last edited by Kurt Todoroff; 04-18-2016 at 09:47 PM.
Reply With Quote
  #6  
Old 04-19-2016, 07:29 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Is "TEST.txt" something that's on the source? If not...well, *something* is creating it, and it's not us.

I can't see how any normal Spotlight or maintenance script could prevent logging out or restart, given those daemons would be killed normally. I really wouldn't hard power off, though. Have you tried running

sudo shutdown -r now

in Terminal when you can't log out? Have you looked at the Activity Monitor to see what might not be actually exiting?
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup Disc and Hard Drive Partitioning Questions Paint Guy General 15 10-27-2010 02:25 PM
Scheduled backup failed to run penmaster General 4 01-31-2010 10:31 PM
Scheduled backup crashes, but only on one Mac jonlevine General 1 02-21-2007 10:08 AM
Details on how Scheduled Backup works jbezdek General 3 10-04-2006 11:59 AM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 06:50 PM


All times are GMT -4. The time now is 12:40 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.