Root Compromised

Check the server if it is root compromised. lsattr /usr/bin Root compromised output. All of those files are set to immutable and append only. That’s what the “ia” you see is. [root@mail ~]# lsattr /usr/bin s—ia——- /usr/bin/bzcmp s—ia——- /usr/bin/getkeycodes s—ia——- /usr/bin/enc2xs s—ia——- /usr/bin/mail-files s—ia——- /usr/bin/chage s—ia——- /usr/bin/mdeltree s—ia——- /usr/bin/nslookup s—ia——- /usr/bin/semodule_link s—ia——- /usr/bin/mbchk s—ia——- /usr/bin/rpcgen…

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…

Fast CGI Upload Error

[stextbox id=”warning”]mod_fcgid: HTTP request length 16779013 (so far) exceeds MaxRequestLen (16777216), referer[/stextbox] Getting an error on a plesk server witht he site running fastcgi and the upload times out or you get an error: mod_fcgid: HTTP request length 16779013 (so far) exceeds MaxRequestLen (16777216), referer: Source: http://kb.parallels.com/en/114842 Cause The FcgidMaxRequestLen directive was changed from 1GB…

Install Memcached

Memcached Memcached is a general-purpose, free and open-source distributed memory caching system. It is one of the most popular caching tools and is used in such popular sites as YouTube, Reddit, Zynga, Facebook, and Twitter. If you also run dynamic, database-driven sites, Memcached may reduce resource consumption and speed up page delivery on your server…

ProFTP – Fatal: error processing configuration file ‘/etc/proftpd.conf’

Error: telnet 216.55.131.xx 21 Trying 216.55.131.xx… Connected to 216-55-131-xx.dedicated.domain.net (216.55.131.95). Escape character is ‘^]’. 216-55-131-xx.dedicated.domain.net proftpd[20885]: error: no valid servers configured 216-55-131-95.dedicated.domain.net proftpd[20885]: Fatal: error processing configuration file ‘/etc/proftpd.conf’ Connection closed by foreign host. Simply run: hostname yourservername.tld or nano /etc/hosts Add 127.0.0.1 216-55-131-95.dedicated.domain.net Restart ftp service xinetd restart

Remove SSL default Cert on Plesk 11.0.9

Log into mysql. mysql -uadmin -p`cat /etc/psa/.psa.shadow` mysql> select dom_id,certificate_id from hosting where dom_id=13; +——–+—————-+ | dom_id | certificate_id | +——–+—————-+ | 13 | 0 | +——–+—————-+ 1 row in set (0.00 sec) mysql> SELECT * FROM IP_Addresses; +—-+—————+————-+—————+——-+——————–+——————-+——-+——+——–+ | id | serviceNodeId | ip_address | mask | iface | ssl_certificate_id | default_domain_id | ftps…

MySQL’s wait_timeout and interactive_timeout Variables

Ever get these errors? Mysql reporting error when accessing plesk. Zend_Db_Adapter_Exception: SQLSTATE[08004] [1040] Too many connections. You can set-variable=max_connections=250 to /etc/my.cnf and restart and use mysql close statements for php code. Or, set up mysql to close sleeping processes. Mysql Config. (/etc/my.cnf) wait_timeout variable represents the amount of time that MySQL will wait before killing…