Submitted by parlt on Tue, 05/21/2013 - 15:32
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
Submitted by andreychek on Tue, 05/21/2013 - 15:46 Comment #1
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?
Submitted by parlt on Wed, 05/22/2013 - 11:32 Comment #2
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
Submitted by JamieCameron on Wed, 05/22/2013 - 12:43 Comment #3
I would recommend just killing that process with PID 17263'
Submitted by parlt on Wed, 05/22/2013 - 14:10 Comment #4
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
Submitted by JamieCameron on Wed, 05/22/2013 - 15:21 Comment #5
If you run
strace -p 3391
and let it run for a while, what does it output?Submitted by parlt on Sun, 11/16/2014 - 15:37 Comment #6