/etc/webmin/status/monitor.pl

Since the last Virtualmin Pro Update I have the following Errors:

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

The Same with monitor.pl and oldstatus.lock

Status: 
Closed (fixed)

Comments

Howdy -- you may have some .lock files laying around.

The first thing I'd do is to try restarting Webmin:

/etc/init.d/webmin restart

After doing that, run this command:

find /etc/ -name "*.lock"

Does that command produce any output?

the output is:

/etc/webmin/status/fails.lock

The pid in this file is 17263
and ps aux | grep 17263
gives me

root 17263 0.1 1.1 237368 40608 ? S 18:20 0:00 /usr/bin/perl /usr/share/webmin/status/monitor.pl
root 20504 0.0 0.0 10896 920 pts/1 S+ 18:24 0:00 grep --color=auto 17263

I would recommend just killing that process with PID 17263'

Done. But I have the same Problem with a new pid 3391 and fails.lock root 3391 0.2 1.1 237376 40596 ? S 21:00 0:00 /usr/bin/perl /usr/share/webmin/status/monitor.pl

If you run strace -p 3391 and let it run for a while, what does it output?