← Back to team overview

registry team mailing list archive

[Bug 551097] [NEW] start & stop hang on mysql-server (10.0.4 upgrade from 8.04)

 

You have been subscribed to a public bug:

I believe this may have already been reported through apport as a dpkg
bug.  In the upgrade to 10.0.4 beta from 8.04, upgrading mysql-server
failed, and every software update and attempt to run dpkg hangs up when
the process gets to the pont of either 'stop mysql' or 'start mysql'.
Each time if I go into a shell and kill the 'stop' or 'start' then dpkg
proceeds on, but of course ends with a warning.  As a result, mysql-
server appears to be installed but it isn't.  I have tried various
things but to no avail.

trying to run stop and start from the shell looks like this:

~# initctl status mysql
mysql start/post-start, (post-start) process 1004
~# stop mysql
^C
~# stop mysql
stop: Job has already been stopped: mysql
~# start mysql
^C
~# start mysql
start: Job is already running: mysql

Searching my machine, as far as I can tell mysqld is not on the system
anywhere.  Process 1004 at this particular time was 'sh -e
/proc/self/fd/8' - but there is no /proc/self/fd/8.  I note that when I
reboot and do another ps auxww|grep mysql, this same item shows up with
a different process number, and different final number (now it is
/proc/self/fd/10) that is nonexistent in /proc/self/fd,  (I am clueless
about the inner workings of initctl so I'm jiust providing whatever info
might be useful.)

 I assume there is semaphore or flag file somewhere that initctl is
looking for, that is set with wrong permissions, contains the wrong
data, should exist, or should not exist - or maybe it's because it's
trying to stop/start a nonexistent program (the old copy of mysql
appears to be gone).  If I could learn how to reset the state, perhaps I
can get this mysql-server thingy working.  That would be nice, because I
can't work at home until I have mysql working! :)

** Affects: null
     Importance: Undecided
         Status: Invalid


** Tags: dpkg mysql-server
-- 
start & stop hang on mysql-server (10.0.4 upgrade from 8.04)
https://bugs.edge.launchpad.net/bugs/551097
You received this bug notification because you are a member of Registry Administrators, which is the registrant for NULL Project.