Author Topic: Firewall Disabled (CSF cannot be started suddenly)  (Read 12906 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: Firewall Disabled (CSF cannot be started suddenly)
« Reply #15 on: December 11, 2021, 10:29:38 AM »
I checked again and i can verify that the CWP script that updates CSF failed hard and broke the firewall. It's just so stupid that none of the CWP staff members don't even bother assisting about it..

Offline
*
Re: Firewall Disabled (CSF cannot be started suddenly)
« Reply #16 on: December 11, 2021, 11:21:08 AM »
Unfortunately, we also had the experience that the CSF kept smeared, we uninstalled it and then reinstalled it until the next crash. There is nothing in the logs and it is also not understandable why it keeps smeared. My guess is, if oniguruma is installed on centos8, there will be a memory overflow, but we are still testing it. It would therefore make sense to include more precise system and config information here!

Offline
*
Re: Firewall Disabled (CSF cannot be started suddenly)
« Reply #17 on: December 11, 2021, 11:41:05 AM »
I am facing this issue on Centos 7. There is literally nothing in the log files as you also mentioned. But, from the last CSF update, there are some errors in the update log and i assume it's some permissions related issue, but i am not that advanced to tell for sure.

Quote
mode of ‘/usr/local/csf/bin/csftest.pl’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/pt_deleted_action.pl’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/csfpost.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/csfpre.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/remove_apf_bfd.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/uninstall.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/regex.custom.pm’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/etc/csf/csf.pl’ retained as 0700 (rwx------)
mode of ‘/etc/csf/csftest.pl’ retained as 0700 (rwx------)
mode of ‘/etc/csf/lfd.pl’ retained as 0700 (rwx------)
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’ retained as 0644 (rw-r--r--)
mode of ‘/etc/cron.d/csf-cron’ retained as 0644 (rw-r--r--)
‘csget.pl’ -> ‘/etc/cron.daily/csget’
mode of ‘auto.cwp.pl’ changed from 0755 (rwxr-xr-x) to 0700 (rwx------)
‘/etc/csf/csf.conf’ -> ‘/var/lib/csf/backup/1638618963_pre_v14_15_upgrade’
‘lfd.service’ -> ‘/usr/lib/systemd/system/lfd.service’
‘csf.service’ -> ‘/usr/lib/systemd/system/csf.service’
‘cwp/csfofficial.php’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/modules/csfofficial.php’
‘cwp/csf.pl’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/modules/csf.pl’
‘cwp/ajax_csfframe.php’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_csfframe.php’
‘cwp/configserver.php’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/include/configserver.php’
mkdir: cannot create directory ‘/usr/local/cwpsrv/htdocs/admin/design/csf/’: File exists
‘csf/admin_icon.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/admin_icon.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/admin_icon.svg’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.woff’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.svg’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.ttf’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.ttf’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.ttf’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.eot’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.eot’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.eot’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.woff2’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff2’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff2’: Permission denied
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts’: Operation not permitted
‘csf/bootstrap/js/bootstrap.min.js’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/js/bootstrap.min.js’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/js/bootstrap.min.js’: Permission denied
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/js’: Operation not permitted
‘csf/bootstrap/css/bootstrap.min.css.map’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css.map’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css.map’: Permission denied
‘csf/bootstrap/css/bootstrap.min.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css’: Permission denied
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css’: Operation not permitted
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap’: Operation not permitted
‘csf/bootstrap-chosen.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap-chosen.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap-chosen.css’: Permission denied
‘csf/chosen.min.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.css’: Permission denied
‘csf/chosen.min.js’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.js’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.js’: Permission denied
‘csf/chosen-sprite@2x.png’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite@2x.png’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite@2x.png’: Permission denied
‘csf/chosen-sprite.png’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite.png’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite.png’: Permission denied
‘csf/configserver.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/configserver.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/configserver.css’: Permission denied
‘csf/csf-loader.gif’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf-loader.gif’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf-loader.gif’: Permission denied
‘csf/csf_small.png’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf_small.png’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf_small.png’: Permission denied
‘csf/csf.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf.svg’: Permission denied
‘csf/jquery.min.js’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/jquery.min.js’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/jquery.min.js’: Permission denied
‘csf/LICENSE.txt’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/LICENSE.txt’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/LICENSE.txt’: Permission denied
‘csf/loader.gif’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/loader.gif’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/loader.gif’: Permission denied
‘csf/reseller_icon.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/reseller_icon.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/reseller_icon.svg’: Permission denied
‘/etc/csf/csfwebmin.tgz’ -> ‘/usr/local/csf/csfwebmin.tgz’
« Last Edit: December 11, 2021, 11:42:42 AM by Radical Redemption »