Chinaunix首页 | 论坛 | 博客
  • 博客访问: 154155
  • 博文数量: 53
  • 博客积分: 2000
  • 博客等级: 大尉
  • 技术积分: 540
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-04 16:32
文章分类

全部博文(53)

文章存档

2010年(19)

2009年(34)

我的朋友

分类: LINUX

2009-11-10 18:56:02

[root@localhost etc]# vi proftpd.conf
//会出现:

E325: ATTENTION
Found a swap file by the name ".proftpd.conf.swp"
          owned by: root   dated: Tue Nov 10 17:42:38 2009
         file name: /etc/proftpd/etc/proftpd.conf
          modified: no
         user name: root   host name: localhost
        process ID: 11195
While opening file "proftpd.conf"
             dated: Tue Nov 10 18:32:16 2009
      NEWER than swap file!
(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 proftpd.conf"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file ".proftpd.conf.swp"
    to avoid this message.
"proftpd.conf" 66L, 1934C
//如何解决呢?,执行删除文件,在当前路径下是查不到.proftpd.conf.swp这个文件的,执行命令就好了
[root@localhost etc]# rm .proftpd.conf.swp
rm: remove regular file `.proftpd.conf.swp'? y
再VI 就OK
 
阅读(3445) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~