SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04.5 |
Webmin version | 2.200 |
[28/Jan/2025:11:36:24 -0500] [47.202.131.209] /filemin/index.cgi : Perl execution failed : |
SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04.5 |
Webmin version | 2.200 |
[28/Jan/2025:11:36:24 -0500] [47.202.131.209] /filemin/index.cgi : Perl execution failed : |
There should be a line number that it errors on in the log.
Update to the latest Webmin version.
If you can’t update with apt
or the package updates module, you may have disabled your Virtualmin repositories via an OS upgrade or something else.
Try fixing them with:
sudo virtualmin setup-repos
And, then update again.
I don’t know that this is a bug we’ve fixed, but it’s always best to test on a current version before putting forth a bunch of effort on figuring out something that might have already been solved.
I do not have virtualmin on this server only webmin. Ubuntu says V2.202 is available when I try to updat I’m told I have latest version.
the download section shows how to setup repo
I can’t see a setup-repos command in cli
After setup the run sudo apt update
I guess
I don’t know what this means.
But, try installing it explicitly:
sudo apt update
sudo apt install webmin
Already done that’s when I got the message latest version is already installed. If I add the Virtualmin repos will it update Filemin? I don’t want to install Virtualmin.
You don’t need the Virtualmin repos.
Show me this:
cat /etc/apt/sources.list.d/webmin*.list
And:
apt-cache madison webmin
And:
dpkg -l webmin
cat = deb [signed-by=/usr/share/keyrings/ubuntu-webmin-developers.gpg] Index of /download/newkey/repository stable contrib
webmin | 2.202 | https://download.webmin.com/download/newkey/repository stable/contrib amd64 Packages
webmin | 2.202 | https://download.webmin.com/download/newkey/repository stable/contrib i386 Packages
webmin | 2.202 | https://download.webmin.com/download/newkey/repository stable/contrib all Packages
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±==============-============-============-===================================================
ii webmin 2.202 all web-based administration interface for Unix systems
I found a way to upgrade to V2.202. Hasn’'t fixed problem
OK, is that really all the log entries about this problem? Normally there would be a bit more information either in the page itself or in the miniserv.error
log.
lsattr: Operation not supported While reading flags on /vmlinuz.old
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
[28/Jan/2025:12:14:08 -0500] Restarting
[28/Jan/2025:12:14:11 -0500] miniserv.pl started
[28/Jan/2025:12:14:11 -0500] IPv6 support enabled
[28/Jan/2025:12:14:11 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:12:14:11 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:12:14:11 -0500] PAM authentication enabled
timeout at /usr/share/webmin/miniserv.pl line 4768.
[28/Jan/2025:12:22:26 -0500] Shutting down
[28/Jan/2025:12:22:26 -0500] Shutting down
[28/Jan/2025:12:22:40 -0500] miniserv.pl started
[28/Jan/2025:12:22:40 -0500] IPv6 support enabled
[28/Jan/2025:12:22:40 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:12:22:40 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:12:22:40 -0500] PAM authentication enabled
[28/Jan/2025:12:22:41 -0500] Reloading configuration
[28/Jan/2025:12:28:59 -0500] [47.202.131.209] /filemin/index.cgi : Perl execution failed :
[28/Jan/2025:12:41:23 -0500] Reloading configuration
[28/Jan/2025:12:43:24 -0500] Restarting
[28/Jan/2025:12:43:26 -0500] miniserv.pl started
[28/Jan/2025:12:43:26 -0500] IPv6 support enabled
[28/Jan/2025:12:43:26 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:12:43:26 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:12:43:26 -0500] PAM authentication enabled
[28/Jan/2025:13:05:52 -0500] Reloading configuration
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
lsattr: Operation not supported While reading flags on /etc/printcap
lsattr: Operation not supported While reading flags on /etc/vtrgb
lsattr: Operation not supported While reading flags on /etc/localtime
lsattr: Operation not supported While reading flags on /etc/rmt
lsattr: Operation not supported While reading flags on /etc/os-release
lsattr: Operation not supported While reading flags on /etc/mtab
[28/Jan/2025:17:50:09 -0500] Reloading configuration
[28/Jan/2025:17:54:08 -0500] Reloading configuration
[28/Jan/2025:17:58:09 -0500] Reloading configuration
[28/Jan/2025:17:58:10 -0500] Restarting
[28/Jan/2025:17:58:13 -0500] miniserv.pl started
[28/Jan/2025:17:58:13 -0500] IPv6 support enabled
[28/Jan/2025:17:58:13 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:17:58:13 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:17:58:13 -0500] PAM authentication enabled
[28/Jan/2025:17:58:48 -0500] Reloading configuration
[28/Jan/2025:17:59:25 -0500] Reloading configuration
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
[28/Jan/2025:18:05:59 -0500] Reloading configuration
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
That’s really weird.
Maybe check that file? If you don’t have debsums
installed, install it:
sudo apt install debsums
And, then:
debsums webmin |grep filemin/index.cgi
root@at:~# debsums webmin |grep filemin/index.cgi
/usr/share/webmin/filemin/index.cgi
So, no “OK” at the end? That means it’s been modified since you installed, so it’s not the file we shipped.
Do you know why/how it was changed? Only the root
user or a user with sudo
can change those files, so either you changed it, someone else who is supposed to have root privileges changes it, or an attacker changed it.
If you don’t know who changed it or why, you probably want to look at it and see what they did to it.
If you do know who changed it and why, you can probably just delete that file and reinstall the package:
sudo rm /usr/share/webmin/filemin/index.cgi
sudo apt reinstall webmin
And, you know, maybe stop breaking Webmin by fiddling around in random files?
I don’t fiddle. TThis server has been up for a long time.
Reinstalled, will test
Same problem . New log file
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
lsattr: Operation not supported While reading flags on /etc/printcap
lsattr: Operation not supported While reading flags on /etc/vtrgb
lsattr: Operation not supported While reading flags on /etc/localtime
lsattr: Operation not supported While reading flags on /etc/rmt
lsattr: Operation not supported While reading flags on /etc/os-release
lsattr: Operation not supported While reading flags on /etc/mtab
[28/Jan/2025:17:50:09 -0500] Reloading configuration
[28/Jan/2025:17:54:08 -0500] Reloading configuration
[28/Jan/2025:17:58:09 -0500] Reloading configuration
[28/Jan/2025:17:58:10 -0500] Restarting
[28/Jan/2025:17:58:13 -0500] miniserv.pl started
[28/Jan/2025:17:58:13 -0500] IPv6 support enabled
[28/Jan/2025:17:58:13 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:17:58:13 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:17:58:13 -0500] PAM authentication enabled
[28/Jan/2025:17:58:48 -0500] Reloading configuration
[28/Jan/2025:17:59:25 -0500] Reloading configuration
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
[28/Jan/2025:18:05:59 -0500] Reloading configuration
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
[28/Jan/2025:20:35:46 -0500] Shutting down
[28/Jan/2025:20:35:48 -0500] miniserv.pl started
[28/Jan/2025:20:35:48 -0500] IPv6 support enabled
[28/Jan/2025:20:35:48 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:20:35:48 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:20:35:48 -0500] PAM authentication enabled
[28/Jan/2025:20:35:51 -0500] Reloading configuration
[28/Jan/2025:21:00:34 -0500] Reloading configuration
[28/Jan/2025:21:00:36 -0500] Restarting
[28/Jan/2025:21:00:38 -0500] miniserv.pl started
[28/Jan/2025:21:00:38 -0500] IPv6 support enabled
[28/Jan/2025:21:00:38 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:21:00:38 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:21:00:38 -0500] PAM authentication enabled
[28/Jan/2025:21:00:48 -0500] Shutting down
[28/Jan/2025:21:00:50 -0500] miniserv.pl started
[28/Jan/2025:21:00:50 -0500] IPv6 support enabled
[28/Jan/2025:21:00:50 -0500] Using MD5 module Digest::MD5
[28/Jan/2025:21:00:50 -0500] Using SHA512 module Crypt::SHA
[28/Jan/2025:21:00:50 -0500] PAM authentication enabled
[28/Jan/2025:21:00:53 -0500] Reloading configuration
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
lsattr: Operation not supported While reading flags on /run
lsattr: Operation not supported While reading flags on /dev
lsattr: Operation not supported While reading flags on /sys
lsattr: Operation not supported While reading flags on /libx32
lsattr: Operation not supported While reading flags on /lib32
lsattr: Operation not supported While reading flags on /lib
lsattr: Operation not supported While reading flags on /proc
lsattr: Operation not supported While reading flags on /initrd.img.old
lsattr: Operation not supported While reading flags on /initrd.img
lsattr: Operation not supported While reading flags on /vmlinuz
lsattr: Operation not supported While reading flags on /lib64
lsattr: Operation not supported While reading flags on /bin
lsattr: Operation not supported While reading flags on /sbin
lsattr: Operation not supported While reading flags on /vmlinuz.old
Some errors.
Err:9 http://download.webmin.com/download/repository jammy Release
404 Not Found [IP: 2001:19f0:6001:4675:5400:3ff:fee6:a2c3 80]
Reading package lists... Done
E: The repository 'http://download.webmin.com/download/repository jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.