Home > Database > Mysql Tutorial > body text

ubuntu 9.10安装mysql 5.1错误解决

WBOY
Release: 2016-06-07 15:27:12
Original
1331 people have browsed it

在ubuntu 9.10中安装mysql-5.1可能会出现如下问题 useradd: cannot lock /etc/passwd; try again later. useradd: cannot lock /etc/shadow; try again later. 解决方法: 一位在/etc中多了两个文件passwd.lock shadow.lock将它们删除即可 sudo rm -f passwd

在ubuntu 9.10中安装mysql-5.1可能会出现如下问题

useradd: cannot lock /etc/passwd; try again later.

useradd: cannot lock /etc/shadow; try again later.

 

解决方法:

一位在/etc中多了两个文件passwd.lock   shadow.lock将它们删除即可

sudo rm -f passwd.lock

sudo rm -f shadow.lock

 

 

在重新安装即可

sudo apt-get install mysql-server-5.1

 

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!