<div dir="ltr">Thanks Bill, you nailed it!<div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 21, 2015 at 5:18 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 02/21/2015 10:53 AM, UB40D wrote:<br>
...<span class=""><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I hate when they give you a relative path in the error message. Where the<br>
hell is that ./mythconverg/ it can't rmdir? Is it that it can't rmdir<br>
because it doesn't have permission to it, or because it's not there? If the<br>
latter, what's the bit of database that still exists when the script fails<br>
to create the database?<br>
<br>
find / -name mythconverg -print<br>
<br>
gives nothing (other than the usual annoying bunch of "permission denied"<br>
on /proc etc)<br>
</blockquote>
<br></span>
Because the directory is owned and only read/write by user mysql. If you<br>
do a: sudo before the find, you'll see it. </blockquote><div><br></div><div>Got it.</div><div>And it was in the same place as yours:</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Or, the following will tell<br>
you where it is:<br>
<br>
$ cd /etc/mysql;grep datadir my.cnf conf.d/*<br>
<br>
my.cnf:datadir = /var/lib/mysql</blockquote><div></div></div><br></div><div class="gmail_extra">So I went there and checked it out. Did the directory /var/lib/mysql/mythconverg exist? Yes. Why could the script not rmdir it? It contained one file, <font face="Fixed">program.MYI.broken.2014-11-04, which was a relic of another much worse disaster when one of the hard drives died and I had been trying to rescue one of the files that had read errors. </font></div><div class="gmail_extra"><font face="Fixed">So now I deleted that file manually, then re-run the mythconverg_restore script and this time it could drop the database without problems and proceed to successful completion.</font></div><div class="gmail_extra"><font face="Fixed"><br></font></div><div class="gmail_extra"><font face="Fixed">And it worked! I rebooted and I got the frontend back, and in the media library all the movies were there.</font></div><div class="gmail_extra"><font face="Fixed"><br></font></div><div class="gmail_extra"><font face="Fixed">Thank you and everyone else in this thread!</font></div><div class="gmail_extra"><br></div></div>