![]() |
Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
So last night I shrunk my ext4 / by 20GB and set up an ext3 partition for /var. gparted took many hours to do it, so I had to try to finish it up before I left for work this morning. I tried to mount the new partition under /var, and that didn't work, and I had no time to research it. I had moved /var to /oldvar so I could use /var as a mount point, so to recover, I "ln -s /oldvar /var" while booted on the LiveCD. I then "ln -s /var/mail /newvar/mail" (where newvar is where I mounted the new partition that was supposed to be /var). Now, mail is working, but MySQL won't start. the file permissions on /var look the same to me, but maybe going though a symlink, even on the same partition, is causing a problem. This is what I see in my logs: david at janus:~$ sudo grep mysql /var/log/messages [sudo] password for david: Jun 6 23:01:22 janus kernel: [546145.081033] type=1505 audit(1244343682.017:20): operation="profile_replace" name="/usr/sbin/mysqld" name2="default" pid=7420 Jun 12 06:30:14 janus kernel: [ 1361.606219] type=1505 audit(1244802601.486:10): operation="profile_load" name="/usr/sbin/mysqld" name2="default" pid=31117 Jun 12 03:45:31 janus kernel: [ 14.377320] type=1505 audit(1244792725.262:10): operation="profile_load" name="/usr/sbin/mysqld" name2="default" pid=2487 Jun 12 07:45:46 janus kernel: [ 22.736994] type=1503 audit(1244807146.444:15): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/oldvar/lib/mysql/janus.lower-test" pid=5258 profile="/usr/sbin/mysqld" Jun 12 07:45:46 janus kernel: [ 22.737045] type=1503 audit(1244807146.444:16): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/oldvar/lib/mysql/janus.lower-test" pid=5258 profile="/usr/sbin/mysqld" Jun 12 07:45:46 janus kernel: [ 22.802853] type=1503 audit(1244807146.508:17): operation="inode_permission" requested_mask="rw::" denied_mask="rw::" fsuid=112 name="/oldvar/lib/mysql/ibdata1" pid=5258 profile="/usr/sbin/mysqld" Jun 12 11:59:13 janus kernel: [15230.167268] type=1503 audit(1244822353.464:45): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/oldvar/lib/mysql/janus.lower-test" pid=32583 profile="/usr/sbin/mysqld" Jun 12 11:59:13 janus kernel: [15230.167496] type=1503 audit(1244822353.464:46): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/oldvar/lib/mysql/janus.lower-test" pid=32583 profile="/usr/sbin/mysqld" Jun 12 11:59:13 janus kernel: [15230.472607] type=1503 audit(1244822353.769:47): operation="inode_permission" requested_mask="rw::" denied_mask="rw::" fsuid=112 name="/oldvar/lib/mysql/ibdata1" pid=32583 profile="/usr/sbin/mysqld" Jun 12 12:03:20 janus kernel: [15477.088367] type=1503 audit(1244822600.381:48): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/oldvar/lib/mysql/janus.lower-test" pid=2591 profile="/usr/sbin/mysqld" Jun 12 12:03:20 janus kernel: [15477.088532] type=1503 audit(1244822600.385:49): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/oldvar/lib/mysql/janus.lower-test" pid=2591 profile="/usr/sbin/mysqld" Jun 12 12:03:20 janus kernel: [15477.106881] type=1503 audit(1244822600.401:50): operation="inode_permission" requested_mask="rw::" denied_mask="rw::" fsuid=112 name="/oldvar/lib/mysql/ibdata1" pid=2591 profile="/usr/sbin/mysqld" Thanks.
![]() |
|
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |