I updated some of my servers to version 5.03 last night.
While most of the updates work perfectly right away, I had some problems during upgrading to this version.
2 servers didn’t (re)start Apache after the update (Debian Wheezy & an Ubuntu 14.04)
One of the servers didn’t finish the update. (Debian Squeeze, I know I have to update it soon)
Of course, problem 1 was simple to repair. I could start Apache2 without problems.
I restarted server 3 (the one that didn’t finish) after 8 hours of waiting. After using “dpkg --configure -a”, I got the following:
Setting up webmin-virtual-server (5.03.gpl) ...
virtual-server/postinstall.pl failed : virtual-server::module_install failed : useradmin::lock_user_files failed : Failed to lock file /etc/passwd after 5 minutes. Last error was : at web-lib-funcs.pl line 1427.
Now, I can’t access the controlpanel. When I access the server on port 1000, the page keeps on loading and I don’t get any response. In the processlist I see an process ‘/usr/share/webmin/authentic-theme/index.cgi’ running on 100% on a core.
I tried changing the theme by editing the config file (/etc/webmin/config) but it didn’t solve the problem: also that page keeps loading.
I can’t find any errors in /var/log/syslog etc., and I can’t find other logs that need to be checked.
What can I do? Thank you in advance for your responses!
Just got an update to webmin 1.801. It didn’t solve the problem. The installation hang, but after removing the locks it did finish. The locks are (already) back now.
The authentic-theme loads it’s bar at the side, but it keeps on ‘loading’ the main frame. The old/default theme loads two radio buttons and a empty button in the left upper corner and also keeps loading. I thing something hangs in the /usr/share/webmin/virtual-server/list-domains.pl.
(but I have to say also collectinfo.pl and with authentic theme, the authentic-theme/index keeps having cpu on 100%.
How can I see where it hangs? Is there some kind of debugging mode?
Update: the process /usr/share/webmin/virtual-server/collectinfo.pl keeps on growing. It doesn’t end.
It’s now (before I killed it) almost 10GB and CPU is constantly at 100%. Server load of 60 (it’s a quadcore + 8GB).
The server is unstable and I have to kill processes every few hours. I hope that someone can tell me what to do.
I’ve got backups, but the server keeps being used (except for the dashboard that doesn’t work) so I prefer to only repair (or replace) virtualmin without losing data/settings.
Update: new error in old theme
Failed to lock file /etc/group after 5 minutes. Last error was :
It seems the lockfiles are an issue, but why do they keep on appearing?