Debian Bug report logs -
#286961
mysql-server-4.1: MySQL server does not start
Reported by: Andreas Tscharner <andy@blackmoon.ch>
Date: Thu, 23 Dec 2004 09:03:01 UTC
Severity: serious
Found in versions 4.1.8-2, 4.1.8a-1
Fixed in version mysql-dfsg-4.1/4.1.8a-2
Done: Christian Hammers <ch@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Christian Hammers <ch@debian.org>:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Andreas Tscharner <andy@blackmoon.ch>:
New Bug report received and forwarded. Copy sent to Christian Hammers <ch@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: mysql-server-4.1
Version: 4.1.8-2
Severity: grave
Justification: renders package unusable
I try to start MySQL 4.1 server:
tasha:~# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
syslog says:
Dec 23 09:38:29 tasha mysqld_safe[2605]: started
Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] bdb: unable to initialize mutex: Function not implemented
Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] bdb: process-private: unable to initialize environment lock: Function not implemented
Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] Can't init databases
Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] Aborting
Dec 23 09:38:29 tasha mysqld[2608]:
Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [Note] /usr/sbin/mysqld: Shutdown complete
Dec 23 09:38:29 tasha mysqld[2608]:
Dec 23 09:38:29 tasha mysqld_safe[2612]: ended
Dec 23 09:38:36 tasha /etc/init.d/mysql[2652]: 0 processes alive and '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf ping' resulted in
Dec 23 09:38:36 tasha /etc/init.d/mysql[2652]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Dec 23 09:38:36 tasha /etc/init.d/mysql[2652]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Dec 23 09:38:36 tasha /etc/init.d/mysql[2652]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Dec 23 09:38:36 tasha /etc/init.d/mysql[2652]:
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mysql-server-4.1 depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf 1.4.41 Debian configuration management sy
ii libc6 2.3.2.ds1-19 GNU C Library: Shared libraries an
ii libdbi-perl 1.46-2 The Perl5 Database Interface by Ti
ii libmysqlclient14 4.1.8-2 mysql database client library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libreadline4 4.3-15 GNU readline and history libraries
ii libstdc++5 1:3.3.5-5 The GNU Standard C++ Library v3
ii libwrap0 7.6.dbs-6 Wietse Venema's TCP wrappers libra
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii mysql-client-4.1 4.1.8-2 mysql database client binaries
ii mysql-common-4.1 4.1.8-2 mysql database common files (e.g.
ii passwd 1:4.0.3-30.6 Change and administer password and
ii perl 5.8.4-5 Larry Wall's Practical Extraction
ii psmisc 21.5-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.2-4 compression library - runtime
-- debconf information:
* mysql-server-4.1/start_on_boot: true
mysql-server-4.1/postrm_remove_databases: false
* mysql-server-4.1/mysql_install_db_notes:
mysql-server-4.1/mysql_update_hints1:
mysql-server-4.1/nis_warning:
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Christian Hammers <ch@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #10 received at 286961@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello Andreas
On 2004-12-23 Andreas Tscharner wrote:
> Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] bdb: unable to initialize mutex: Function not implemented
> Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] bdb: process-private: unable to initialize environment lock: Function not implemented
> Dec 23 09:38:29 tasha mysqld[2608]: 041223 9:38:29 [ERROR] Can't init databases
It works on my 2.6.x kernel with Athlon64 in i386 compatibility mode but
there were mutex problems reported with other architectures and kernels, too.
Probably it works with a 2.6 kernel or if that's no option, by
disabling BerkeleyDB support until the issue is fixed.
bye,
-christian-
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hammers <ch@debian.org>:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Andreas Tscharner <andy@blackmoon.ch>:
Extra info received and forwarded to list. Copy sent to Christian Hammers <ch@debian.org>.
(full text, mbox, link).
Message #15 received at 286961@bugs.debian.org (full text, mbox, reply):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Hammers wrote:
| It works on my 2.6.x kernel with Athlon64 in i386 compatibility mode but
| there were mutex problems reported with other architectures and
kernels, too.
It works on my Intel Pentium 4 with kernel 2.6.9 too. That was the
reason I installed it.
|
| Probably it works with a 2.6 kernel or if that's no option, by
| disabling BerkeleyDB support until the issue is fixed.
I added
skip-bdb
to my /etc/mysql/my.cnf file and that did the trick. Thanks.
I think in this case, the severity is no longer 'grave'.
Andreas
- --
Andreas Tscharner andy@blackmoon.ch
- ----------------------------------------------------------------------
bashian roulette:
if [ $(($RANDOM%6)) -eq 0 ]; then rm -rf ~; fi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBypmHd6icl+PTsS8RAr57AJ9az2M3x9dk6NuPDDjsf6pec5uU/wCfYhrM
auMtNTSwIHOurACiF8tQ9YI=
=Mkpy
-----END PGP SIGNATURE-----
Severity set to `important'.
Request was from Christian Hammers <ch@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hammers <ch@debian.org>:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Steve Swantz <webmaster@nwaalpa.org>:
Extra info received and forwarded to list. Copy sent to Christian Hammers <ch@debian.org>.
(full text, mbox, link).
Message #22 received at 286961@bugs.debian.org (full text, mbox, reply):
Package: mysql-server-4.1
Version: 4.1.8a-1
Followup-For: Bug #286961
apt-get upgrade to 4.1.8a-1 broke mysqld
Jan 5 01:04:45 localhost mysqld_safe[3606]: started
Jan 5 01:04:45 localhost mysqld[3609]: 050105 1:04:45 [ERROR] bdb:
unable to initialize mutex: Function not implemented
Jan 5 01:04:45 localhost mysqld[3609]: 050105 1:04:45 [ERROR] bdb:
process-private: unable to initialize environment lock: Function not
implemented
Jan 5 01:04:45 localhost mysqld[3609]: 050105 1:04:45 [ERROR] Can't
init databases
Jan 5 01:04:45 localhost mysqld[3609]: 050105 1:04:45 [ERROR] Aborting
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages mysql-server-4.1 depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdbi-perl 1.45-1 The Perl5 Database Interface by Ti
ii libmysqlclient14 4.1.8a-1 mysql database client library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libreadline4 4.3-11 GNU readline and history libraries
ii libstdc++5 1:3.3.5-5 The GNU Standard C++ Library v3
ii libwrap0 7.6.dbs-6 Wietse Venema's TCP wrappers libra
ii mailx 1:8.1.2-0.20040524cvs-3 A simple mail user agent
ii mysql-client-4.1 4.1.8a-1 mysql database client binaries
ii mysql-common-4.1 4.1.8a-1 mysql database common files (e.g.
ii passwd 1:4.0.3-30.7 Change and administer password and
ii perl 5.8.4-3 Larry Wall's Practical Extraction
ii psmisc 21.5-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.2-3 compression library - runtime
-- debconf information:
* mysql-server-4.1/start_on_boot: true
mysql-server-4.1/postrm_remove_databases: false
* mysql-server-4.1/mysql_install_db_notes:
mysql-server-4.1/mysql_update_hints1:
mysql-server-4.1/nis_warning:
Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hammers <ch@debian.org>:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to kissg@cdata.hu:
Extra info received and forwarded to list. Copy sent to Christian Hammers <ch@debian.org>.
(full text, mbox, link).
Message #27 received at 286961@bugs.debian.org (full text, mbox, reply):
Package: mysql-server-4.1
Version: 4.1.8a-1
Followup-For: Bug #286961
The same problem with 4.1.8a-1.
After upgrading from the _fine_working_ 4.1.7-4,
mysqld starts no more.
'skip-bdb' also helps.
However some different default config or more intelligent install script
or more warnings are required.
Regards
Gabor
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mysql-server-4.1 depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdbi-perl 1.45-1 The Perl5 Database Interface by Ti
ii libmysqlclient14 4.1.8a-1 mysql database client library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libreadline4 4.3-11 GNU readline and history libraries
ii libstdc++5 1:3.3.5-5 The GNU Standard C++ Library v3
ii libwrap0 7.6.dbs-6 Wietse Venema's TCP wrappers libra
ii mailx 1:8.1.2-0.20040524cvs-3 A simple mail user agent
ii mysql-client-4.1 4.1.8a-1 mysql database client binaries
ii mysql-common-4.1 4.1.8a-1 mysql database common files (e.g.
ii passwd 1:4.0.3-30.7 Change and administer password and
ii perl 5.8.4-3 Larry Wall's Practical Extraction
ii psmisc 21.5-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.2-3 compression library - runtime
-- debconf information:
* mysql-server-4.1/start_on_boot: true
mysql-server-4.1/postrm_remove_databases: false
* mysql-server-4.1/mysql_install_db_notes:
mysql-server-4.1/mysql_update_hints1:
mysql-server-4.1/nis_warning:
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Christian Hammers <ch@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #32 received at 286961@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello
On 2005-01-05 Gabor Kiss wrote:
> However some different default config or more intelligent install script
> or more warnings are required.
There's a patch for ./configure needed.. I hoped that the new MySQL
autoconf scripts would solve that problem but it seems they do not so I will
have to install some more kernel versions on my desktop to test...
bye,
-christian-
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hammers <ch@debian.org>:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Rory Campbell-Lange <rory@campbell-lange.net>:
Extra info received and forwarded to list. Copy sent to Christian Hammers <ch@debian.org>.
(full text, mbox, link).
Message #37 received at 286961@bugs.debian.org (full text, mbox, reply):
Package: mysql-server-4.1
Version: 4.1.8a-1
Followup-For: Bug #286961
Jan 6 11:08:55 localhost mysqld[28257]:
Jan 6 11:08:55 localhost mysqld[28257]: 050106 11:08:55 [Note] /usr/sbin/mysqld: Shutdown complete
Jan 6 11:08:55 localhost mysqld[28257]:
Jan 6 11:08:55 localhost mysqld_safe[28259]: ended
Jan 6 11:09:01 localhost /etc/init.d/mysql[28301]: 0 processes alive and '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf ping' resulted in
Jan 6 11:09:01 localhost /etc/init.d/mysql[28301]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jan 6 11:09:01 localhost /etc/init.d/mysql[28301]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Jan 6 11:09:01 localhost /etc/init.d/mysql[28301]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jan 6 11:09:01 localhost /etc/init.d/mysql[28301]:
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages mysql-server-4.1 depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdbi-perl 1.45-1 The Perl5 Database Interface by Ti
ii libmysqlclient14 4.1.8a-1 mysql database client library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libreadline4 4.3-11 GNU readline and history libraries
ii libstdc++5 1:3.3.5-5 The GNU Standard C++ Library v3
ii libwrap0 7.6.dbs-6 Wietse Venema's TCP wrappers libra
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii mysql-client-4.1 4.1.8a-1 mysql database client binaries
ii mysql-common-4.1 4.1.8a-1 mysql database common files (e.g.
ii passwd 1:4.0.3-30.7 Change and administer password and
ii perl 5.8.4-5 Larry Wall's Practical Extraction
ii psmisc 21.5-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.2-3 compression library - runtime
-- debconf information:
* mysql-server-4.1/start_on_boot: true
mysql-server-4.1/postrm_remove_databases: false
* mysql-server-4.1/mysql_install_db_notes:
mysql-server-4.1/mysql_update_hints1:
mysql-server-4.1/nis_warning:
Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hammers <ch@debian.org>:
Bug#286961; Package mysql-server-4.1.
(full text, mbox, link).
Acknowledgement sent to Joe Drew <hoserhead@woot.net>:
Extra info received and forwarded to list. Copy sent to Christian Hammers <ch@debian.org>.
(full text, mbox, link).
Message #42 received at 286961@bugs.debian.org (full text, mbox, reply):
severity 286961 serious
thanks
There's no way that mysql 4.1 is suitable for stable if it breaks
upgrades, and it does.
--
Joe Drew <hoserhead@woot.net> <drew@debian.org>
If you use Internet Explorer, your computer isn't safe.
http://getfirefox.com/ and leave pop-up ads, spyware and viruses behind.
Severity set to `serious'.
Request was from Joe Drew <hoserhead@woot.net>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to Christian Hammers <ch@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Andreas Tscharner <andy@blackmoon.ch>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #49 received at 286961-close@bugs.debian.org (full text, mbox, reply):
Source: mysql-dfsg-4.1
Source-Version: 4.1.8a-2
We believe that the bug you reported is fixed in the latest version of
mysql-dfsg-4.1, which is due to be installed in the Debian FTP archive:
libmysqlclient14-dev_4.1.8a-2_i386.deb
to pool/main/m/mysql-dfsg-4.1/libmysqlclient14-dev_4.1.8a-2_i386.deb
libmysqlclient14_4.1.8a-2_i386.deb
to pool/main/m/mysql-dfsg-4.1/libmysqlclient14_4.1.8a-2_i386.deb
mysql-client-4.1_4.1.8a-2_i386.deb
to pool/main/m/mysql-dfsg-4.1/mysql-client-4.1_4.1.8a-2_i386.deb
mysql-common-4.1_4.1.8a-2_all.deb
to pool/main/m/mysql-dfsg-4.1/mysql-common-4.1_4.1.8a-2_all.deb
mysql-dfsg-4.1_4.1.8a-2.diff.gz
to pool/main/m/mysql-dfsg-4.1/mysql-dfsg-4.1_4.1.8a-2.diff.gz
mysql-dfsg-4.1_4.1.8a-2.dsc
to pool/main/m/mysql-dfsg-4.1/mysql-dfsg-4.1_4.1.8a-2.dsc
mysql-server-4.1_4.1.8a-2_i386.deb
to pool/main/m/mysql-dfsg-4.1/mysql-server-4.1_4.1.8a-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 286961@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Hammers <ch@debian.org> (supplier of updated mysql-dfsg-4.1 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 6 Jan 2005 09:30:13 +0100
Source: mysql-dfsg-4.1
Binary: libmysqlclient14-dev mysql-common-4.1 libmysqlclient14 mysql-server-4.1 mysql-client-4.1
Architecture: source i386 all
Version: 4.1.8a-2
Distribution: unstable
Urgency: medium
Maintainer: Christian Hammers <ch@debian.org>
Changed-By: Christian Hammers <ch@debian.org>
Description:
libmysqlclient14 - mysql database client library
libmysqlclient14-dev - mysql database development files
mysql-client-4.1 - mysql database client binaries
mysql-common-4.1 - mysql database common files (e.g. /etc/mysql/my.cnf)
mysql-server-4.1 - mysql database server binaries
Closes: 285071 286961
Changes:
mysql-dfsg-4.1 (4.1.8a-2) unstable; urgency=medium
.
* Some Makefiles that were patched by me got overwritten by the GNU
autotools, probably because I also patched ./configure. Fixed now,
the critical mutex patch is now back in again. Closes: #286961
* Added patch to make MySQL compile on ARM (thanks to Adam Majer).
Closes: #285071
Files:
d1b7feaa99fde985e7b7174113eb9d3a 977 misc optional mysql-dfsg-4.1_4.1.8a-2.dsc
b29a3c5665c87fbe9787e9b1c399ff81 145442 misc optional mysql-dfsg-4.1_4.1.8a-2.diff.gz
3814075ed0ecbba23b4a21a165f40062 30832 misc optional mysql-common-4.1_4.1.8a-2_all.deb
6b7be10a3aee6ada300d3068bf28aa1c 1401784 libs optional libmysqlclient14_4.1.8a-2_i386.deb
e8f4dc51f4b3b3c2bd2456922dd65075 2506736 libdevel optional libmysqlclient14-dev_4.1.8a-2_i386.deb
3663c2c5a2ac8544ed2d7c8e712c719a 820764 misc optional mysql-client-4.1_4.1.8a-2_i386.deb
21aa49595a029687b848122d33dffa83 14479046 misc optional mysql-server-4.1_4.1.8a-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iEYEARECAAYFAkHgWf4ACgkQkR9K5oahGObdOwCgn6qwaalTAR+/oGQbHHeX3cTe
/8oAn3JeqncPR2GcU4HUgzcsz7z5Tzo5
=Txfr
-----END PGP SIGNATURE-----
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jun 4 19:48:05 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.