I have several (VPS) servers running webmin version 1.900, virtualmin 6.06, Centos 7.6.1810. They are all identical as to software levels, but differ as to memory and CPU power.
Recently one of them has failed to connect to webmin on two occasions - some days apart with normal connections in between. By logging in via SSH and executing "systemctl restart webmin" I was ably to immediately log in correctly, given a few seconds of initialisation.
The contents of the webmin error log either side of the failure are:
[22/Feb/2019:21:10:37 +1300] [77.72.83.87] Document follows : This web server is running in SSL mode. Try the URL <a href='https://xx.xx.xx:10000/'>https://xx.xx.xx:10000/</a> instead.<br>
[23/Feb/2019:11:13:00 +1300] [193.188.23.19] Document follows : This web server is running in SSL mode. Try the URL <a href='https://xx.xx.xx:12345/'>https://xx.xx.xx:12345/</a> instead.<br>
[23/Feb/2019:11:13:01 +1300] [193.188.23.19] Document follows : This web server is running in SSL mode. Try the URL <a href='https://xx.xx.xx:12345/'>https://xx.xx.xx:12345/</a> instead.<br>
scheduled_collect_system_info : Already running
scheduled_collect_system_info : Already running
[24/Feb/2019:11:19:05 +1300] miniserv.pl started
[24/Feb/2019:11:19:05 +1300] Using MD5 module Digest::MD5
[24/Feb/2019:11:19:05 +1300] Using SHA512 module Crypt::SHA
[24/Feb/2019:11:19:05 +1300] PAM authentication enabled
Use of uninitialized value $out in split at /usr/libexec/webmin/webmin/system_info.pl line 36.
Subroutine check_fail2ban redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 15.
Subroutine is_fail2ban_running redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 29.
Subroutine list_filters redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 41.
Subroutine list_actions redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 59.
Subroutine list_jails redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 76.
Subroutine merge_local_files redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 113.
Subroutine make_local_file redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 135.
Subroutine get_config redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 144.
Subroutine parse_config_file redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 155.
Subroutine split_directive_values redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 205.
Subroutine create_section redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 226.
Subroutine modify_section redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 239.
Subroutine delete_section redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 250.
Subroutine section_lines redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 274.
Subroutine directive_lines redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 287.
Subroutine save_directive redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 300.
Subroutine find_value redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 403.
Subroutine find redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 410.
Subroutine filename_to_name redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 420.
Subroutine find_jail_by_filter redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 430.
Subroutine find_jail_by_action redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 446.
Subroutine start_fail2ban_server redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 465.
Subroutine stop_fail2ban_server redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 484.
Subroutine restart_fail2ban_server redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 502.
Subroutine list_all_config_files redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 510.
Subroutine lock_all_config_files redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 526.
Subroutine unlock_all_config_files redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 534.
Subroutine get_fail2ban_version redefined at /usr/libexec/webmin/fail2ban/fail2ban-lib.pl line 544.
The block of fail2ban redefinition messages is repeated both before and after the failure point many, many times. However, this chunk of messages appears repeatedly in the webmin error log of all my servers, but only one server has failed so far. I think it's an error, but not the cause of crash.
This is the log from /var/log/messages from when I logged in via SSH:
Feb 24 11:19:01 club systemd: Cannot add dependency job for unit dmraid-activation.service, ignoring: Unit not found.
Feb 24 11:19:01 club systemd: Stopping LSB: web-based administration interface for Unix systems...
Feb 24 11:19:01 club webmin: Stopping Webmin server in /usr/libexec/webmin
Feb 24 11:19:01 club webmin: /etc/webmin/stop: line 4: kill: (29943) - No such process
Feb 24 11:19:01 club systemd: webmin.service: control process exited, code=exited status=1
Feb 24 11:19:01 club systemd: Stopped LSB: web-based administration interface for Unix systems.
Feb 24 11:19:01 club systemd: Unit webmin.service entered failed state.
Feb 24 11:19:01 club systemd: webmin.service failed.
Feb 24 11:19:01 club systemd: Starting LSB: web-based administration interface for Unix systems...
Feb 24 11:19:05 club systemd: Started LSB: web-based administration interface for Unix systems.
Feb 24 11:21:38 club su: (to hcpc) root on none
Where to go from here?
I am getting this exact same error. CentOS7 GPL.
David Calderwood - Euro-Pacific Digital Media
I get exactly the same messages. Nobody here can tell what the problem is?