*** This bug is a duplicate of bug 711635 ***
    https://bugs.launchpad.net/bugs/711635

On Sun, Feb 19, 2012 at 01:03, Clint Byrum <cl...@fewbar.com> wrote:
> Its possible that the upstart job is respawning over and over rather
> than just failing, which it should. I think it might be helpful if you
> could provide us with /var/log/syslog during the time where you seee
> lines  this hang. Usually the job will execute, and the run the post-
> start which will wait 30 seconds for mysql to be started, and then fail.

Just wanted to quickly confirm that that's in fact the case (don't
know why I didn't notice earlier).

Feb 19 23:29:58 ip-10-204-242-176 kernel: [6052896.375740] type=1400
audit(1329694198.815:32): apparmor="STATUS"
operation="profile_replace" name="/usr/sbin/mysqld" pid=25129
comm="apparmor_parser"
Feb 19 23:29:58 ip-10-204-242-176 kernel: [6052896.514222] init: mysql
main process (25133) terminated with status 1
Feb 19 23:29:58 ip-10-204-242-176 kernel: [6052896.514275] init: mysql
main process ended, respawning
Feb 19 23:30:29 ip-10-204-242-176 kernel: [6052926.587238] init: mysql
post-start process (25134) terminated with status 1
Feb 19 23:30:29 ip-10-204-242-176 kernel: [6052926.599364] type=1400
audit(1329694229.040:33): apparmor="STATUS"
operation="profile_replace" name="/usr/sbin/mysqld" pid=25318
comm="apparmor_parser"
Feb 19 23:30:29 ip-10-204-242-176 kernel: [6052926.626133] init: mysql
main process (25322) terminated with status 1
Feb 19 23:30:29 ip-10-204-242-176 kernel: [6052926.626184] init: mysql
main process ended, respawning
Feb 19 23:30:59 ip-10-204-242-176 kernel: [6052956.768819] init: mysql
post-start process (25323) terminated with status 1
Feb 19 23:30:59 ip-10-204-242-176 kernel: [6052956.776625] type=1400
audit(1329694259.221:34): apparmor="STATUS"
operation="profile_replace" name="/usr/sbin/mysqld" pid=25410
comm="apparmor_parser"
Feb 19 23:30:59 ip-10-204-242-176 kernel: [6052956.802865] init: mysql
main process (25414) terminated with status 1
Feb 19 23:30:59 ip-10-204-242-176 kernel: [6052956.802914] init: mysql
main process ended, respawning
Feb 19 23:31:29 ip-10-204-242-176 kernel: [6052986.950767] init: mysql
post-start process (25415) terminated with status 1
Feb 19 23:31:29 ip-10-204-242-176 kernel: [6052986.962872] type=1400
audit(1329694289.406:35): apparmor="STATUS"
operation="profile_replace" name="/usr/sbin/mysqld" pid=25480
comm="apparmor_parser"
Feb 19 23:31:29 ip-10-204-242-176 kernel: [6052986.988213] init: mysql
main process (25484) terminated with status 1
Feb 19 23:31:29 ip-10-204-242-176 kernel: [6052986.988263] init: mysql
main process ended, respawning
Feb 19 23:31:59 ip-10-204-242-176 kernel: [6053017.133727] init: mysql
post-start process (25485) terminated with status 1
Feb 19 23:31:59 ip-10-204-242-176 kernel: [6053017.141439] type=1400
audit(1329694319.583:36): apparmor="STATUS"
operation="profile_replace" name="/usr/sbin/mysqld" pid=25559
comm="apparmor_parser"
Feb 19 23:31:59 ip-10-204-242-176 kernel: [6053017.167105] init: mysql
main process (25563) terminated with status 1
Feb 19 23:31:59 ip-10-204-242-176 kernel: [6053017.167152] init: mysql
main process ended, respawning
etc.

Thanks for following up!

Jo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/812423

Title:
  mysql upstart job hangs if database directory not mounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/812423/+subscriptions

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

Reply via email to