[Techtalk] [solved] drush sql-sync fails with 'Drush command terminated abnormally due to an unrecoverable error'

James Sutherland james at deadnode.org
Sun Aug 25 13:08:51 UTC 2013


If you still have the system where it's failing, have you tried running the import command under 'strace'? It's a bit of brute force, but the odds are you will find a particular system call which is failing somewhere: a file it's looking for, a request for memory that fails, something like that. Maybe Ubuntu has something in a different place in that version, or a different library version, or...

Worthless error messages like "failed" or "error" are one of my pet hates in cases like this, but all too common, so I've found strace very useful: often, as soon as you find it's looking for a particular file in the wrong place, or needs more memory or similar, it's easy to fix. You'll probably want the -ff (follow fork) switch, maybe one or two others.


James.


More information about the Techtalk mailing list