1. Login to Plesk Administrator Panel 2. Go to Tools & Settings > Action Log > Download Sample log can be in this format. x.x.x.x BunnyUser [2020-03-01 01:51:38] 'Update Domain Status' ('Domain Name': 'example.com' => 'example.com', 'Status': '0' => '64', 'Extended status of domain': 'active' => 'suspended', The status code "0" => "64" clearly shows … Continue reading How to Check Account Suspension log in Plesk
Category: Linux
Database getting wiped out and loading sample default page in wordpress
Cause : ThemeGrill Demo Importer < 1.6.3 - Auth Bypass & Database Wipe A critical bug was reported with ThemeGrill Demo Importer plugin. This allows the affected plugin to execute some functions with administrative privileges on the WordPress website. The prerequisite is that there must be a theme installed and activated that was published by … Continue reading Database getting wiped out and loading sample default page in wordpress
Recover mails that are struck in qmail todo folder in an interworx server
Mails were getting struck in the interworx todo queue and the client was bit angry as he was having important mails in the queue. So reinstalling qmail was not an option. The messages was not getting preprossed. [root@bunnytech]# /var/qmail/bin/qmail-qstat messages in queue: 5 messages in queue but not yet preprocessed: 90 The /var/log/send/current log (which … Continue reading Recover mails that are struck in qmail todo folder in an interworx server
Mails struck in qmail todo queue in an Interworx server
Mails were getting struck in qmail mail todo box. Tried to process the mails but was not successful. This can happen permissions, timestamps, or other file attributes of the queue have been modified by something other than qmail programs and you are having issues sending/recieving mail. Additionally, if you are sitting on a large (1000+) … Continue reading Mails struck in qmail todo queue in an Interworx server
How to display error in Drupal website
Add the following codes in the index.php error_reporting(E_ALL); ini_set(‘display_errors’, TRUE); ini_set(‘display_startup_errors’, TRUE); Save index.php file.
Fatal error: Cannot redeclare views_views_plugins() – Drupal
Fatal error: Cannot redeclare views_views_plugins() (previously declared in /home/bunny/public_html/sites/all/modules/views/includes/plugins.inc:15) in /home/bunny/public_html/sites/all/modules/x/profiles/x/modules/contrib/views/includes/plugins.inc on line 425 Ran the url http://www.example.com/update.php (www.example.com being the website) If your settings.php file is properly configured, you should get an access denied message. In that case, go to the directory (/home/bunny/public_html/sites/default) and open the settings.php file. Look for the line $update_free_access = … Continue reading Fatal error: Cannot redeclare views_views_plugins() – Drupal
How to prevent DNS recursion attack
DNS recursion attacks are common in cPanel linux servers. During recursion attcks server load increases and in the /var/log/messages file you will find domain queries which are not present in the server. Fix ** Add this to the "options" section of /etc/named.conf recursion no; additional-from-auth no; additional-from-cache no;
To setup python environment in CloudLinux
The Setup Python App icon is a third party plugin from CloudLinux .The interface will be shown as disabled by default. In order to enable the Setup Python App you will need to use the following instructions: - Login to WHM - Navigate to: Home »Server Configuration »CloudLinux LVE Manager - Select the Options tab … Continue reading To setup python environment in CloudLinux
Cleaning the Linux Memory cache
To free pagecache:# echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes:# echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes:# echo 3 > /proc/sys/vm/drop_caches