Sentora 1.0.0 patch (Centos 6.x Only)
#1
Sentora 1.0.0 patch (Centos 6.x Only)
Affected OS: installer prior to 1.0.2/ Centos 6.x Only
Don't apply to Installer >1.0.2 and Ubuntu 12/7, Centos7

We noticed that CGI module was still loaded by default in centos 6.x installs for sentora and was not disabled in a clean way.

You can easily install patch by downloading patching script:

Code:
https://raw.githubusercontent.com/sentora/sentora-installers/master/centos6_cgi_patch.sh

One line command.

Code:
wget https://raw.githubusercontent.com/sentora/sentora-installers/master/centos6_cgi_patch.sh && bash centos6_cgi_patch.sh


Notice the current installer HAVE been already patched. Only previous installs require this patch.

The patch also disable webdav & some unused modules, feel free either to enable them back or not.


The key is commenting "LoadModule cgi_module modules"

Thanks for 911labs (Patrick, Steven) for bringing up CGI could cause issues.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
#2
RE: Sentora 1.0.0 patch (Centos 6.x Only)
Typo: P

wget https://raw.githubusercontent.com/sentor...i_patch.sh && bash centos6_cgi_patch.sh
#3
RE: Sentora 1.0.0 patch (Centos 6.x Only)
(03-27-2015, 08:30 PM)Active8 Wrote: Typo: P

wget https://raw.githubusercontent.com/sentor...i_patch.sh && bash centos6_cgi_patch.sh

Thanks fixed ;-)
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
#4
RE: Sentora 1.0.0 patch (Centos 6.x Only)
(03-27-2015, 05:51 PM)Me.B Wrote: Notice the current installer HAVE been already patched. Only previous installs require this patch..

I reinstalled Sentora on CentOS6 30 minuts ago and the LoadModules which the patch disabled were not commented out..
So i still had to apply the patch.


Edit:

This morning i got an email that my server was down with the reason "Port open but incorrect HTTP session", so i looked at the error log from httpd and found this:
Code:
[Sun Mar 29 07:24:09 2015] [error] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_auth_ldap to function properly Configuration Failed 

But this module was disabled by the installer and this patch..
When i enabled this module and restarted httpd it worked again.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
#5
RE: Sentora 1.0.0 patch (Centos 6.x Only)
Ok will remove it commented
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
#6
RE: Sentora 1.0.0 patch (Centos 6.x Only)
After applying this , httpd is stoppped, people dont use this patch or your sentora install will be broken
(tested with a fresh install of sentora)

Or go to /etc/httpd/conf/httpd.conf and uncomment LoadModule ldap_module modules
#7
RE: Sentora 1.0.0 patch (Centos 6.x Only)
Yep already should be patched waiting for the pull to be accepted @[TGates]
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
#8
RE: Sentora 1.0.0 patch (Centos 6.x Only)
Done.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
#9
RE: Sentora 1.0.0 patch (Centos 6.x Only)
Thanks that would fix it.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
#10
RE: Sentora 1.0.0 patch (Centos 6.x Only)
Hello,
I have install lasted sentora version.Could I need install this path?Or this is option path?


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora 3.0 Sitrep! TGates 5 328 Yesterday, 11:11 AM
Last Post: TGates
Sentora v2.1.0 sitrep TGates 8 5 ,619 06-06-2025, 06:24 AM
Last Post: TGates
Sentora Docs Page TGates 1 1 ,842 04-23-2025, 06:51 PM
Last Post: michaelarrington

Forum Jump:


Users browsing this thread: 4 Guest(s)