Change Ownership of Files and Folders

To change the ownership of files and folders in a directory. For a plesk httpdocs directory that runs fastcgi. For apache – you will want to change this to apache:apache. Change directory Find who owns the files and folders. You see that some files/directories are owned by root:root an some by mungoadmin:psacln. We will want … Read more

Add federated to Mysql

I know the post is a little old, but it seems that many people are having issues with federated engines. When the mysql binaries are installed via yum, you already have the HA (High Availability) plugins. You simply need to load the plugins within the mysql CLI. Here is the basic process: Start mysqld if … Read more

Plesk Email Size Error

When changing the email from 100MB to 500 for the emails in the domain the following error: Under the subscription settings, you would need to increase the maximum size for the mailbox. If you attempt to make the limit for a mailbox higher than the current max mailbox setting for the subscription you will encounter … Read more

Mcrypt Installation

Note: If you have plesk panel – check the website for the version of php running. If it is a different version than the standard php installation, create a phpinfo page to check if mcrypt is installed for that php version as a simple “php-m” will just report the standard OS php information. The first … Read more

Root Compromised

Check the server if it is root compromised. Root compromised output. All of those files are set to immutable and append only. That’s what the “ia” you see is. Non root compromised Other checks: I would check the following: Logs. If you have root access you should check things like history which will give you … Read more

Cannot send or receive mail in WHM/cPanel Exim; frozen in queue

Error: LOG: MAIN cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1WkPBs-0003X3-Nmdelivering 1WkPBs-0003X3-NmLOG: MAIN PANIC failed to expand condition “${if and{{bool_lax{NULL}}{bool_lax{${perl{should_archive_outgoing_message}}}}}}” for archive_outgoing_email router: Undefined subroutine &main::should_archive_outgoing_message called. inside “and{…}” conditionLOG: MAIN PANIC failed to expand condition “${if and{{bool_lax{NULL}}{bool_lax{${if eq {$authenticated_id}{}{0}{${if eq {$sender_address}{$local_part@$domain}{0}{${if match{$received_protocol}{N^e?smtps?a$N}{${perl{checkbx_autowhitelist}{$authenticated_id}}}{${if eq{$received_protocol}{local}{${perl{checkbx_autowhitelist}{$sender_ident}}}{0}}}}}}}}}}}}” for boxtrapper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. inside “and{…}” conditionLOG: MAIN PANIC … Read more

Postfix and Qmail Sending IP

Changing postfix to qmail which will use the primary IP of the server (216.55.xxx.xxx) to send messages for all accounts is a great way to change the sending IP to one that is not blacklisted. Qmail default IP default mail ip in /var/qmail/control/outgoingip