Remove server name from Apache headers:- It is essential to remove Apache server header to hide Apache server information and protect your website from malicious attackers. Here’s how to remove server name from Apache response header using htaccess. You can use it to hide the Apache version and server type… Continue Reading Hide server details and disable TLSV1.0 and TLSV1.1

Sometimes we may delete the cPanel account accidentally. May be we will be having the backups enabled but still inorder to get the latest backup before termination, you can use the below script. Go to the below path/usr/local/cpanel/scripts Create a file with name “prekillacct”vi prekillacct Install AWS CLI in the… Continue Reading Script to backup the cPanel account to S3 before the termination

When you get the above error, please follow the below steps. 1) Checked the file where the Javaheapmemory needs to be increased. Developers can help you on this. 2) After identifying the file, increase it accordingly. For example:- If the current value is 2048m then increase it to 4096m. Issue… Continue Reading java.lang.OutOfMemoryError: Java heap space

MySQL replication should work without problems even if the servers are restarted, databases created and removed, data flowing in and out. Sometimes, however, there are errors that are breaking the replication process. It is good to know once such situation appears. Please find the bash script below which gives the… Continue Reading MySQL replication status alerts with bash script

Inroder to avoid giving the PEM key to the user or employee and adding the user or employee key in the servers, Amazon introduced Amazon EC2 instance connect. Whenever employee leaves the company simply delete the IAM user, no need to go to each server, search for his or her… Continue Reading SSH access through IAM with EC2 instance connect.

If you face the above error in any of your RDS replicas, please follow the below steps. When you face this issue you will also see the lag between your master and replica. The status of the “Replication state” will be in “error” state. Check the status of the slave… Continue Reading Read Replica Replication Error – SQLError

Please follow the below steps when you get the above error. I got this error in KAFKA and everytime its getting down due to this. In Kafka, every topic is (optionally) split into many partitions. For each partition some files are maintained by brokers (for index and actual data). kafka-topics… Continue Reading ERROR Error while accepting connection (kafka.network.Acceptor) java.io.IOException: Too many open files

Please follow the below steps to upgrade the Redis node type Login to AWS In the searchbar type “Redis” or “Elastic cache” Select your Clustername You can see “Actions” above. Click on that. Click “Modify” “Modify cluster” dialog box will appear. Select the node type you want to upgrade. ex:-… Continue Reading Upgrade Redis Node type

This can happen for a variety of reasons. Please troubleshoot the issue by following the steps below one by one. 1) Verify the address mysql is bound to, it’s probably 127.0.0.1 (only) which I believe is the default (at least on standard Ubuntu server). You’ll have to comment out the… Continue Reading [ERROR][logstash.inputs.jdbc Unable to connect to database. Tried 1 times {:error_message=>”Java::ComMysqlJdbcExceptionsJdbc4::CommunicationsException: Communications link failure\n\nThe last packet successfully received from the server was 1 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.”}

1) Download and install the IIS from the below URL. https://www.iis.net/downloads/microsoft/url-rewrite 2) Select the website you want to apply redirection to, then double-click URL Rewrite. 3) Click Add Rule(s) 4) Select Blank rule in the Inbound rules section, then click the OK button. 5) Give your redirect an easy-to-remember name.… Continue Reading Redirect HTTP to HTTPS with Windows IIS 10