csf install on AlmaLinux 9.5->Webmin, errors reported plus template layout bug
Posted: 27 Nov 2024, 11:41
csf install on Webmin OS
| SYSTEM INFORMATION||
|------------------------------|-------------------------------|
|OS type and version|AlmaLinux 9.5|
|---|---|
|Webmin version|2.202|
I will likely post this also at the Webmin forums, but just in case it's relevant here, I saw a number of errors and if CSF supply the Webmin install template, a small layout issue after following the instructions:
https://webmin.com/docs/third-party-mod ... -firewall/
mode of '/etc/csf/pt_deleted_action.pl' retained as 0700 (rwx------)
chmod: cannot access '/etc/csf/*.cgi': No such file or directory
failed to change mode of '/etc/csf/*.cgi' from 0000 (---------) to 0000 (---------)
mode of '/etc/csf/remove_apf_bfd.sh' retained as 0700 (rwx------)
mode of '/etc/csf/uninstall.sh' retained as 0700 (rwx------)
chmod: cannot access '/etc/csf/*.php': No such file or directory
failed to change mode of '/etc/csf/*.php' from 0000 (---------) to 0000 (---------)
chmod: cannot access '/etc/csf/*.py': No such file or directory
failed to change mode of '/etc/csf/*.py' from 0000 (---------) to 0000 (---------)
mode of '/etc/csf/webmin/csf/index.cgi' changed from 0600 (rw-------) to 0700 (rwx------)
mode of '/etc/cron.d/lfd-cron' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/etc/cron.d/csf-cron' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
'csget.pl' -> '/etc/cron.daily/csget'
Can't locate diagnostics.pm in @INC (you may need to install the diagnostics module) (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /etc/cron.daily/csget line 9.
BEGIN failed--compilation aborted at /etc/cron.daily/csget line 9.
mode of 'auto.generic.pl' changed from 0755 (rwxr-xr-x) to 0700 (rwx------)
'/etc/csf/csf.conf' -> '/var/lib/csf/backup/1732519981_pre_v14_22_upgrade'
The template layout issue as I recall (had to remove CSF as it locked me out) was where the Apache 40x options were. All had an option prefilled for 3600 immediately under the Apache 40x subheading, except 401 where it was placed under another config choice.
| SYSTEM INFORMATION||
|------------------------------|-------------------------------|
|OS type and version|AlmaLinux 9.5|
|---|---|
|Webmin version|2.202|
I will likely post this also at the Webmin forums, but just in case it's relevant here, I saw a number of errors and if CSF supply the Webmin install template, a small layout issue after following the instructions:
https://webmin.com/docs/third-party-mod ... -firewall/
mode of '/etc/csf/pt_deleted_action.pl' retained as 0700 (rwx------)
chmod: cannot access '/etc/csf/*.cgi': No such file or directory
failed to change mode of '/etc/csf/*.cgi' from 0000 (---------) to 0000 (---------)
mode of '/etc/csf/remove_apf_bfd.sh' retained as 0700 (rwx------)
mode of '/etc/csf/uninstall.sh' retained as 0700 (rwx------)
chmod: cannot access '/etc/csf/*.php': No such file or directory
failed to change mode of '/etc/csf/*.php' from 0000 (---------) to 0000 (---------)
chmod: cannot access '/etc/csf/*.py': No such file or directory
failed to change mode of '/etc/csf/*.py' from 0000 (---------) to 0000 (---------)
mode of '/etc/csf/webmin/csf/index.cgi' changed from 0600 (rw-------) to 0700 (rwx------)
mode of '/etc/cron.d/lfd-cron' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of '/etc/cron.d/csf-cron' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
'csget.pl' -> '/etc/cron.daily/csget'
Can't locate diagnostics.pm in @INC (you may need to install the diagnostics module) (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /etc/cron.daily/csget line 9.
BEGIN failed--compilation aborted at /etc/cron.daily/csget line 9.
mode of 'auto.generic.pl' changed from 0755 (rwxr-xr-x) to 0700 (rwx------)
'/etc/csf/csf.conf' -> '/var/lib/csf/backup/1732519981_pre_v14_22_upgrade'
The template layout issue as I recall (had to remove CSF as it locked me out) was where the Apache 40x options were. All had an option prefilled for 3600 immediately under the Apache 40x subheading, except 401 where it was placed under another config choice.