[debian-mysql] Bug#545752: mysql-server-5.1 installation failure

vazquez.com at free.fr vazquez.com at free.fr
Tue Sep 8 21:25:50 UTC 2009


Package: mysql-server-5.1
Version: 5.1.37-2
Severity: grave
Justification: renders package unusable

Upgrading mysql-server from 5.0 to 5.1 ends up with unusable
package.

Installation fails with the following message:

Setting up mysql-server-5.1 (5.1.37-2) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . .  
failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
  subprocess installed post-installation script returned error exit  
status 1
dpkg: dependency problems prevent configuration of mysql-server:
  mysql-server depends on mysql-server-5.1; however:
   Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  mysql-server-5.1
  mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
%%%

Syslog says:

Sep  8 23:13:15 orange mysqld_safe[10071]: 090908 23:13:15 [ERROR] / 
usr/sbin/mysqld: unknown option '--skip-bdb'
Sep  8 23:13:15 orange mysqld_safe[10071]: 090908 23:13:15 [ERROR]  
Aborting
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: 090908 23:13:15 [Warning]  
Forcing shutdown of 2 plugins
Sep  8 23:13:15 orange mysqld_safe[10071]: 090908 23:13:15 [Note] /usr/ 
sbin/mysqld: Shutdown complete
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: Installation of system  
tables failed!  Examine the logs in
Sep  8 23:13:15 orange mysqld_safe[10071]: /srv/mysql for more  
information.
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: You can try to start the  
mysqld daemon with:
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]:     shell> /usr/sbin/mysqld  
--skip-grant &
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: and use the command line  
tool /usr/bin/mysql
Sep  8 23:13:15 orange mysqld_safe[10071]: to connect to the mysql  
database and look at the grant tables:
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]:     shell> /usr/bin/mysql - 
u root mysql
Sep  8 23:13:15 orange mysqld_safe[10071]:     mysql> show tables
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: Try 'mysqld --help' if you  
have problems with paths.  Using --log
Sep  8 23:13:15 orange mysqld_safe[10071]: gives you a log in /srv/ 
mysql that may be helpful.
Sep  8 23:13:15 orange mysqld_safe[10071]: Try 'mysqld --help' if you  
have problems with paths.  Using --log
Sep  8 23:13:15 orange mysqld_safe[10071]: gives you a log in /srv/ 
mysql that may be helpful.
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: The latest information  
about MySQL is available on the web at
Sep  8 23:13:15 orange mysqld_safe[10071]: http://www.mysql.com/.   
Please consult the MySQL manual section
Sep  8 23:13:15 orange mysqld_safe[10071]: 'Problems running  
mysql_install_db', and the manual section that
Sep  8 23:13:15 orange mysqld_safe[10071]: describes problems on your  
OS.  Another information source are the
Sep  8 23:13:15 orange mysqld_safe[10071]: MySQL email archives  
available at http://lists.mysql.com/.
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10071]: Please check all of the  
above before mailing us!  And remember, if
Sep  8 23:13:15 orange mysqld_safe[10071]: you do mail us, you MUST  
use the /usr/scripts/mysqlbug script!
Sep  8 23:13:15 orange mysqld_safe[10071]:
Sep  8 23:13:15 orange mysqld_safe[10119]: 090908 23:13:15 [Note]  
Plugin 'FEDERATED' is disabled.
Sep  8 23:13:15 orange mysqld_safe[10119]: 090908 23:13:15  InnoDB:  
Started; log sequence number 0 43655
Sep  8 23:13:15 orange mysqld_safe[10119]: 090908 23:13:15 [ERROR] / 
usr/sbin/mysqld: unknown option '--skip-bdb'
Sep  8 23:13:15 orange mysqld_safe[10119]: 090908 23:13:15 [ERROR]  
Aborting
Sep  8 23:13:15 orange mysqld_safe[10119]:
Sep  8 23:13:15 orange mysqld_safe[10119]: 090908 23:13:15  InnoDB:  
Starting shutdown...
Sep  8 23:13:17 orange mysqld_safe[10119]: 090908 23:13:17  InnoDB:  
Shutdown completed; log sequence number 0 43655
Sep  8 23:13:17 orange mysqld_safe[10119]: 090908 23:13:17 [Warning]  
Forcing shutdown of 1 plugins
Sep  8 23:13:17 orange mysqld_safe[10119]: 090908 23:13:17 [Note] /usr/ 
sbin/mysqld: Shutdown complete
Sep  8 23:13:17 orange mysqld_safe[10119]:
.
.
.
Sep  8 23:13:18 orange mysqld_safe[10249]: 090908 23:13:18 [Note]  
Plugin 'FEDERATED' is disabled.
Sep  8 23:13:18 orange mysqld_safe[10249]: 090908 23:13:18  InnoDB:  
Started; log sequence number 0 43655
Sep  8 23:13:18 orange mysqld_safe[10249]: 090908 23:13:18 [ERROR] / 
usr/sbin/mysqld: unknown option '--skip-bdb'
Sep  8 23:13:18 orange mysqld_safe[10249]: 090908 23:13:18 [ERROR]  
Aborting
Sep  8 23:13:18 orange mysqld_safe[10249]:
.
.
.
-- System Information:
Debian Release: squeeze/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mysql-server-5.1 depends on:
ii  adduser                3.110             add and remove users and  
groups
ii  debconf [debconf-2.0]  1.5.27            Debian configuration  
management sy
ii  libc6                  2.9-25            GNU C Library: Shared  
libraries
ii  libdbi-perl            1.609-1           Perl Database Interface  
(DBI)
ii  libgcc1                1:4.4.1-1         GCC support library
ii  libmysqlclient16       5.1.37-2          MySQL database client  
library
ii  libstdc++6             4.4.1-1           The GNU Standard C++  
Library v3
ii  libwrap0               7.6.q-18          Wietse Venema's TCP  
wrappers libra
ii  lsb-base               3.2-23            Linux Standard Base 3.2  
init scrip
ii  mysql-client-5.1       5.1.37-2          MySQL database client  
binaries
ii  mysql-common           5.1.37-2          MySQL database common  
files (e.g.
ii  passwd                 1:4.1.4.2-1       change and administer  
password and
ii  perl                   5.10.0-25         Larry Wall's Practical  
Extraction
ii  psmisc                 22.8-1            utilities that use the  
proc file s
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library -  
runtime

Versions of packages mysql-server-5.1 recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20081101cvs-2 A simple mail user agent
ii  libhtml-template-p 2.9-1                 HTML::Template : A module  
for usin

Versions of packages mysql-server-5.1 suggests:
pn  tinyca                        <none>     (no description available)

-- debconf information:
* mysql-server/error_setting_password:
   mysql-server-5.1/start_on_boot: true
   mysql-server-5.1/postrm_remove_databases: false
   mysql-server-5.1/nis_warning:
   mysql-server-5.1/really_downgrade: false
   mysql-server/password_mismatch:
   mysql-server/no_upgrade_when_using_ndb:






More information about the pkg-mysql-maint mailing list