Re: [Bug 365872] Re: Failed to start MySQL database server mysqld on install
Yes, $ grep mysql /var/log/daemon.log Apr 24 01:51:59 HAL mysqld_safe[20541]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! Apr 24 01:51:59 HAL mysqld_safe[20541]: To do so, start the server, then issue the following commands: Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysqladmin -u root password 'new-password' Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysqladmin -u root -h HAL password 'new-password' Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: Alternatively you can run: Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysql_secure_installation Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: which will also give you the option of removing the test Apr 24 01:51:59 HAL mysqld_safe[20541]: databases and anonymous user created by default. This is Apr 24 01:51:59 HAL mysqld_safe[20541]: strongly recommended for production servers. Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: See the manual for more instructions. Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: Please report any problems with the /usr/bin/mysqlbug script! Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: The latest information about MySQL is available on the web at Apr 24 01:51:59 HAL mysqld_safe[20541]: http://www.mysql.com Apr 24 01:51:59 HAL mysqld_safe[20541]: Support MySQL by buying support/licenses at http://shop.mysql.com Apr 24 01:52:11 HAL mysqld_safe[20660]: ERROR: 1046 No database selected Apr 24 01:52:11 HAL mysqld_safe[20660]: 090424 1:52:11 [ERROR] Aborting Apr 24 01:52:11 HAL mysqld_safe[20660]: Apr 24 01:52:11 HAL mysqld_safe[20660]: 090424 1:52:11 [Note] /usr/sbin/mysqld: Shutdown complete Apr 24 01:52:11 HAL mysqld_safe[20660]: Apr 24 01:52:19 HAL mysqld_safe[20838]: started Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: The first specified data file ./ibdata1 did not exist: Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: a new database to be created! Apr 24 01:52:19 HAL mysqld[20841]: 090424 1:52:19 InnoDB: Setting file ./ibdata1 size to 10 MB Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: Database physically writes the file full: wait... Apr 24 01:52:24 HAL mysqld[20841]: 090424 1:52:24 InnoDB: Log file ./ib_logfile0 did not exist: new to be created Apr 24 01:52:24 HAL mysqld[20841]: InnoDB: Setting log file ./ib_logfile0 size to 5 MB Apr 24 01:52:24 HAL mysqld[20841]: InnoDB: Database physically writes the file full: wait... Apr 24 01:52:29 HAL mysqld[20841]: 090424 1:52:29 InnoDB: Log file ./ib_logfile1 did not exist: new to be created Apr 24 01:52:29 HAL mysqld[20841]: InnoDB: Setting log file ./ib_logfile1 size to 5 MB Apr 24 01:52:29 HAL mysqld[20841]: InnoDB: Database physically writes the file full: wait... Apr 24 01:52:33 HAL /etc/init.d/mysql[21014]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: Apr 24 01:53:03 HAL mysqld[20841]: InnoDB: Doublewrite buffer not found: creating new Apr 24 01:53:11 HAL mysqld[20841]: InnoDB: Doublewrite buffer created Apr 24 01:53:11 HAL mysqld[20841]: InnoDB: Creating foreign key constraint system tables Apr 24 01:53:13 HAL mysqld[20841]: InnoDB: Foreign key constraint system tables created Apr 24 01:53:13 HAL mysqld[20841]: 090424 1:53:13 InnoDB: Started; log sequence number 0 0 Apr 24 01:53:14 HAL mysqld[20841]: 090424 1:53:14 [Note] /usr/sbin/mysqld: ready for connections. Apr 24 01:53:14 HAL mysqld[20841]: Version: '5.0.75-0ubuntu10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Status information: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Current dir: /var/lib/mysql/ Apr 24 02:26:34 HAL mysqld[20841]: Running threads: 0 Stack size: 131072 Apr 24 02:26:34 HAL mysqld[20841]: Current locks: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x919fa10: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x919a560: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x9195c58: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x91890c8: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x9185878: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x91808e8: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Key caches: Apr 24 02:26:34 HAL
Re: [Bug 365872] Re: Failed to start MySQL database server mysqld on install
Yes, $ grep mysql /var/log/daemon.log Apr 24 01:51:59 HAL mysqld_safe[20541]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! Apr 24 01:51:59 HAL mysqld_safe[20541]: To do so, start the server, then issue the following commands: Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysqladmin -u root password 'new-password' Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysqladmin -u root -h HAL password 'new-password' Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: Alternatively you can run: Apr 24 01:51:59 HAL mysqld_safe[20541]: /usr/bin/mysql_secure_installation Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: which will also give you the option of removing the test Apr 24 01:51:59 HAL mysqld_safe[20541]: databases and anonymous user created by default. This is Apr 24 01:51:59 HAL mysqld_safe[20541]: strongly recommended for production servers. Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: See the manual for more instructions. Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: Please report any problems with the /usr/bin/mysqlbug script! Apr 24 01:51:59 HAL mysqld_safe[20541]: Apr 24 01:51:59 HAL mysqld_safe[20541]: The latest information about MySQL is available on the web at Apr 24 01:51:59 HAL mysqld_safe[20541]: http://www.mysql.com Apr 24 01:51:59 HAL mysqld_safe[20541]: Support MySQL by buying support/licenses at http://shop.mysql.com Apr 24 01:52:11 HAL mysqld_safe[20660]: ERROR: 1046 No database selected Apr 24 01:52:11 HAL mysqld_safe[20660]: 090424 1:52:11 [ERROR] Aborting Apr 24 01:52:11 HAL mysqld_safe[20660]: Apr 24 01:52:11 HAL mysqld_safe[20660]: 090424 1:52:11 [Note] /usr/sbin/mysqld: Shutdown complete Apr 24 01:52:11 HAL mysqld_safe[20660]: Apr 24 01:52:19 HAL mysqld_safe[20838]: started Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: The first specified data file ./ibdata1 did not exist: Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: a new database to be created! Apr 24 01:52:19 HAL mysqld[20841]: 090424 1:52:19 InnoDB: Setting file ./ibdata1 size to 10 MB Apr 24 01:52:19 HAL mysqld[20841]: InnoDB: Database physically writes the file full: wait... Apr 24 01:52:24 HAL mysqld[20841]: 090424 1:52:24 InnoDB: Log file ./ib_logfile0 did not exist: new to be created Apr 24 01:52:24 HAL mysqld[20841]: InnoDB: Setting log file ./ib_logfile0 size to 5 MB Apr 24 01:52:24 HAL mysqld[20841]: InnoDB: Database physically writes the file full: wait... Apr 24 01:52:29 HAL mysqld[20841]: 090424 1:52:29 InnoDB: Log file ./ib_logfile1 did not exist: new to be created Apr 24 01:52:29 HAL mysqld[20841]: InnoDB: Setting log file ./ib_logfile1 size to 5 MB Apr 24 01:52:29 HAL mysqld[20841]: InnoDB: Database physically writes the file full: wait... Apr 24 01:52:33 HAL /etc/init.d/mysql[21014]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Apr 24 01:52:36 HAL /etc/init.d/mysql[21014]: Apr 24 01:53:03 HAL mysqld[20841]: InnoDB: Doublewrite buffer not found: creating new Apr 24 01:53:11 HAL mysqld[20841]: InnoDB: Doublewrite buffer created Apr 24 01:53:11 HAL mysqld[20841]: InnoDB: Creating foreign key constraint system tables Apr 24 01:53:13 HAL mysqld[20841]: InnoDB: Foreign key constraint system tables created Apr 24 01:53:13 HAL mysqld[20841]: 090424 1:53:13 InnoDB: Started; log sequence number 0 0 Apr 24 01:53:14 HAL mysqld[20841]: 090424 1:53:14 [Note] /usr/sbin/mysqld: ready for connections. Apr 24 01:53:14 HAL mysqld[20841]: Version: '5.0.75-0ubuntu10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Status information: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Current dir: /var/lib/mysql/ Apr 24 02:26:34 HAL mysqld[20841]: Running threads: 0 Stack size: 131072 Apr 24 02:26:34 HAL mysqld[20841]: Current locks: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x919fa10: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x919a560: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x9195c58: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x91890c8: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x9185878: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: lock: 0x91808e8: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Apr 24 02:26:34 HAL mysqld[20841]: Key caches: Apr 24 02:26:34 HAL
[Bug 365872] [NEW] Failed to start MySQL database server mysqld on install
Public bug reported: Binary package hint: mysql-server-5.0 Occured while using Synaptic Package Manager on Ubuntu 9.04 i386 machine to install mysql server and client. apt-cache policy mysql-server-5.0 mysql-server-5.0: Installed: 5.1.30really5.0.75-0ubuntu10 Candidate: 5.1.30really5.0.75-0ubuntu10 Version table: *** 5.1.30really5.0.75-0ubuntu10 0 500 http://ca.archive.ubuntu.com jaunty/main Packages 100 /var/lib/dpkg/status errors below - Setting up mysql-server-5.0 *Stopping mysql database server mysqld ...done *Reloading AppArmor profiles ...done *Starting MySQL database server mysqld ...fail! invoke-rc.d initscript mysql, action start failed. dpkg: error processing my sql-server-5.0 (--configure) subprocess post-installation script killed by signal (interrupt) E: mysql-server-5.0: subprocess post-installation script killed by signal (Interrupt) E: mysql-server: dependency problems - leaving unconfigured ProblemType: Package Architecture: i386 DistroRelease: Ubuntu 9.04 ErrorMessage: subprocess post-installation script killed by signal (Interrupt) MediaBuild: Ubuntu 9.04 Jaunty Jackalope - Release i386 (20090420.1) Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 SourcePackage: mysql-dfsg-5.0 Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: subprocess post-installation script killed by signal (Interrupt) Uname: Linux 2.6.28-11-generic i686 ** Affects: mysql-dfsg-5.0 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 -- Failed to start MySQL database server mysqld on install https://bugs.launchpad.net/bugs/365872 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 365872] Re: Failed to start MySQL database server mysqld on install
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/25912610/Dependencies.txt ** Attachment added: DpkgTerminalLog.txt http://launchpadlibrarian.net/25912611/DpkgTerminalLog.txt -- Failed to start MySQL database server mysqld on install https://bugs.launchpad.net/bugs/365872 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs