[Linux] E325 : ATTENTION Found a swap file by the name 에러

E325: ATTENTION
Found a swap file by the name “.bash_profile.swp”
owned by: root dated: Mon Apr 15 17:11:24 2013
file name: /home/svc/.bash_profile
modified: YES
user name: root host name:
process ID:
While opening file “.bash_profile”
dated: Mon Apr 15 17:11:24 2013
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 .bash_profile”
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “.bash_profile.swp”
to avoid this message.
“.bash_profile” 14 lines, 120 characters
Press ENTER or type command to continue

 

# 원인

1.   접근한 파일이 비정상적으로 종료 됨

2.  동일파일에 접근 한 다른 사용자가 있음

 

# 증상

1.  위와 같은 에러 메시지

 

# 해결

1. 접근한 파일과 동일 디렉토리에서  *.swp 파일을 삭제한다.

rm *.swp

 

댓글 남기기