[Bug 382727] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

pascal pascal.coullet at laposte.net
Fri Jun 5 14:33:21 BST 2009


Jun  5 15:31:20 pascal-laptop mysqld_safe[14897]: ended
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: PLEASE REMEMBER TO SET 
A PASSWORD FOR THE MySQL root USER !
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: To do so, start the 
server, then issue the following commands:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: /usr/bin/mysqladmin -u 
root password 'new-password'
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: /usr/bin/mysqladmin -u 
root -h pascal-laptop password 'new-password'
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: Alternatively you can run:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: 
/usr/bin/mysql_secure_installation
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: which will also give 
you the option of removing the test
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: databases and 
anonymous user created by default.  This is
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: strongly recommended 
for production servers.
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: See the manual for 
more instructions.
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: Please report any 
problems with the /usr/bin/mysqlbug script!
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: The latest information 
about MySQL is available on the web at
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: http://www.mysql.com
Jun  5 15:31:21 pascal-laptop mysqld_safe[14924]: Support MySQL by 
buying support/licenses at http://shop.mysql.com
Jun  5 15:31:21 pascal-laptop mysqld_safe[14993]: ERROR: 1046  No 
database selected
Jun  5 15:31:21 pascal-laptop mysqld_safe[14993]: 090605 15:31:21 
[ERROR] Aborting
Jun  5 15:31:21 pascal-laptop mysqld_safe[14993]:
Jun  5 15:31:21 pascal-laptop mysqld_safe[14993]: 090605 15:31:21 [Note] 
/usr/sbin/mysqld: Shutdown complete
Jun  5 15:31:21 pascal-laptop mysqld_safe[14993]:
Jun  5 15:31:22 pascal-laptop AppArmor(init): Skipping profile 
/etc/apparmor.d/usr.sbin.mysqld~
Jun  5 15:31:22 pascal-laptop mysqld_safe[15176]: started
Jun  5 15:31:22 pascal-laptop mysqld[15179]: 090605 15:31:22 [Warning] 
Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:22 pascal-laptop mysqld[15179]: 090605 15:31:22 [Warning] 
Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:22 pascal-laptop mysqld[15179]: 090605 15:31:22  InnoDB: 
Operating system error number 13 in a file operation.
Jun  5 15:31:22 pascal-laptop mysqld[15179]: InnoDB: The error means 
mysqld does not have the access rights to
Jun  5 15:31:22 pascal-laptop mysqld[15179]: InnoDB: the directory.
Jun  5 15:31:22 pascal-laptop mysqld[15179]: InnoDB: File name ./ibdata1
Jun  5 15:31:22 pascal-laptop mysqld[15179]: InnoDB: File operation 
call: 'open'.
Jun  5 15:31:22 pascal-laptop mysqld[15179]: InnoDB: Cannot continue 
operation.
Jun  5 15:31:22 pascal-laptop mysqld_safe[15186]: ended
Jun  5 15:31:37 pascal-laptop /etc/init.d/mysql[15338]: 0 processes 
alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf 
ping' resulted in
Jun  5 15:31:37 pascal-laptop /etc/init.d/mysql[15338]: 
^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jun  5 15:31:37 pascal-laptop /etc/init.d/mysql[15338]: error: 'Can't 
connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)'
Jun  5 15:31:37 pascal-laptop /etc/init.d/mysql[15338]: Check that 
mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jun  5 15:31:37 pascal-laptop /etc/init.d/mysql[15338]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: 090605 15:31:39 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: 090605 15:31:39 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: ERROR: 1347  
'mysql.db' is not BASE TABLE
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: 090605 15:31:39 
[ERROR] Aborting
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: 090605 15:31:39 [Note] 
/usr/sbin/mysqld: Shutdown complete
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: Installation of system 
tables failed!
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: Examine the logs in 
/home/mysql for more information.
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: You can try to start 
the mysqld daemon with:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: /usr/sbin/mysqld 
--skip-grant &
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: and use the command 
line tool
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: /usr/bin/mysql to 
connect to the mysql
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: database and look at 
the grant tables:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: shell> /usr/bin/mysql 
-u root mysql
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: mysql> show tables
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: Try 'mysqld --help' if 
you have problems with paths. Using --log
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: gives you a log in 
/home/mysql that may be helpful.
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]:
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: The latest information 
about MySQL is available on the web at
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: http://www.mysql.com
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: Please consult the 
MySQL manual section: 'Problems running mysql_install_db',
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: and the manual section 
that describes problems on your OS.
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: Another information 
source is the MySQL email archive.
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: Please check all of 
the above before mailing us!
Jun  5 15:31:39 pascal-laptop mysqld_safe[15427]: And if you do mail us, 
you MUST use the /usr/bin/mysqlbug script!
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: 090605 15:31:40 
[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: 090605 15:31:40 
[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: ERROR: 1017  Can't 
find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: 090605 15:31:40 
[ERROR] Aborting
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]: 090605 15:31:40 [Note] 
/usr/sbin/mysqld: Shutdown complete
Jun  5 15:31:40 pascal-laptop mysqld_safe[15464]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: 090605 15:31:40 
[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: 090605 15:31:40 
[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: ERROR: 1017  Can't 
find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: 090605 15:31:40 
[ERROR] Aborting
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]: 090605 15:31:40 [Note] 
/usr/sbin/mysqld: Shutdown complete
Jun  5 15:31:40 pascal-laptop mysqld_safe[15476]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: 090605 15:31:40 
[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: 090605 15:31:40 
[ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: ERROR: 1017  Can't 
find file: './mysql/user.frm' (errno: 13)
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: 090605 15:31:40 
[ERROR] Aborting
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]: 090605 15:31:40 [Note] 
/usr/sbin/mysqld: Shutdown complete
Jun  5 15:31:40 pascal-laptop mysqld_safe[15482]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]: 090605 15:31:40 
[Warning] Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]: ERROR: 1046  No 
database selected
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]: 090605 15:31:40 
[ERROR] Aborting
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]:
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]: 090605 15:31:40 [Note] 
/usr/sbin/mysqld: Shutdown complete
Jun  5 15:31:40 pascal-laptop mysqld_safe[15491]:
Jun  5 15:31:40 pascal-laptop AppArmor(init): Skipping profile 
/etc/apparmor.d/usr.sbin.mysqld~
Jun  5 15:31:41 pascal-laptop mysqld_safe[15673]: started
Jun  5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 [Warning] 
Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 [Warning] 
Can't create test file /home/mysql/pascal-laptop.lower-test
Jun  5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41  InnoDB: 
Operating system error number 13 in a file operation.
Jun  5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: The error means 
mysqld does not have the access rights to
Jun  5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: the directory.
Jun  5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: File name ./ibdata1
Jun  5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: File operation 
call: 'open'.
Jun  5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: Cannot continue 
operation.
Jun  5 15:31:41 pascal-laptop mysqld_safe[15683]: ended
Jun  5 15:31:55 pascal-laptop /etc/init.d/mysql[15835]: 0 processes 
alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf 
ping' resulted in
Jun  5 15:31:55 pascal-laptop /etc/init.d/mysql[15835]: 
^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jun  5 15:31:55 pascal-laptop /etc/init.d/mysql[15835]: error: 'Can't 
connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)'
Jun  5 15:31:55 pascal-laptop /etc/init.d/mysql[15835]: Check that 
mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jun  5 15:31:55 pascal-laptop /etc/init.d/mysql[15835]:


Mathias Gug a écrit :
> Relevant errors:
>
>  * Starting MySQL database server mysqld
>
>    ...fail!
>
> invoke-rc.d: initscript mysql, action "start" failed.
>
> dpkg : erreur de traitement de mysql-server-5.0 (--configure) :
>
>  le sous-processus post-installation script a retourné une erreur de
> sortie d'état 1
>
> Could you post the content of /var/log/daemon.log around the time of the
> upgrade to identify why mysqld failed to start?
>
> ** Changed in: mysql-dfsg-5.0 (Ubuntu)
>        Status: New => Incomplete
>
>

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/382727
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list