Operating system: CentOS
OS version: 7.9.2009 (Core)
Webmin version: 1.981
I use root user to login
I’ve been running Webmin for a few years now without any issues. Don’t think I logged in for more than a year. Some months back I started getting errors trying to login but didn’t have time to look at it. Now that I do, it looks like I had the authentic theme problem, but there is some other login related problem I’m still having that I need help with.
At some point while on a previous version and mucking with the themes, I was having the same problem as: Not able to login, showing session expired. To answer Ilia in that thread, clicking “Switch User” button did nothing, no reaction. This popup happened when trying to login for the first time, not any kind of reauthentication after logging in once.
Anyway, I currently have the themes set to the recommended miniserv.conf and config and the latest version and still having a login problem. The error when going to http://domain:10000 is:
ERROR — PERL EXECUTION FAILED
Undefined subroutine &main::lib_csf_control called at /usr/libexec/webmin/authentic-theme/authentic-lib.pl line 1959.
Browser console error has:
Failed to load resource: the server responded with a status of 500 (Perl execution failed)
miniserv.conf:
error_handler_403=403.cgi
error_handler_404=404.cgi
error_handler_401=401.cgi
logout=/etc/webmin/logout-flag
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
passwd_mode=0
passdelay=1
sessiononly=/virtual-server/remote.cgi
preload=
cipher_list_def=1
port=10000
addtype_cgi=internal/cgi
realm=Webmin Server
logfile=/var/webmin/miniserv.log
errorlog=/var/webmin/miniserv.error
pidfile=/var/webmin/miniserv.pid
logtime=168
ssl=0
no_ssl2=1
no_ssl3=1
no_tls1=1
no_tls1_1=1
ssl_honorcipherorder=1
WEBMIN_CONFIG=/etc/webmin
preroot=authentic-theme
preroot_root=gray-theme
#preroot=gray-theme
#preroot_root=authentic-theme
nolog=\/stats\.cgi\?xhr\-stats\=general
root=/usr/libexec/webmin
mimetypes=/usr/libexec/webmin/mime.types
server=MiniServ/1.981
no_pam=1
logouttimes=
config
passwd_cindex=2
real_os_type=CentOS Linux
mobile_theme=authentic-theme
cache_mods=virtual-server
os_version=15.8
passwd_file=/etc/shadow
tempdelete_days=7
cache_size=52428800
os_type=redhat-linux
notabs_domainname1=1
readonly_domainname1=virtual-server
#theme=gray-theme
#theme_root=authentic-theme
theme=authentic-theme
theme_root=gray-theme
lang=en.UTF-8
passwd_mindex=4
passwd_pindex=1
referers_none=0
passwd_uindex=0
real_os_version=7.8.2003
webprefix=
logfiles=1
by_view=0
log=1
realname_domainname2=domainname2
md5pass=1
ld_env=LD_LIBRARY_PATH
find_pid_command=ps auwwwx | grep NAME | grep -v grep | awk '{ print $2 }'
realname_domainname1=domainname1.net
path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
readonly_domainname2=virtual-server
ownmods_domainname1=mysql apache webalizer virtual-server filemin passwd proc cron at telnet change-user htaccess-htpasswd syslog phpini virtualmin-htpasswd
notabs_domainname2=1
ownmods_domainname2=mysql apache webalizer virtual-server filemin passwd proc cron at telnet change-user htaccess-htpasswd syslog phpini virtualmin-htpasswd
product=webmin
I’ve tried no_pam=1
and no_pam=0
with no difference to browser error shown.
@Ilia What information would be useful to figuring out how to get login working again?
Thanks very much in advance, your help is appreciated!