当前位置: 技术问答>linux和unix
哪位E文好的朋友。帮我看下这个是什么问题。
来源: 互联网 发布时间:2015-06-30
本文导语: 我编辑postfix 的main.cf 时出现下面的信息。请问这是什么原因。谢谢 E325: ATTENTION Found a swap file by the name ".main.cf.swp" owned by: root dated: Wed Jun 30 09:16:50 2004 file name: /usr/prima/pos...
我编辑postfix 的main.cf 时出现下面的信息。请问这是什么原因。谢谢
E325: ATTENTION
Found a swap file by the name ".main.cf.swp"
owned by: root dated: Wed Jun 30 09:16:50 2004
file name: /usr/prima/postfix/conf/main.cf
modified: no
user name: root host name: ns.vimgate.net
process ID: 19647 (still running)
While opening file "main.cf"
dated: Tue Jun 29 11:02:31 2004
(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 main.cf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".main.cf.swp"
to avoid this message.
"main.cf" 30L, 1307C
Hit ENTER or type command to continue
E325: ATTENTION
Found a swap file by the name ".main.cf.swp"
owned by: root dated: Wed Jun 30 09:16:50 2004
file name: /usr/prima/postfix/conf/main.cf
modified: no
user name: root host name: ns.vimgate.net
process ID: 19647 (still running)
While opening file "main.cf"
dated: Tue Jun 29 11:02:31 2004
(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 main.cf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".main.cf.swp"
to avoid this message.
"main.cf" 30L, 1307C
Hit ENTER or type command to continue
|
你是不是前面编辑了这个文件,然后非法退出的,他是说把你编辑的这个文件放到了交换分区了,你可以用vim -r main.cf覆盖掉他
|
同上,你可以用:recover恢复以前的设置,下一次警告就不会出现了。