Hi All,
I am in the midst of upgrading our checkmk Raw from 1.6.0p10 to 2.0.0p39. Not sure if anyone came across this issue before. Here are my update commands :
OMD[prod]:~$ omd status
mkeventd: stopped
rrdcached: stopped
npcd: stopped
nagios: stopped
apache: stopped
crontab: stopped
Overall state: stopped
OMD[prod]:~$ omd update
umount: /opt/omd/sites/prod/tmp: target is busy.
Unmounting temporary filesystem…umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.umount: /opt/omd/sites/prod/tmp: target is busy.
.ERROR: Cannot unmount temporary filesystem.
So, when I tried to unmount the tmp site ( as per the online checkmk documents) :
root@xxxxxxx:/opt/omd/sites/prod/tmp/check_mk# sudo umount /opt/omd/sites/prod/tmp
umount: /opt/omd/sites/prod/tmp: target is busy.
Checking the list of files being used on that path, I get the following:
root@xxxxxxx:/opt/omd/sites/prod/tmp/check_mk# sudo lsof +D /opt/omd/sites/prod/tmp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bash 804731 root cwd DIR 0,57 220 8 /opt/omd/sites/prod/tmp/check_mk
sudo 2115590 root cwd DIR 0,57 220 8 /opt/omd/sites/prod/tmp/check_mk
lsof 2115591 root cwd DIR 0,57 220 8 /opt/omd/sites/prod/tmp/check_mk
lsof 2115592 root cwd DIR 0,57 220 8 /opt/omd/sites/prod/tmp/check_mk
Any idea what are these files for, and how shall I proceed in upgrading ?