[Bug 370000] Re: package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: el subproceso post-installation script devolvió el código de salida de error 127

Grzegorz Śliwiński fizyk at fizyk.net.pl
Wed Dec 9 11:28:18 GMT 2009


I've got similar problems but on Ubuntu 9.10 64bit
First, when I installed this ubuntu, I recovered all /etc/mysql/ files from 9.04 and moved it to my current Ubuntu installation.
Then after a while I installed mysql-server 5.1 which gave my configuration error while installing.
After some playing around I've purged all server packets, renamed /etc/mysql to /etc/mysql1 and installed server again, it got mysql working, it starts and restarts, however I get this message when starting:
>> /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz

Also, while installing mysql-server packages I've got this:
 * Stopping MySQL database server mysqld                                 [ OK ] 
091209 11:45:51 [Note] Plugin 'FEDERATED' is disabled.
091209 11:45:51  InnoDB: Started; log sequence number 0 44233
091209 11:45:51  InnoDB: Starting shutdown...
091209 11:45:53  InnoDB: Shutdown completed; log sequence number 0 44233
091209 11:45:53 [Warning] Forcing shutdown of 1 plugins
 * /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
 * Starting MySQL database server mysqld                                 [ OK ] 

Although I've got no idea if it's relevant or not. 
Once I copy old my.cnf file, mysql fails to start until it's removed.
I went to mysql-common and manually extractet my.cnf buried in this package. after placing it in /etc/mysql/ I can start mysql server. So I'm guessing that the old my.cnf from Jaunty must have something wrong that doesn't let it work with mysql-server from Karmic

** Changed in: mysql-dfsg-5.1 (Ubuntu)
       Status: Invalid => New

-- 
package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: el subproceso post-installation script devolvió el código de salida de error 127
https://bugs.launchpad.net/bugs/370000
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