Getting error after Upgrading csf from v14.02 to 14.03

dr1361teh

Verified User
Joined
Aug 6, 2019
Messages
21
After auto upgrading csf from v14.02 to 14.03, the page of "ConfigServer Security & Firewall" shows the following error:

Security Error: Invalid parent

What is the problem?
 

dr1361teh

Verified User
Joined
Aug 6, 2019
Messages
21
Uninstalling and reinstalling CSF can not solve the issue.
Brute force and blocking ips are working fine, just loading CSF's user interface in DA shows the error "Security Error: Invalid parent".
Any solution ?

Screenshot - DirectAdmin v1 61 3.png
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,355
Location
LT, EU
May you try Evolution skin for it? I guess that's a new problem with enhanced.
 

dr1361teh

Verified User
Joined
Aug 6, 2019
Messages
21
I tried Evolution skin.
unfortunately , I got the same error, "Security Error: Invalid parent"

For additional information:

1- About a year ago, after installing DA , I followed the instructions in the following link for installing CSF: https://help.poralix.com/articles/how-to-block-ips-with-csf-directadmin-bfm
2- It was updating without any problem.
3- Since DA 1.61.0 released, I followed the instructions in this link https://www.directadmin.com/features.php?id=2617 for Direct CSF integration and it was working fine.
4- Last night CSF upgraded from 14.02 to 14.03 automatically
5- Today the page of "ConfigServer Security & Firewall" shows "Security Error: Invalid parent" error.
6- Tried to uninstall CFS by the following commands:
Code:
cd /etc/csf
sh uninstall.sh
7- Tried to reinstall CSF by the following commands:
Code:
cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
8- "ConfigServer Security & Firewall" page checked by both Enhanced and Evolution skins in admin and reseller access, the "Security Error: Invalid parent" error persist !
9- brute force and blocking ips are working fine, just I have problem with the CSF user interface.

Do you know any solution ?
How can I find and download CSF 14.02 to downgrade it from 14.03 ?



ConfigServer Security Firewall DirectAdmin 1 61 3.png
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,355
Location
LT, EU

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,355
Location
LT, EU
It is confusing that I'm paying for Directadmin license and you said switch to legal copy! 🙄
Official binary started should match "directadmin" name. Feel free to PM me access details or open a DA ticket and we'll check CSF issue at the same time, if that's really a legal license.
 

alexjohn

Verified User
Joined
Sep 1, 2017
Messages
27
Hi! I've got a legal licence from RamNode, and I have this error too.
I was able to print the line from the CSF thread and I get:

Security Error: Invalid parent [/usr/local/directadmin/directadmin]

So it sames strange that this code:

my ($ppid, $pexe) = &getexe(getppid()); if ($pexe ne "/usr/local/directadmin/directadmin") { print "Security Error: Invalid parent"; exit; }

Is still breaking the script?

Any ideas?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,355
Location
LT, EU
Hi! I've got a legal licence from RamNode, and I have this error too.
I was able to print the line from the CSF thread and I get:

Security Error: Invalid parent [/usr/local/directadmin/directadmin]

So it sames strange that this code:

my ($ppid, $pexe) = &getexe(getppid()); if ($pexe ne "/usr/local/directadmin/directadmin") { print "Security Error: Invalid parent"; exit; }

Is still breaking the script?

Any ideas?
Your error is different :) Because your parent doesn't have any binaries starting with a dot. Regarding CSF - did you try updating it? I've seen changes on this in their changelog, and they should have a debug included there now (inlcuding a way to disable the feature at all). 14.04: https://download.configserver.com/csf/changelog.txt
 

alexjohn

Verified User
Joined
Sep 1, 2017
Messages
27
Good morning!

Thanks for your reply, it appears that I'm running 14.04 anyway, but still have the issue.

Your error is different :) Because your parent doesn't have any binaries starting with a dot. Regarding CSF - did you try updating it? I've seen changes on this in their changelog, and they should have a debug included there now (inlcuding a way to disable the feature at all). 14.04: https://download.configserver.com/csf/changelog.txt
 

alexjohn

Verified User
Joined
Sep 1, 2017
Messages
27
Your error is different :) Because your parent doesn't have any binaries starting with a dot. Regarding CSF - did you try updating it? I've seen changes on this in their changelog, and they should have a debug included there now (inlcuding a way to disable the feature at all). 14.04: https://download.configserver.com/csf/changelog.txt
Hey! UPDATE: appears to be happening on some of my servers, but not on others?
 

alexjohn

Verified User
Joined
Sep 1, 2017
Messages
27
Your error is different :) Because your parent doesn't have any binaries starting with a dot. Regarding CSF - did you try updating it? I've seen changes on this in their changelog, and they should have a debug included there now (inlcuding a way to disable the feature at all). 14.04: https://download.configserver.com/csf/changelog.txt
Hi again, sorry to ask again, I know you're all very busy so I don't want to be a bother but is the only fix to comment those lines?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,355
Location
LT, EU
Hi again, sorry to ask again, I know you're all very busy so I don't want to be a bother but is the only fix to comment those lines?
I did not mention it anywhere that update includes "some kind of fix". I wrote what's included there, but I don't see any of your replies reporting issues with what has been mentioned :)
 

alexjohn

Verified User
Joined
Sep 1, 2017
Messages
27
I did not mention it anywhere that update includes "some kind of fix". I wrote what's included there, but I don't see any of your replies reporting issues with what has been mentioned :)
Hi! Thanks for your reply, so essentially, what I'm saying is, that I've updated but it's not sorted the issue?
 
Top