387 | | |
388 | | |
389 | | |
390 | | |
391 | | |
392 | | |
393 | | |
| 387 | Mysql wouldn't run. |
| 388 | |
| 389 | {{{ |
| 390 | aptitude safe-upgrade |
| 391 | The following packages will be REMOVED: |
| 392 | automake1.4{u} dbus-x11{u} djvulibre-desktop{u} g++-4.3{u} gnuit{u} gs-common{u} libbind9-50{u} |
| 393 | libbluetooth2{u} libdigest-hmac-perl{u} libdigest-sha1-perl{u} libdirectfb-1.0-0{u} libdns58{u} |
| 394 | libevent1{u} libfile-remove-perl{u} libhd14{u} libio-compress-base-perl{u} libio-compress-zlib-perl{u} |
| 395 | libio-stringy-perl{u} libisc50{u} libisccc50{u} libisccfg50{u} libkrb53{u} libltdl3{u} libltdl3-dev{u} |
| 396 | liblwres50{u} libmail-box-perl{u} libmpfr1ldbl{u} libobject-realize-later-perl{u} libpq5{u} |
| 397 | libstdc++6-4.3-dev{u} libsysfs2{u} libtest-pod-perl{u} libts-0.0-0{u} libuser-identity-perl{u} |
| 398 | mysql-server-core-5.1{u} openssl-blacklist{u} psfontmgr{u} tsconf{u} |
| 399 | 0 packages upgraded, 0 newly installed, 38 to remove and 0 not upgraded. |
| 400 | Need to get 0 B of archives. After unpacking 64.6 MB will be freed. |
| 401 | Do you want to continue? [Y/n/?] Y |
| 402 | |
| 403 | aptitude install mysql-server-5.1 |
| 404 | The following NEW packages will be installed: |
| 405 | mysql-client-5.1{ab} mysql-server-5.1 mysql-server-core-5.1{a} |
| 406 | 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. |
| 407 | Need to get 16.7 MB/20.8 MB of archives. After unpacking 53.0 MB will be used. |
| 408 | The following packages have unmet dependencies: |
| 409 | mysql-client-5.1: Conflicts: mysql-client-5.0 but 5.0.51a-24+lenny5 is installed. |
| 410 | The following actions will resolve these dependencies: |
| 411 | |
| 412 | Remove the following packages: |
| 413 | 1) mysql-client-5.0 |
| 414 | |
| 415 | Accept this solution? [Y/n/q/?] y |
| 416 | The following NEW packages will be installed: |
| 417 | mysql-client-5.1{a} mysql-server-5.1 mysql-server-core-5.1{a} |
| 418 | The following packages will be REMOVED: |
| 419 | mysql-client-5.0{a} |
| 420 | 0 packages upgraded, 3 newly installed, 1 to remove and 0 not upgraded. |
| 421 | Need to get 16.7 MB/20.8 MB of archives. After unpacking 33.2 MB will be used. |
| 422 | Do you want to continue? [Y/n/?] y |
| 423 | |
| 424 | |
| 425 | Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! |
| 426 | invoke-rc.d: initscript mysql, action "start" failed. |
| 427 | dpkg: error processing mysql-server-5.1 (--configure): |
| 428 | subprocess installed post-installation script returned error exit status 1 |
| 429 | configured to not write apport reports |
| 430 | Errors were encountered while processing: |
| 431 | mysql-server-5.1 |
| 432 | E: Sub-process /usr/bin/dpkg returned an error code (1) |
| 433 | A package failed to install. Trying to recover: |
| 434 | Setting up mysql-server-5.1 (5.1.49-3) ... |
| 435 | Stopping MySQL database server: mysqld. |
| 436 | Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! |
| 437 | invoke-rc.d: initscript mysql, action "start" failed. |
| 438 | dpkg: error processing mysql-server-5.1 (--configure): |
| 439 | subprocess installed post-installation script returned error exit status 1 |
| 440 | Errors were encountered while processing: |
| 441 | mysql-server-5.1 |
| 442 | }}} |
| 443 | |
| 444 | From the syslog: |
| 445 | |
| 446 | {{{ |
| 447 | Sep 21 21:10:46 localhost mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql |
| 448 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [Warning] '--log_slow_queries' is deprecated and will be removed in a future release. Please use ''--slow_query_log'/'--slow_query_log_file'' instead. |
| 449 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [Note] Plugin 'FEDERATED' is disabled. |
| 450 | Sep 21 21:10:46 localhost mysqld: /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist |
| 451 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. |
| 452 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 InnoDB: Started; log sequence number 0 16786674 |
| 453 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb' |
| 454 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [ERROR] Aborting |
| 455 | Sep 21 21:10:46 localhost mysqld: |
| 456 | Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 InnoDB: Starting shutdown... |
| 457 | Sep 21 21:10:51 localhost mysqld: 110921 21:10:51 InnoDB: Shutdown completed; log sequence number 0 16786674 |
| 458 | Sep 21 21:10:51 localhost mysqld: 110921 21:10:51 [Note] /usr/sbin/mysqld: Shutdown complete |
| 459 | Sep 21 21:10:51 localhost mysqld: |
| 460 | Sep 21 21:10:51 localhost mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended |
| 461 | }}} |
| 462 | |
| 463 | |
| 464 | |
| 465 | |
| 466 | |
| 467 | |
| 468 | |
| 469 | |