E325 error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
arun1727
Posts: 22
Joined: Fri Jun 19, 2020 6:00 am

E325 error

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: E325 error

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked