SYSTEM INFORMATION | |
---|---|
OS type and version | Redhat Enterprise Linux 8.8 |
Webmin version | 2.013 |
Usermin version | 2.001 |
Virtualmin version | 7.7 |
Theme version | 20.13 |
Package updates | 2 package updates are available |
breaking this issue into its own post from my other post https://forum.virtualmin.com/t/error-missing-content-type-header-for-php-options/
I think of myself as being in the middle of the pack, not a beginner and certainly not the biggest user – we have been using Virtualmin for 5-7 years and today have about 15 RedHat servers (RHEL 7 and 8) running 50+ websites all in a VMware/vSphere environment.
today I came across something I cannot figure out !! I don’t know if I have messed up, or found a bug. And I am not sure how to diagnose it. I am upgrading to VM 7.7-3 and webmin 2.013 (plus added php 8.1 and 8.2 from REMI repos using cmd line YUM commands); when I do the cmd line command
virtualmin check-config
it works fine and runs to completion, but the GUI button, Virtualmin – System Settings – Re-Check Configuration … never finishes when clicked. Nothing of interest shows up in /var/webmin/miniserv.error
I have cloned my production server over to a test copy … as over the years I have tinkered by manually editing various config files, perhaps causing my own issues (most of my edits have been to successfully get Virtualmin to work in our SELinux environment).
More detail – when clicking the Re-Check Configuration button, on the right panel (Framed Theme) I do get the header
Checking Configuration
displayed but nothing after that – as many will know, typically, and on my other servers, text starts scrolling immediately when clicking the button
in tinkering with this for a long long time, I have come up with a really ugly patch; in the file check.cgi
the original code is:
print virtual_server::warning_messages();
I have replaced that with some code that I think does the same thing that I stole from index.cgi:
my $lerr_check_cgi = &warning_messages();
print $lerr_check_cgi;
now the Re-Check Configuration button does what I expected
Again I have a number of other servers that work just fine, not sure what is special or different about this one.