Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#752203: mariadb-server-5.5:MariaDB cannot restart

5 views
Skip to first unread message

root

unread,
Jun 21, 2014, 12:00:01 AM6/21/14
to
Package: mariadb-server-5.5
Version: 5.5.37-1
Severity: normal

Dear Maintainer,

MariaDB cannot restart.

================
# /etc/init.d/mysql restart
Stopping MariaDB database server: mysqld.
Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
================

Then, mysqld writes a following message to syslog:

================
Jun 21 12:04:27 myhost001 mysqld: /usr/sbin/mysqld: Too many arguments (first extra is 'restart').
================

/etc/init.d/mysql needs to remove first argument.

================
# diff -u /etc/init.d/mysql.orig /etc/init.d/mysql
--- /etc/init.d/mysql.orig 2014-06-21 12:18:43.000000000 +0900
+++ /etc/init.d/mysql 2014-06-21 12:19:31.000000000 +0900
@@ -160,6 +160,7 @@
;;

'restart')
+ shift
set +e; $SELF stop; set -e
$SELF start "${@}"
;;

================


-- System Information:
Debian Release: 7.5
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-274.el5 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.EUC-JP, LC_CTYPE=ja_JP.EUC-JP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/dash

Versions of packages mariadb-server-5.5 depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii libaio1 0.3.109-3
ii libc6 2.17-97
ii libdbi-perl 1.631-3
ii libpam0g 1.1.3-7.1
ii libssl1.0.0 1.0.1e-2+deb7u10
ii libstdc++6 4.7.2-5
ii lsb-base 4.1+Debian8+deb7u1
ii mariadb-client-5.5 5.5.37-1
ii mariadb-common 5.5.37-1
ii mariadb-server-core-5.5 5.5.37-1
ii passwd 1:4.1.5.1-1
ii perl 5.18.2-4
ii psmisc 22.19-1+deb7u1
ii zlib1g 1:1.2.7.dfsg-13

Versions of packages mariadb-server-5.5 recommends:
pn libhtml-template-perl <none>

Versions of packages mariadb-server-5.5 suggests:
ii bsd-mailx [mailx] 8.1.2-0.20111106cvs-1
pn mariadb-test <none>
pn tinyca <none>

-- Configuration Files:
/etc/init.d/mysql changed [not included]

-- debconf information excluded


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Otto Kekäläinen

unread,
Jul 19, 2014, 7:10:01 PM7/19/14
to
Package: mariadb-server-5.5

Thanks for reporting this. It seems the line with 'shift' was lost
then I applied the fix in
https://mariadb.atlassian.net/browse/MDEV-5957

I will now add the missing line to 5.5 and 10.0 packaging.
0 new messages