当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装mysql时出现这样的错误,请问如何解决~?
帖子发表于 : 2012-12-08 16:40 

注册: 2010-03-02 14:21
帖子: 38
送出感谢: 0 次
接收感谢: 0 次
用命令 sudo apt-get install mysql-server
要求设置2次root密码后 就出现这样的错误~求解............


After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.5 (5.5.28-0ubuntu0.12.04.2) ...
121209 0:30:00 [Note] Plugin 'FEDERATED' is disabled.
121209 0:30:00 InnoDB: The InnoDB memory heap is disabled
121209 0:30:00 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121209 0:30:00 InnoDB: Compressed tables use zlib 1.2.3.4
121209 0:30:00 InnoDB: Initializing buffer pool, size = 128.0M
121209 0:30:00 InnoDB: Completed initialization of buffer pool
121209 0:30:00 InnoDB: highest supported file format is Barracuda.
121209 0:30:00 InnoDB: Waiting for the background threads to start
121209 0:30:01 InnoDB: 1.1.8 started; log sequence number 1595675
121209 0:30:01 InnoDB: Starting shutdown...
121209 0:30:01 InnoDB: Shutdown completed; log sequence number 1595675
AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 9: Could not open 'abstractions/mysql'
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装mysql时出现这样的错误,请问如何解决~?
帖子发表于 : 2012-12-09 2:17 

注册: 2010-03-02 14:21
帖子: 38
送出感谢: 0 次
接收感谢: 0 次
sudo apt-get autoremove mysql* --purge
sudo apt-get remove apparmor
sudo apt-get install mysql-server mysql-common


删除mysql前' 记得删除一下 /var/lib/mysql 还有 /etc/mysql


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译