CSF firewall page issue in DA

xerox

Verified User
Joined
Jul 16, 2019
Messages
93
I encounter this issue for quite some time now, when re-accessing the CSF page in directadmin interface.

After i save csf configuration and then switch the page and come back to CSF, only the page title in the CSF interface will load up. And if i restart direcadmin service then the CSF page will load up again, but only for once again, if i save and come back then the page is blank with title.
Is this some kind of caching/rendering issue in DA? P.S: I already tried to update with pre release binaries yesterday.

csf.png

Thanks
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
If you run the command as root:

Code:
/usr/local/directadmin/plugins/csf/scripts/install.sh
will it fix the issue?

p.s. or reinstall the CSF plugin in directadmin at admin level.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
Do you have protected the perl binary in any way?
I remember having white page issues when perl was protected in the past. Probably isn't the case here, just asking to be sure.
 

xerox

Verified User
Joined
Jul 16, 2019
Messages
93
I am having page loading issue on the CSF firewall page only, just as you see on the screenshot. I can't tell what do you mean exactly. Thanks for trying to help :)
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
I can't tell what do you mean exactly.
Fair enough. I will try to explain. Have a look at this:
At point 14 you see things like:
Code:
chgrp apache /usr/bin/perl /usr/bin/wget etc.
and
Code:
chmod 705 /usr/bin/perl /usr/bi etc.
In the past I also had issues with white pages on certain addons (CSF at least) when protecting perl that way.
Setting it back to the default group and chmod, the white page was gone.
So if you also did this, it could be the reason of the white page issue you're having.
 

xerox

Verified User
Joined
Jul 16, 2019
Messages
93
Hi,

I haven't touched this. I checked and everything seems default, all permissions are set for root @ 755:
Code:
[root@host ~]# ls -ld /usr/bin/perl
-rwxr-xr-x 2 root root 11488 Jan 22  2019 /usr/bin/perl
Checked every folder.

Thanks
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
That looks correct.
Since it's an addon created by CSF, if nobody else can help you, you might ask over at the CSF forum.
The only thing I can think of is maybe something is blocked by the "disable_fucntions" command in the php.ini.
 

xerox

Verified User
Joined
Jul 16, 2019
Messages
93
It's interesting because noone else hasn't reported this. I'll wait for the latest DA release and take action after update.
Thanks for your help :)
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
Just out of curiousity, did you also try this with another browser to be sure it's no browser issue?
 

ikkeben

Verified User
Joined
May 22, 2014
Messages
805
Location
Netherlands Germany
Ok somewhat older topic.

CENTOS 8

IN edge clasic theme DA latest version also white page CSF have to wait a long time , then the csf is back on screen try update csf there.
Not working don't know if this is related.

Error there:
Oops: Unable to download: Protocol scheme 'https' is not supported (LWP::protocol::https not installed)
Command line:
CSF -u give same error

CSF -uf give errors after tidying up the csf.tgz.tmp then not solved , and still but before showing the screens in DA long time waiting with white page is still in EdGE.
And seems no update is done also keeps hanging on v13.08

I will try after some other updates to do:
Fix :-


===========================
yum install perl-LWP-Protocol-https


But don't understand why it worked before.

Also this box had after update DA not starting HTTPD restarts and so on. ( rebuilding apache solved that no softacoulas on this box)
And this warning
Configuration file /etc/systemd/system/startips.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 28 16:14:49 vp systemd[1]: Reloading.
 
Last edited:

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
But don't understand why it worked before.
It worked before because it automatically switched to http-tiny if lwp was not installed. Maybe something of that functionality broke in between, not sure. This is more a question for the CSF devs.
They did have added new functionality though in between. You can use curl nowadays which might be a better option.

As for the startips.service I did not have any notices until now. But I don't use the CSF GUI in DA.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
1,306
Location
Murfreesboro
Ok somewhat older topic.

CENTOS 8

IN edge clasic theme DA latest version also white page CSF have to wait a long time , then the csf is back on screen try update csf there.
Not working don't know if this is related.

Error there:


Command line:
CSF -u give same error

CSF -uf give errors after tidying up the csf.tgz.tmp then not solved , and still but before showing the screens in DA long time waiting with white page is still in EdGE.
And seems no update is done also keeps hanging on v13.08

I will try after some other updates to do:
Fix :-


===========================
yum install perl-LWP-Protocol-https


But don't understand why it worked before.

Also this box had after update DA not starting HTTPD restarts and so on. ( rebuilding apache solved that no softacoulas on this box)
And this warning
Configuration file /etc/systemd/system/startips.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 28 16:14:49 vp systemd[1]: Reloading.
I show you need all of these installed for csf
# CSF required and Statistical Graphs available from the csf UI
Code:
yum install perl-LWP-Protocol-https perl-Crypt-SSLeay perl-Sys-Syslog
It worked before because it automatically switched to http-tiny
my understanding was Tiny was abandoned in the Developmet of csf in favor of lwp.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
my understanding was Tiny was abandoned in the Developmet of csf in favor of lwp.
Not to my knowledge. I recently installed a Centos 8 VPS with CSF and this still has all 3 options.
Only 3 (curl/wget) is added, but they have not removed Tiny yet.

However, it might be they removed the automatic fallback to Tiny? I haven't tested that yet, could also be a bug.
 

ikkeben

Verified User
Joined
May 22, 2014
Messages
805
Location
Netherlands Germany
Thanks you old ( grey or bold? ) guys ;)
Is CENTOS 8.
Couldn't find a cause.

CSF update is solved with the FIX from above.

CSF blank page in GUI DA in EDGE is there but you only have to wait a while then the GUI is omnscren.

I use normally Firefox but with some security settings here in firefox DA GUI is not so happy. ( is working but sometimes strange effects if time i will look further)


This message is not CSF related. Maybe i should open other topic for this.

Configuration file /etc/systemd/system/startips.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 28 16:14:49 vp systemd[1]: Reloading.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,294
Location
Maastricht
I use normally Firefox but with some security settings here in firefox
Did you make extra security settings? I'm using Firefox 75.0 always with Enhanced skin and sometimes the new Evo skin, I don't have issues with the DA GUI. However I did not try the CSF Gui yet in Evolution.

This message is not CSF related. Maybe i should open other topic for this.
Maybe. But where did you see this warning? I can check our Centos 8 VPS and look if the same is happening here.
We have it like this:
-rwxr--r-- 1 root root 430 2020-03-30 21:13 startips.service
 
Top