今天运行VMware,打开之前安装的Red Hat Linux时,VMware提示:提示该虚拟机似乎正在被使用
解决方法:
找到此VM安装的文件夹。在此文件夹下,将名字以“.lck ”结尾的文件夹全部重命名,重命名的名字随意好了。然后再到VMWARE里启动你的VM。
会提示找不到VM的目录,然后关闭虚拟机,重新把所有改掉的文件名改回去,再启动虚拟机应该就可以了
而我是只执行了第一步就OK了 就是将名字以“.lck ”结尾的文件夹全部重命名。
编辑vsftpd.conf的出现问题,提示如下:
E325: ATTENTION
Found a swap file by the name ".vsftpd.conf.swp"
owned by: root dated: Mon Aug 25 13:10:56 2008
file name: /etc/vsftpd/vsftpd.conf
modified: no
user name: root host name: VMLinux
process ID: 2931
While opening file "vsftpd.conf"
dated: Tue Jul 15 11:07:21 2008
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r vsftpd.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".vsftpd.conf.swp"
to avoid this message.
"vsftpd.conf" 110L, 4145C
Hit ENTER or type command to continue
原因:可能是由于上一次在编辑vsftpd.conf时,文件没有退出就直接(强行)重启或关机造成的,产生.vsftpd.conf.swp文件。
解决方法:在vsftpd.conf文件所在的目录,执行ls -a,会发现该文件,删除该文件即可!
今天运行VMware,打开之前安装的Red Hat Linux时,VMware提示:提示该虚拟机似乎正在被使用
解决方法:
找到此VM安装的文件夹。在此文件夹下,将名字以“.lck ”结尾的文件夹全部重命名,重命名的名字随意好了。然后再到VMWARE里启动你的VM。
会提示找不到VM的目录,然后关闭虚拟机,重新把所有改掉的文件名改回去,再启动虚拟机应该就可以了
而我是只执行了第一步就OK了 就是将名字以“.lck ”结尾的文件夹全部重命名。