httpd.conf.swp
在linux9.0上编辑apache2的conf文件时,不知什么原因退不出来了,然后强行退出,再次打开该文件时出现下面的情况:
- E325: ATTENTION
- Found a swap file by the name ".httpd.conf.swp"
- owned by: root dated: Tue Nov 9 12:09:15 2004
- file name: /usr/local/apache2/conf/httpd.conf
- modified: YES
- user name: root host name: localhost
- process ID: 8692
- While opening file "httpd.conf"
- dated: Tue Nov 9 14:03:04 2004
- 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 httpd.conf"
- to recover the changes (see ":help recovery").
- If you did this already, delete the swap file ".httpd.conf.swp"
- to avoid this message.
- "httpd.conf" 1055L, 36055C
- Hit ENTER or type command to continue
复制代码
apache2还正常运行,我要怎样做!虽然上面已经有了提示,但是apache2已投入企业使用,所以想问问,等待解决!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在同一目錄下有一個文件“ .httpd.conf.swp ”
你隻要把這個刪除就可以了
它是一個臨時文件!
我在那个目录下看了,没找到那个文件!
复制代码
这是VI的临时文件,
你删降它就可以了。