Submitted by merlynx on Tue, 07/19/2011 - 22:51
With a few domains, "Virtualmin" => "Edit Virtual Server" hangs on loading the features for the domain. The "custom fields" and "Enabled Features" options never load.
I've tried /etc/init.d/webmin restart.
I found an error in the vhost config, it was set to the wrong external "--dns-ip" and was able to use the CLI API to correct it.
I'm going to investigate if SSL is enabled and if there are other ambiguous (in terms of an incorrect IP) settings that I can disable. Nonetheless, the system is hung up and there is a process that is "stuck" in the context of the UI rendering code.
We've run this on VMware ESXi CentOS 5.6 hosts. We've recently had to downgrade this particular box.
Thanks for whatever assistance and/or insight you can offer.
Status:
Active
Comments
Submitted by andreychek on Wed, 07/20/2011 - 10:31 Comment #1
Howdy -- are any errors or warnings displayed in the log files when trying to load the page? You could see those in /var/webmin/miniserv.error.
Submitted by JamieCameron on Wed, 07/20/2011 - 12:13 Comment #2
Also, if you SSH in as root and run the following API command to list all domain details :
virtualmin list-domains --domain whatever.com --multiline
does it complete, or if not what is the last thing it outputs before hanging?
Submitted by merlynx on Thu, 07/21/2011 - 00:23 Comment #3
I've tried your suggestions.
Attached screenshots illustrate the issue - the virtualmin list-domains command hangs indefinitely.
The output from miniserv.error is just a notation of my restarts of the app.
Stuck. Please advise.
Submitted by merlynx on Thu, 07/21/2011 - 00:26 Comment #4
I always disable direct root ssh and run sudo. I don't mind granting temp access, but I'd rather setup a temp sudo account manually and communicate with you via email.
Submitted by JamieCameron on Thu, 07/21/2011 - 01:21 Comment #5
SSH access as root (via sudo) would be very useful to debug this .. if this is possible, please email me directly at jcameron@virtualmin.com
Submitted by merlynx on Thu, 07/21/2011 - 01:41 Comment #6
You should receive an email shortly.
Thank you very much for your support!
Submitted by merlynx on Thu, 07/21/2011 - 03:20 Comment #7
Resolved this on my own, but it points to some idiosyncratic issue in the UI/virtualmin code.
When I disabled quota's, the UI behaved as it should.
There must be a bug of some kind in the code in that context.
I'm leaving this open and leaving your access enabled so that you can test this issue. Please inform me ASAP when your access to our systems is no longer necessary.
Thank you again for your suggestions and insights, Jeremy Ciaramella
Submitted by JamieCameron on Thu, 07/21/2011 - 12:22 Comment #8
Interesting .. I can't see how quotas being enabled would break VIrtualmin, unless quotas were somehow active for root.
I just tried re-enabling quotas on web01 and then listing that domain, and it worked fine. Are you still seeing the hang?
Submitted by merlynx on Fri, 07/22/2011 - 02:11 Comment #9
Not seeing the hang, but it is more sluggish than I recall.
I did reboot the box. Maybe a Heisenbug. I changed templates - so the quota was not breached.
I'll change it back and post here what I find.
Thanks Jeremy
Submitted by merlynx on Fri, 07/22/2011 - 02:26 Comment #10
Same thing you found, the quota's on/off have no noticeable affect.
Still, sluggish at the same point it used to "stick" (Quota's and limits) - but after hanging there for a few seconds it "snaps" and loads all the "Edit Virtual Server" sections.
Hmmm.
Submitted by JamieCameron on Fri, 07/22/2011 - 11:44 Comment #11
How long does it stick for at that point? Fetching quotas can be a little slow on a system with many users .. but it shouldn't be more than a second.