- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: vi warning message
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 06:47 AM
04-18-2005 06:47 AM
vi warning message
==============================
E325: ATTENTION
Found a swap file by the name ".afiedt.buf.swp"
owned by: oracle dated: Tue Feb 8 17:18:57 2005
file name: ~oracle/afiedt.buf
modified: YES
user name: oracle host name: Ita1
process ID: 30863
While opening file "afiedt.buf"
dated: Mon Apr 18 21:36:11 2005
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 afiedt.buf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".afiedt.buf.swp"
to avoid this message.
"afiedt.buf" 2L, 44C
Hit ENTER or type command to continue
=========================================
How can I force to vi to omit this message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 07:08 AM
04-18-2005 07:08 AM
Re: vi warning message
It is telling you that the file you are opening with vi is already open for modifications by another process.
For this particular instance I can see ommitting this message, but not for "all the time".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 07:17 AM
04-18-2005 07:17 AM
Re: vi warning message
I want to quito this message just to omit the need to press any anditional key when it opens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 11:45 AM
04-18-2005 11:45 AM
Re: vi warning message
rm -r .afiedt.buf.swp
It sounds like a session once was viewing/modifying the file when a crash occured (or the process was killed), leaving the temporary file in place behind.
Or if you aren't actually *MODIFYING* the file, just use 'view afiedt.buf' instead. It bypasses that check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:52 PM
04-26-2005 11:52 PM
Re: vi warning message
If you open an SQL*PLUS session and execute a query, automatically an afiedt.buf will be created in the current working directory.
I don't know why you'd like to edit the file using vi, but if you would like to edit the buffer, just type ed or edit in your SQL*PLUS session and your default text editor (hopefully vi) will be opened. If you close the editor, you will return in your SQL*PLUS session.
Do you now still encounter the issues?
I suggest creating scripts with vi and running them from SQL*PLUS.
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:04 PM
04-27-2005 05:04 PM
Re: vi warning message
Then kill it.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 02:39 AM
04-28-2005 02:39 AM
Re: vi warning message
The thing I am looking for is tho press one key less. The comments from you, mean to press much more keys.
Renarios,
SQL*Plus always use this fiel by default. And is common to edit a statament because I need to modify it or correct it. I maybe edit (with this process) stataments nearly a hundred of times daily.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 01:34 PM
04-28-2005 01:34 PM
Re: vi warning message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 07:18 PM
04-28-2005 07:18 PM
Re: vi warning message
If you change the name of the editfile does the error still occur? command:
set editfile "edit.buf"
Cheers,
Renarios