Public bug reported:

Binary package hint: mysql-server-5.0

I'm running 6.06 LTS.  I tried to install mysql-server through synaptic and it 
failed with a cryptic error message, so I tried to start the server by hand and 
it failed:
  $ sudo /etc/init.d/mysql start
  /etc/init.d/mysql[9628]: ERROR: The partition with /var/lib/mysql is too full!

After poking around a little, I found the problem on line 48 of 
/etc/init.d/mysql:
  if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit 
($4>4096) }'; then

That should be BLOCK_SIZE, I believe.  This is confirmed by the fact that I can 
start the server like this:
  $ BLOCK_SIZE='' sudo /etc/init.d/mysql start
  Starting MySQL database server: mysqld.


This may already be fixed in a newer version of ubuntu (see here:  
https://launchpad.net/ubuntu/edgy/+source/mysql-dfsg-5.0/5.0.24a-9) but it 
would be nice if that was backported to the LTS edition :)

** Affects: mysql-dfsg-5.0 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
mysql server fails to start, claims /var/lib/mysql full
https://bugs.launchpad.net/bugs/118523
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to