[asterisk-users] changed datadir

2011-01-03 Thread Nicholas Hart
I am trying to configure mysql to use a different datadir than default in
order to move this to a larger volume.  I have copied all mysql data from
/var/lib/mysql to my new volume and ran both chown -R mysql:mysql * and
chmod -R 660 *  in order to setup correct ownership and rights for the
data.  It was working for a few days until today upon going into mysql and
typing show databases, I receive the following error:  ERROR 1018 (HY000):
Can't read dir of '.' (errno: 24).  I quickly double checked my rights and
found them to be correct, then I restarted mysqld and this has fixed it for
now.

Has anyone else run into this problem?  I am concerned that it will happen
again if the actual cause is not corrected.  I am running the latest Fedora
on new quad core Dell hardware with 24GB RAM and 1.7TB of disk.   Any help
and/or suggestions much appreciated.  Thanks.

Nick
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] changed datadir

2011-01-03 Thread Nicholas Hart
Sorry, sent this to wrong group list.


On Mon, Jan 3, 2011 at 10:13 AM, Nicholas Hart nh...@partsauthority.comwrote:

 I am trying to configure mysql to use a different datadir than default in
 order to move this to a larger volume.  I have copied all mysql data from
 /var/lib/mysql to my new volume and ran both chown -R mysql:mysql * and
 chmod -R 660 *  in order to setup correct ownership and rights for the
 data.  It was working for a few days until today upon going into mysql and
 typing show databases, I receive the following error:  ERROR 1018 (HY000):
 Can't read dir of '.' (errno: 24).  I quickly double checked my rights and
 found them to be correct, then I restarted mysqld and this has fixed it for
 now.

 Has anyone else run into this problem?  I am concerned that it will happen
 again if the actual cause is not corrected.  I am running the latest Fedora
 on new quad core Dell hardware with 24GB RAM and 1.7TB of disk.   Any help
 and/or suggestions much appreciated.  Thanks.

 Nick


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users