[debian-mysql] Bug#524049: Bug#524049: mysql-server-5.0 fails to upgrade
Milou
milou at sequanux.org
Tue Apr 14 15:17:30 UTC 2009
Norbert Tretkowski a écrit :
> severity 524049 important
> thanks
>
>
> Please send the english error messages, and the corresponding entries
> from /var/log/daemon.log.
>
>
>
The english error messages :
ondes:~# LANG=C aptitude install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following partially installed packages will be configured:
mysql-server-5.0
0 packages upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
Need to get 0B/27.5MB of archives. After unpacking 0B will be used.
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 239304 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.0.77-1 (using
.../mysql-server-5.0_5.0.77-1_amd64.deb) ...
* Stopping MySQL database server
mysqld
[ OK ]
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping MySQL database server
mysqld
[ OK ]
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/mysql-server-5.0_5.0.77-1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
* Stopping MySQL database server
mysqld
[ OK ]
* Starting MySQL database server
mysqld
[ OK ]
invoke-rc.d: initscript mysql, action "start" failed.
The entries from /var/log/daemon.log
Apr 14 17:13:41 ondes mysqld[17110]: 090414 17:13:41 [Note]
/usr/sbin/mysqld: Normal shutdown
Apr 14 17:13:41 ondes
mysqld[17110]:
Apr 14 17:13:41 ondes mysqld[17110]: 090414 17:13:41 InnoDB: Starting
shutdown...
Apr 14 17:13:41 ondes mysqld[17110]: 090414 17:13:41 InnoDB: Shutdown
completed; log sequence number 0 43655
Apr 14 17:13:41 ondes mysqld[17110]: 090414 17:13:41 [Note]
/usr/sbin/mysqld: Shutdown complete
Apr 14 17:13:41 ondes
mysqld[17110]:
Apr 14 17:13:41 ondes
mysqld[17110]:
Apr 14 17:13:41 ondes mysqld[17110]: Memory
status:
Apr 14 17:13:41 ondes mysqld[17110]: Non-mmapped space allocated from
system: 22888448
Apr 14 17:13:41 ondes mysqld[17110]: Number of free chunks:#011#011#011
9
Apr 14 17:13:41 ondes mysqld[17110]: Number of fastbin blocks:#011#011
0
Apr 14 17:13:41 ondes mysqld[17110]: Number of mmapped regions:#011#011
11
Apr 14 17:13:41 ondes mysqld[17110]: Space in mmapped regions:#011#011
32161792
Apr 14 17:13:41 ondes mysqld[17110]: Maximum total allocated
space:#011#011 0
Apr 14 17:13:41 ondes mysqld[17110]: Space available in freed fastbin
blocks: 0
Apr 14 17:13:41 ondes mysqld[17110]: Total allocated space:#011#011#011
22695280
Apr 14 17:13:41 ondes mysqld[17110]: Total free space:#011#011#011
193168
Apr 14 17:13:41 ondes mysqld[17110]: Top-most, releasable space:#011#011
174256
Apr 14 17:13:41 ondes mysqld[17110]: Estimated memory (with thread
stack): 55050240
Apr 14 17:13:41 ondes
mysqld[17110]:
Apr 14 17:13:41 ondes mysqld_safe[17307]:
ended
Apr 14 17:13:42 ondes mysqld_safe[17529]:
started
Apr 14 17:13:43 ondes mysqld[17532]: 090414 17:13:43 InnoDB: Started;
log sequence number 0 43655
Apr 14 17:13:43 ondes mysqld[17532]: 090414 17:13:43 [Note]
/usr/sbin/mysqld: ready for connections.
Apr 14 17:13:43 ondes mysqld[17532]: Version: '5.0.77-1' socket:
'/var/run/mysqld/mysqld.sock' port: 3306 (Debian)
The error messages after ctrl+c :
^Cdpkg: error while cleaning up:
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.0_5.0.77-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing mysql-server-5.0 (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
ondes:~#
and the corresponding entries in /var/log/daemon.log :
Apr 14 17:15:26 ondes
mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: Status
information:
Apr 14 17:15:26 ondes
mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: Current dir:
/var/lib/mysql/
Apr 14 17:15:26 ondes mysqld[17532]: Running threads: 0 Stack size:
131072
Apr 14 17:15:26 ondes mysqld[17532]: Current
locks:
Apr 14 17:15:26 ondes mysqld[17532]: lock:
0x34b6ad0:
Apr 14 17:15:26 ondes
mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: lock:
0x34b0c70:
Apr 14 17:15:26 ondes
mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: lock:
0x34ac0a0:
Apr 14 17:15:26 ondes
mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: lock:
0x349d760:
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: lock: 0x3499760:
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: lock: 0x34935f0:
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: Key caches:
Apr 14 17:15:26 ondes mysqld[17532]: default
Apr 14 17:15:26 ondes mysqld[17532]: Buffer_size: 16777216
Apr 14 17:15:26 ondes mysqld[17532]: Block_size: 1024
Apr 14 17:15:26 ondes mysqld[17532]: Division_limit: 100
Apr 14 17:15:26 ondes mysqld[17532]: Age_limit: 300
Apr 14 17:15:26 ondes mysqld[17532]: blocks used: 0
Apr 14 17:15:26 ondes mysqld[17532]: not flushed: 0
Apr 14 17:15:26 ondes mysqld[17532]: w_requests: 0
Apr 14 17:15:26 ondes mysqld[17532]: writes: 0
Apr 14 17:15:26 ondes mysqld[17532]: r_requests: 0
Apr 14 17:15:26 ondes mysqld[17532]: reads: 0
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: handler status:
Apr 14 17:15:26 ondes mysqld[17532]: read_key: 0
Apr 14 17:15:26 ondes mysqld[17532]: read_next: 0
Apr 14 17:15:26 ondes mysqld[17532]: read_rnd 0
Apr 14 17:15:26 ondes mysqld[17532]: read_first: 3
Apr 14 17:15:26 ondes mysqld[17532]: write: 0
Apr 14 17:15:26 ondes mysqld[17532]: delete 0
Apr 14 17:15:26 ondes mysqld[17532]: update: 0
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: Table status:
Apr 14 17:15:26 ondes mysqld[17532]: Opened tables: 12
Apr 14 17:15:26 ondes mysqld[17532]: Open tables: 6
Apr 14 17:15:26 ondes mysqld[17532]: Open files: 12
Apr 14 17:15:26 ondes mysqld[17532]: Open streams: 0
Apr 14 17:15:26 ondes mysqld[17532]:
Apr 14 17:15:26 ondes mysqld[17532]: Alarm status:
Apr 14 17:15:26 ondes mysqld[17532]: Active alarms: 0
Apr 14 17:15:26 ondes mysqld[17532]: Max used alarms: 1
Apr 14 17:15:26 ondes mysqld[17532]: Next alarm time: 0
mil
More information about the pkg-mysql-maint
mailing list