免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1444 | 回复: 0
打印 上一主题 下一主题

Found a swap file by the name [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-10 18:56 |只看该作者 |倒序浏览
[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



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/105400/showart_2091078.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP