A recent Percona upgrade caused problems with PHP on some cPanel servers. The name of the libmysqlclient library was changed without keeping a symlink to the original name, which caused PHP to throw errors, and EasyApache not compiling successfully. Running php -v will show it… php -v php: error while loading shared libraries: libmysqlclient.so.18: cannot […]
Installation Clone this repository into /var/cpanel/easy/apache/custom_opt_mods/ like so: # cd /var/cpanel/easy/apache/custom_opt_mods/ # git clone https://github.com/thecpaneladmin/EA-PhalconPHP.git . # /scripts/easyapache Git on cpanel is at # /usr/local/cpanel/3rdparty/bin/git Or use the .zip: # cd /usr/src # wget https://github.com/thecpaneladmin/EA-PhalconPHP/archive/master.zip # unzip -d /var/cpanel/easy/apache/custom_opt_mods/ master.zip # /scripts/easyapache Make sure that the path is /var/cpanel/easy/apache/custom_opt_mods]# ls -la drwxr-xr-x 4 root root […]
There is no max file size limit that can be sent and received, however, cPanel defaults the limit to 50mb. You can change this in cPanel. To change this do the following, Login to cPanel as admin Under Service Configuration, Click “exim Configuration Manager” Click “Advanced Editor” Scroll down and Click “Add additional Configuration Setting” […]
WHM show the service as down. Server domain.com Primary IP Address 69.xx.xx.xx Service Name ftpd Service Status failed Notification The service ?ftpd? appears to be down. Service Check Method The system?s command to check or to restart this service failed. Number of Restart Attempts 258 Startup Log Do the following… # cd /var/run # mv […]
Roundcube error: Roundcube – Database error: Connection failed! Exim log Aug 17 01:52:44 206-225-82-31 dovecot: auth: Error: Cpanel::MailAuth: Failed to lookup domain owner of domain.com Aug 17 01:57:44 206-225-82-31 dovecot: master: Warning: Killed with signal 15 (by pid=24147 uid=0 code=kill)" Run: # /usr/local/cpanel/bin/update-roundcube –force
[Tue Aug 18 16:28:04 2015] [error] [client 18.104.22.168] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/exclusi3/20150818/20150818-1628 (Read-only file system) [hostname "exclusivityllc.net"] [uri "/index.php"] [unique_id "VdOjZNg3iukAAFLEtGYAAAAH"] If I disable mod security on the account, then I get Mod ruid errors Disable mod security [Tue Aug 18 16:29:49 2015] [error] [client 22.214.171.124] SecurityException in Application.cpp:186: Do not […]
Rebuild the Dovecot mailer server To do this, run the following script: # /usr/local/cpanel/scripts/builddovecotconf Restart the Dovecot mail server. To do this, run the # /scripts/restartsrv_dovecot command.
ModSecurity uses can help block potential attack attempts from malicious users, but sometimes it can also block legitimate requests. Note: Using SecRuleEngine Off in your modsecurity configuration, you won’t want to put that in your ModSecurity configuration file. As that completely turns off ModSecurity. The SecRuleRemoveById setting is used instead to only disable one specific […]