Page 1 of 1

E325 error

Posted: Thu Jun 25, 2020 10:19 am
by arun1727
Hi Team,
Please find the below issue & assist us accordingly.

E325: ATTENTION
Found a swap file by the name ".hosts.mk.swp"
owned by: root dated: Tue Jun 16 13:30:16 2020
file name: /etc/check_mk/conf.d/hosts.mk
modified: YES
user name: root host name: HT-Nagios-Tools1
process ID: 9023
While opening file "hosts.mk"
dated: Wed Jun 24 11:44:29 2020
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 hosts.mk"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".hosts.mk.swp"
to avoid this message.
"hosts.mk" 444L, 38605C

Re: E325 error

Posted: Mon Jul 06, 2020 3:12 pm
by scottwilkerson
This is an error you get when trying to open a file for editing that already has a tmp file opened for it (either someone else is editing or a previous session is still open

To rectify it, follow the instructions given
(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 hosts.mk"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".hosts.mk.swp"
to avoid this message.