Bug#400598: mysql-server-5.0: Fail to start or stop mysql-server with Splashy installed

2007-01-03 Thread Shobhit Jindal

Plz do CC me the replies

Package: mysql-server-5.0
Version: 5.0.30-3
Severity: important

Splashy version: 0.2.2

while upgrading mysql server it hung giving errors about unknown $RUNLEVEL
sorry but couldnt save the output in time

it was resolved by exporting RUNLEVEL and restarting the update process

presently when trying to interactively start stop mysql-server gives the
following warnings though the server stops and start successfully.
-
/etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
/etc/lsb-base-logging.sh: line 34: RUNLEVEL: unbound variable
Starting MySQL database server: mysqld.
/etc/lsb-base-logging.sh: line 34: RUNLEVEL: unbound variable
-

I request the bug to be reopened.

thanks.

-- System Information:
Debian Release: 4.0
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)

Versions of packages mysql-server-5.0 depends on:
ii  adduser 3.101Add and remove users and groups
ii  debconf [debconf-2.0]   1.5.11   Debian configuration management
sy
ii  libc6   2.3.6.ds1-9  GNU C Library: Shared libraries
ii  libdbi-perl 1.53-1   Perl5 database interface by Tim
Bu
ii  libgcc1 1:4.1.1-21   GCC support library
ii  libmysqlclient15off 5.0.30-3 mysql database client library
ii  libncurses5 5.5-5Shared libraries for terminal
hand
ii  libreadline55.2-2GNU readline and history
libraries
ii  libstdc++6  4.1.1-21 The GNU Standard C++ Library v3
ii  libwrap07.6.dbs-11   Wietse Venema's TCP wrappers
libra
ii  lsb-base3.1-22   Linux Standard Base 3.1 init
scrip
ii  mysql-client-5.05.0.30-3 mysql database client binaries
ii  mysql-common5.0.30-3 mysql database common files (
e.g.
ii  passwd  1:4.0.18.1-6 change and administer password
and
ii  perl5.8.8-7  Larry Wall's Practical
Extraction
ii  psmisc  22.3-1   Utilities that use the proc
filesy
ii  zlib1g  1:1.2.3-13   compression library - runtime

Versions of packages mysql-server-5.0 recommends:
pn  mailx  (no description available)

-- debconf information:
 mysql-server-5.0/really_downgrade: false
 mysql-server-5.0/start_on_boot: true
 mysql-server-5.0/nis_warning:
 mysql-server-5.0/postrm_remove_databases: false
 mysql-server-5.0/no_upgrade_with_isam_tables:
* mysql-server-5.0/mysql_install_db_notes:
* mysql-server-5.0/need_sarge_compat: false
 mysql-server/error_setting_password:
 mysql-server-5.0/need_sarge_compat_done: true


Bug#400598: mysql-server-5.0: Fail to start or stop mysql-server with Splashy installed

2006-11-27 Thread Christian Hammers


On 2006-11-27 Jonathan Ballet wrote:
> mysql-server cannot be started or stopped if Splashy is installed. It
> cannot be installed nor removed either (since installation and
> removal scripts start and stop the server).
...
> Unpacking mysql-server (from .../mysql-server_5.0.27-1_all.deb) ...
> Stopping MySQL database server: mysqld.
> /etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
> invoke-rc.d: initscript mysql, action "stop" failed.

MySQL may trigger the problem but the root cause seems to be in lsb-base.

This /etc/lsb-base-logging.sh script is not present on my system but
referenced in /lib/lsb/init-functions from lsb-base. This script should not
use uninitialized variables.
Did you create this script? Or else, can you show me the output of:
dpkg -S /etc/lsb-base-logging.sh

I Cc the lsb-maintainer, maybe he knows about this.

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#400598: mysql-server-5.0: Fail to start or stop mysql-server with Splashy installed

2006-11-27 Thread Jonathan Ballet
Package: mysql-server-5.0
Version: 5.0.27-1
Severity: important

Hello,

mysql-server cannot be started or stopped if Splashy is installed. It
cannot be installed nor removed either (since installation and
removal scripts start and stop the server).

Here is the output while trying to install mysql-server package (with
Splashy already installed) :
=
# LANGUAGE=en_US aptitude install mysql-server
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  mysql-server-5.0
The following NEW packages will be installed:
  mysql-server mysql-server-5.0
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/25,1MB of archives. After unpacking 67,6MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package mysql-server-5.0.
(Reading database ... 207627 files and directories currently installed.)
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.27-1_i386.deb)
...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.27-1_all.deb) ...
Stopping MySQL database server: mysqld.
/etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
invoke-rc.d: initscript mysql, action "stop" failed.
invoke-rc.d returned 1
There is a MySQL server running, but we failed in our attempts to stop
it.
Stop it yourself and try again!
dpkg: error processing
/var/cache/apt/archives/mysql-server_5.0.27-1_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server_5.0.27-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up mysql-server-5.0 (5.0.27-1) ...
Stopping MySQL database server: mysqld.
/etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
invoke-rc.d: initscript mysql, action "stop" failed.
Starting MySQL database server: mysqld.
/etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
invoke-rc.d: initscript mysql, action "start" failed.

dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
 mysql-server-5.0
#
==

(I hit CTRL-C at the end, after "start" failed, since nothings happens
for several minutes).

Purging splashy package cause the problem to disapear.

It seems to be due to the "set -u" command, at the beginning of
/etc/init.d/mysql script, which cause the script to abort, since
$RUNLEVEL is not defined. Other init.d's scripts like Apache doesn't set
this flag, but I don't know what is the correct behavior to have in this
case.


Thanks,
 - Jonathan

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages mysql-server-5.0 depends on:
ii  adduser 3.99 Add and remove users and groups
ii  debconf [debconf-2.0]   1.5.9Debian configuration management sy
ii  libc6   2.3.6.ds1-8  GNU C Library: Shared libraries
ii  libdbi-perl 1.53-1   Perl5 database interface by Tim Bu
ii  libgcc1 1:4.1.1-20   GCC support library
ii  libmysqlclient15off 5.0.27-1 mysql database client library
ii  libncurses5 5.5-5Shared libraries for terminal hand
ii  libreadline55.2-1GNU readline and history libraries
ii  libstdc++6  4.1.1-20 The GNU Standard C++ Library v3
ii  libwrap07.6.dbs-11   Wietse Venema's TCP wrappers libra
ii  lsb-base3.1-22   Linux Standard Base 3.1 init scrip
ii  mysql-client-5.05.0.27-1 mysql database client binaries
ii  mysql-common5.0.27-1 mysql database common files (e.g. 
ii  passwd  1:4.0.18.1-5 change and administer password and
ii  perl5.8.8-6.1Larry Wall's Practical Extraction 
ii  psmisc  22.3-1   Utilities that use the proc filesy
ii  zlib1g  1:1.2.3-13   compression library - runtime

Versions of packages mysql-server-5.0 recommends:
ii  mailx1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- debconf information:
  mysql-server-5.0/really_downgrade: false
* mysql-server-5.0/need_sarge_compat: false
  mysql-server-5.0/start_on_boot: true
  mysql-server/error_setting_password:
  mysql-server-5.0/nis_warning:
  mysql-se