[debian-mysql] Bug#609897: Bug#609897: mysql-server-core-5.1: "Mysqld failed" message on boot (still there)

r.ductor at gmail.com r.ductor at gmail.com
Fri Jan 14 15:44:17 UTC 2011


Dear Norbert

> Could you please check if /etc/init.d/mysql checks for mysqld_safe in
> line 20 on your system?

No, it tests -x /usr/sbin/mysqld
(but the #13 mentions mysqld_safe)

So, if I understand well, 
either my /usr/sbin/mysqld does not correspond to >= 5.1.49-2 (for which reason has not been updated?)
or /usr/sbin/mysqld v5.1.49-2 is still buggy... 
I attach my version of /usr/sbin/mysqld

> Did you modify the init-script in the past? The init scripts are treated
> as configuration files, so they will not get overwritten automatically
> when upgrading the package and the init script was manually edited in
> the past.

No, I do not think so (I do not use mysql at all).

> Does a file called /etc/init.d/mysql.dpkg-dist exist on your system?

No

Riccardo
 
----------------------- INFO --------------------------------------------------
galileo:~# head -n 25 /etc/init.d/mysql|cat -n
     1  #!/bin/bash
     2  #
     3  ### BEGIN INIT INFO
     4  # Provides:          mysql
     5  # Required-Start:    $remote_fs $syslog
     6  # Required-Stop:     $remote_fs $syslog
     7  # Should-Start:      $network $named $time
     8  # Should-Stop:       $network $named $time
     9  # Default-Start:     2 3 4 5
    10  # Default-Stop:      0 1 6
    11  # Short-Description: Start and stop the mysql database server daemon
    12  # Description:       Controls the main MySQL database server daemon "mysqld"
    13  #                    and its wrapper script "mysqld_safe".
    14  ### END INIT INFO
    15  #
    16  set -e
    17  set -u
    18  ${DEBIAN_SCRIPT_DEBUG:+ set -v -x}
    19
    20  test -x /usr/sbin/mysqld || exit 0
    21
    22  . /lib/lsb/init-functions
    23
    24  SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
    25  CONF=/etc/mysql/my.cnf
galileo:~# ls /etc/init.d/mysql.dpkg-dist
ls: cannot access /etc/init.d/mysql.dpkg-dist: No such file or directory
galileo:~# 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: etc_init.d_mysql_2011-01-14
Type: application/x-shellscript
Size: 5447 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20110114/0f7e496c/attachment.bin>


More information about the pkg-mysql-maint mailing list