编辑ECS文件错误-E325: ATTENTION
 
 
有可能我们在编辑某个文件的时候,会提示下面这段内容,那要注意了,可能这个文件正在被别人编辑,或者在别的ssh客户端上被打开。
 
应该先去关闭其他终端的操作,然后,在进行编辑工作。
 
 
E325: ATTENTION
Found a swap file by the name “.blog.soilove.cn.conf.swp”
          owned by: root   dated: Tue Dec  6 01:28:35 2016
         file name: /usr/local/nginx/conf/conf.d/blog.soilove.cn.conf
          modified: YES
         user name: root   host name: iZ23t48i8pbZ
        process ID: 23350
While opening file “blog.soilove.cn.conf”
             dated: Mon Dec  5 23:14:01 2016
 
(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 blog.soilove.cn.conf”
    to recover the changes (see “:help recovery”).
    If you did this already, delete the swap file “.blog.soilove.cn.conf.swp”
    to avoid this message.
“blog.soilove.cn.conf” 28L, 768C
Press ENTER or type command to continue
 
分类: 运维

guolin

guolin

相信世界,向往美好,记录成长过程,分享个人心得,充实平凡生活。 网站信条:因为喜欢,所以热爱。

发表评论

电子邮件地址不会被公开。 必填项已用*标注