[Bug 458514] [NEW] mysql-server-5.1 starts before filesystem is mounted (karmic)

Gernot Pansy pansyg at gmx.at
Thu Oct 22 21:16:00 BST 2009


Public bug reported:

On my setup with an different partition for the mysql data the server is
started before the filesystem is mounted. Starting the server after
booting works without problems.  My extra partition is on a lvm which
also holds  the root partition.

fstab:
=====
#/dev/vg1/var
UUID=7e2ba06c-0294-4aaa-98c3-18aa86c01004 /mnt/var        xfs     noatime         0       2

my.cnf:
======
datadir         = /mnt/var/mysql

syslog:
======
Oct 22 21:19:37 hollywood kernel: [   18.271254] Ending clean XFS mount for filesystem: dm-2
Oct 22 21:19:38 hollywood /etc/init.d/mysql[1714]: ERROR: The partition with /mnt/var/mysql is too full!
Oct 22 21:19:39 hollywood kernel: [   19.910926] XFS mounting filesystem dm-3
Oct 22 21:19:39 hollywood mysqld_safe: Starting mysqld daemon with databases from /mnt/var/mysql
Oct 22 21:19:39 hollywood wpa_supplicant[1446]: CTRL-EVENT-SCAN-RESULTS
Oct 22 21:19:39 hollywood wpa_supplicant[1446]: Trying to associate with 00:1b:2f:d5:88:80 (SSID='TFGP' freq=2452 MHz)
Oct 22 21:19:39 hollywood kernel: [   20.176999] ndiswrapper (iw_set_auth:1602): invalid cmd 12
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [Warning] Can't create test file /mnt/var/mysql/hollywood.lower-test
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [Warning] Can't create test file /mnt/var/mysql/hollywood.lower-test
Oct 22 21:19:39 hollywood mysqld: #007/usr/sbin/mysqld: Can't change dir to '/mnt/var/mysql/' (Errcode: 2)
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [ERROR] Aborting
Oct 22 21:19:39 hollywood mysqld:
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 22 21:19:39 hollywood mysqld:
Oct 22 21:19:39 hollywood mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Oct 22 21:19:40 hollywood acpid: client connected from 1725[0:0]
Oct 22 21:19:40 hollywood kernel: [   21.164472] Ending clean XFS mount for filesystem: dm-3
Oct 22 21:19:40 hollywood kernel: [   21.338747] XFS mounting filesystem dm-4
Oct 22 21:19:41 hollywood wpa_supplicant[1446]: Association request to the driver failed
Oct 22 21:19:41 hollywood wpa_supplicant[1446]: Associated with 00:1b:2f:d5:88:80
Oct 22 21:19:41 hollywood wpa_supplicant[1446]: CTRL-EVENT-CONNECTED - Connection to 00:1b:2f:d5:88:80 completed (auth) [id=0 id_str=]
Oct 22 21:19:41 hollywood kernel: [   21.588762] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 22 21:19:42 hollywood kernel: [   22.690264] Ending clean XFS mount for filesystem: dm-4
Oct 22 21:19:42 hollywood avahi-daemon[1335]: Registering new address record for fe80::219:5bff:fe0a:a69c on wlan0.*.
Oct 22 21:19:43 hollywood kernel: [   23.891420] XFS mounting filesystem dm-5

** Affects: launchpad
     Importance: Undecided
         Status: New

** Affects: mysql-dfsg-5.1 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: mysql-dfsg-5.1 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
mysql-server-5.1 starts before filesystem is mounted (karmic)
https://bugs.launchpad.net/bugs/458514
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list