oldstatus error

I am receiving this error about every 10 minutes:

Error: Failed to lock file /usr/local/etc/webmin/status/oldstatus after 5 minutes Error

Failed to lock file /usr/local/etc/webmin/status/oldstatus after 5 minutes

anybody have an idea?

Sounds like something is going awry with the Webmin status monitoring.

How did you go about installing Webmin? And what OS/distro are you using?

And what do you see if you type:

ls -la /usr/local/etc/webmin/status

I’m not familiar with Virtualmin but I guess it must be similar to Webmin since I have the exact same errors on my Centos 5.4 server. I had set up a bad status monitor that never exited and so maintained the lock, ps -ef | grep status showed it and allowed me to pinpoint the offending monitor:

root 16774 1 0 Feb15 ? 00:00:00 /usr/bin/perl /usr/libexec/webmin/status/monitor.pl --force 1266137995

1266137995 was the offending monitor which I found in /etc/webmin/status/services, still working on a fix but I think it was bad syntax in the ondown= line. Kill the process and disable the offending monitor for starters, the errors should stop then you just have to find what you did wrong with that monitor.