[debian-mysql] Bug#628628: mysql-server-5.1: init script reported "failed" on start falsely
Jochen Pawletta
jochen at hin.de
Mon May 30 20:20:37 UTC 2011
Package: mysql-server-5.1
Version: 5.1.49-3
Severity: wishlist
Hi
I have a similar problem like bug#352070, the waiting time is to short:
--------
May 30 17:28:57 thales mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
May 30 17:28:57 thales mysqld: 110530 17:28:57 [Note] Plugin 'FEDERATED' is disabled.
May 30 17:29:03 thales /etc/init.d/mysql[2415]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
May 30 17:29:03 thales /etc/init.d/mysql[2415]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
May 30 17:29:03 thales /etc/init.d/mysql[2415]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
May 30 17:29:03 thales /etc/init.d/mysql[2415]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
May 30 17:29:03 thales /etc/init.d/mysql[2415]:
May 30 17:29:07 thales mysqld: 110530 17:29:07 InnoDB: Started; log sequence number 3 95773038
May 30 17:29:07 thales mysqld: 110530 17:29:07 [Note] Event Scheduler: Loaded 0 events
May 30 17:29:07 thales mysqld: 110530 17:29:07 [Note] /usr/sbin/mysqld: ready for connections.
May 30 17:29:07 thales mysqld: Version: '5.1.49-3' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian)
-------
I must say that _many_ services starts on booting the machine.
There are 4 plone-Instances for example ...
Could you make it configureable how long the init script waits?
Jochen
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mysql-server-5.1 depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [de 1.5.36.1 Debian configuration management sy
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libdbi-perl 1.612-1 Perl Database Interface (DBI)
ii libgcc1 1:4.4.5-8 GCC support library
ii libmysqlcli 5.1.49-3 MySQL database client library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii mysql-clien 5.1.49-3 MySQL database client binaries
ii mysql-commo 5.1.49-3 MySQL database common files, e.g.
ii mysql-serve 5.1.49-3 MySQL database server binaries
ii passwd 1:4.1.4.2+svn3283-2+squeeze1 change and administer password and
ii perl 5.10.1-17 Larry Wall's Practical Extraction
ii psmisc 22.11-1 utilities that use the proc file s
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages mysql-server-5.1 recommends:
ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent
ii libhtml-template-p 2.9-2 module for using HTML Templates wi
ii mailx 1:20071201-3 Transitional package for mailx ren
Versions of packages mysql-server-5.1 suggests:
pn tinyca <none> (no description available)
-- Configuration Files:
/etc/logrotate.d/mysql-server changed [not included]
-- debconf information excluded
More information about the pkg-mysql-maint
mailing list