virtualmin status collection runs twice?

Hi,

Every 5 minutes i get following error: Cron <root@ns2> /etc/webmin/status/monitor.pl

Error: Failed to lock file /etc/webmin/status/fails after 5 minutes. Last error was :

Error

Failed to lock file /etc/webmin/status/fails after 5 minutes. Last error was :

I tried killing the monitor.pl, but it just restarts after 5 minutes. I tried a restart of webmin, with no effect. I configured the status monitoring of Webmin and Virtualmin to monitor every 60 minutes, but I keep receiving these files.

ps -ef | grep monitor gives me:

root 32518 32517 0 22:20 ? 00:00:00 /bin/sh -c /etc/webmin/status/monitor.pl root 32520 32518 0 22:20 ? 00:00:00 /usr/bin/perl /usr/share/webmin/status/monitor.pl root 32543 27019 0 22:21 pts/0 00:00:00 grep --color=auto monitor

lsof gives me no open files in /etc/webmin/status/*.

Any ideas?

Regards,

Joachim

Status: 
Closed (fixed)

Comments

Looks like it is hung up waiting to lock /etc/webmin/status/fails .

Does the file /etc/webmin/status/fails.lock exist on your system? If so, what does it contain?

If it is just an empty file, you can delete it.

It was indeed an empty file. Deleted it and everything works fine. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.