Abhijit Sandhan

Loves Open Source, Blogging, Traveling, Hiking and sharing Knowledge!

[Solved] SocketException Permission denied - CakePHP


CakePHP is a PHP development framework used in many projects. CakePHP supports sending mail via built in mail functions of PHP, smtp server. One may face following error message while sending mail: SocketException Permission denied - CakePHP The issue is related to the SELinux policy of the OS. SELinux forbid PHP/Apache to make network connections. In this case, one has …

Read More »

[Fixed] Zentyal 3.5 NO_PUBKEY error in apt-get update

zentyal logo

Zentyal community edition is one of the widely used application for managing infrastructure. Zentyal pushes frequent updates through Zentyal repositories. One my get following error while upgrading Zentyal: W: GPG error: http://archive.zentyal.org 3.5 Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8E9229F7E23F4777 Solution: Add the Zentyal 3.5 key so that apt connect to …

Read More »

[How To] Disable SSLv3 for Apache in WHM cPanel

apache logo

After HeartBleed, Poodle (Padding Oracle On Downgraded Legacy Encryption) is another exploit recently discovered affecting SSL version3. To disable SSL version 3 for Apache in WHM cPanel, you can follow below steps: 1) Login in WHM and go to Service Configuration > Apache Configuration > Include Editor 2) Click on the Pre Main Include and select All Versions option from …

Read More »

[How To] Fix Shell Shock Bash vulnerability Linux

shell image

A vulnerability Shell Shock CVE-2014-6271) was discovered on September 24th, in the Bash shell on Linux/Unix based servers. Overview GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact via a crafted environment, as demonstrated by vectors …

Read More »