Webmin on my server acts weirdly. There is only Servers menu on Webmin tab and Virtualmin Virtual Servers (GPL) under it. There is no other menu or submenu in Webmin tab. It happened after I upgraded Virtualmin to 3.89 version.
Do you know any way to re-install virtualmin without keeping the server down and formatting, installing virtualmin and then installing every site one by one?
Yeah, I also think something is wrong with the server =)
I have installed it with virtualmin. It used to work normally till the last virtualmin upgrade. I lost internet connection to the server and I had to open virtualmin interface again. When I signed in again, I noticed that webmin was gone. Also some functions from virtualmin was gone.
I use yum update command on the ssh interface but when I see that there is a package available on virtualmin interface, I install it too.
What do I need to do in order to make the webmin work normally?
This problem is almost certainly not serious. You definitely should not think, “I know, I’ll reinstall Virtualmin!” as your first instinct when seeing problems like this. Virtualmin is almost certainly fine…this is a configuration problem.
First up: Are you sure you’re logging in as the root user? This sounds like what you would see if you logged in as a Virtualmin virtual server account user.
Second: There was a bug in older versions of Virtualmin that would allow a user to assign ownership of a virtual server to the root user…which is nonsensical, but it would lead to the behavior you’re seeing (i.e. Webmin would have few or no modules available, because choosing to make it an owner of a domain gave it only the permissions that a domain owner would have).
Check the file /etc/webmin/webmin.acl to see what the root: line looks like. I’m gonna guess it only has Virtualmin modules listed…which indicates the root user was made into a virtual server owner.
If that’s the case, you’d want to edit it and change that line to:
You may still need to change some stuff in the Webmin Users module, if the ACLs are wrong. But, making this change and restarting Webmin will probably bring the root user back to normal. Maybe.
We’d also want to know what version of Virtualmin you were using before the upgrade, because the bug that allowed users to change root to a virtual server owner was supposed to be fixed ages ago.
Oh, an the having multiple Webmin versions installed is a symptom of an RPM database issue, I think. Transactions aren’t completing, which leads to the last step not happening. I don’t know off-hand how to fix that, but I’m pretty sure it is not the cause of the symptoms you’re seeing in Virtualmin.
I’m deeply grateful for the help and the fix! The line only had virtual-server. I changed the line and the webmin submenus are back!
You mentioned that I might still need to configure webmin users. I see the sites’ usernames as webmin users. Is it normal or I should just keep root as webmin user?
The version of the Virtualmin was the version prior to the latest 3.89 version.
One more question: I used to see CSF menu on the Webmin tab under Servers Menu. How can I know the string for it that I need to add to the webmin.acl file so that it also shows up again?