My site is down

SYSTEM INFORMATION
Fedora Linux Version 35
Virtualmin Version 7.0

I have a vps with apache 2.4.53 and php 8.1.4, in the webmin it appears correctly installed apache and php, but in the domain that I have added to virtualmin, in php options, in PHP script execution mode it shows Disabled

Apache sometimes crashes
When I type this “systemctl status httpd.service” in terminal I get this
systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: httpd.service: Failed with result 'exit-code'.

Error_log show the following:

[Sun Apr 03 02:46:03.841313 2022] [core:notice] [pid 129544:tid 129544] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Apr 03 02:46:03.842546 2022] [suexec:notice] [pid 129544:tid 129544] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 03 02:46:03.860598 2022] [lbmethod_heartbeat:notice] [pid 129544:tid 129544] AH02282: No slotmem from mod_heartmonitor
[Sun Apr 03 02:46:03.872509 2022] [mpm_event:notice] [pid 129544:tid 129544] AH00489: Apache/2.4.53 (Fedora Linux) OpenSSL/1.1.1n configured -- resu>
[Sun Apr 03 02:46:03.872557 2022] [core:notice] [pid 129544:tid 129544] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Apr 03 12:43:52.293058 2022] [mpm_event:notice] [pid 129544:tid 129544] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Apr 03 12:43:53.426438 2022] [core:notice] [pid 158020:tid 158020] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Apr 03 12:43:53.428148 2022] [suexec:notice] [pid 158020:tid 158020] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 03 12:43:53.445363 2022] [lbmethod_heartbeat:notice] [pid 158020:tid 158020] AH02282: No slotmem from mod_heartmonitor
[Sun Apr 03 12:43:53.453957 2022] [mpm_event:notice] [pid 158020:tid 158020] AH00489: Apache/2.4.53 (Fedora Linux) OpenSSL/1.1.1n configured -- resu>
[Sun Apr 03 12:43:53.454011 2022] [core:notice] [pid 158020:tid 158020] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
(13)Permission denied: AH00091: httpd: could not open error log file /var/log/virtualmin/a.com_error_log.

The domain when I open it in the browser, it appears
ERR_CONNECTION_TIMED_OUT

What I can do?
Best Regards

I didn’t know VMin 7 was out, but you should definitely start by disabling selinux and rebooting.

I that supported?

@stefan1959 yes and no… see grade B section: https://www.virtualmin.com/os-support/

I might test it out tomorrow.

Steve

1 Like

How did you install? The install script fails for me. The RPM for Virtualmin is not there for fedora 35.

Steve

Really Continue? (y/n) y
[INFO] Started installation log in /root/virtualmin-install.log

▣□□ Phase 1 of 3: Setup
[ :heavy_check_mark: ]
Downloading virtualmin-release-latest.noarch.rpm [ERROR] Failed with error: 8
[ ✘ ]

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
[2022-05-21 21:53:56 UTC] [DEBUG] Disabling SELinux during installation…
[2022-05-21 21:53:56 UTC] [DEBUG] setenforce 0 succeeded
Spin pid is: 2366
Last metadata expiration check: 0:18:52 ago on Sat 21 May 2022 09:35:06 PM UTC.
Package dnf-plugins-core-4.1.0-1.fc35.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
: Success.
Spin pid is: 2438
https://software.virtualmin.com/vm/6/gpl/fedora/35/x86_64/virtualmin-release-latest.noarch.rpm:
2022-05-21 21:53:59 ERROR 404: Not Found.
Downloading virtualmin-release-latest.noarch.rpm: [2022-05-21 21:54:00 UTC] [ERROR] Failed with error: 8
[2022-05-21 21:54:00 UTC] [ERROR] Something went wrong. Exiting.
[2022-05-21 21:54:00 UTC] [ERROR] The last few log entries were:

Fedora 36 (also will install with 35) will only be supported with Virtualmin 7 installer as Grade B system. However, it can be installed right now for testing purposes using development version of the script.

Also, with the development version of the installer script, you would have to edit lines 963-964 and add --skip-broken, like this:

run_ok "$install_group $rhgroup --skip-broken" "Installing dependencies and system packages"
run_ok "$install_group $vmgroup --skip-broken" "Installing Virtualmin $vm_version and all related packages"

… because we yet don’t have jailkit package that would install on Fedora.

I forgot to mention, that to make installer work on Grade B systems you would have to enable it with the -e switch.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.