Hello, Today I was trying to get the database size on one of the MySQL / MariaDB servers. I found the below MySQL queries which can do the job. You can use the same approach as Amazon RDS or Azure Managed Database. Solution Connect to the database with the below command from a shell. mysql ...
Issue: Apache Basic htpasswd authentication not working via AWS CloudFront. Overview We had a website that was only allowed to access via basic password authentication as it was in the development stage. We had to enable AWS CloudFront on top of the website to enabled WAF and CDN capability. But, we had to keep ...
Issue Today I was working on a modifying autoscaling group and playing with some options in suspended action. After testing the things, I found that the new instances were not launching even if I haven’t suspended that action. Debug As I checked, I had kept “Terminate” in the suspended action in the Autoscaling Group ...
If you ever get a white page on your WordPress, the best way to troubleshoot is to check the apache error log first. It will have enough information about the issue happening now. In my case, the error was showing as below in the /var/log/httpd/error_log file. PHP Fatal error: Uncaught Error: Call to ...
Issue After the latest update of Synolofy NAS 6.1, the LDAP integration is no more working. The NAS is throwing error while clicking on the LDAP detected users. Solution NAS >> Domain / LDAP >> LDAP >> Profile >> Filter >> add the below in Shadow Section. objectClass=posixAccount Jobin Josephnixhive.com/
Today we were setting up few Web servers on a private network which will be serving the traffic through the Load Balancer. The setup was simple until we came to know that the Webservers needs to connect to github.com for the repository access. Diagnosis We have a jumpbox / Bastion (10.10.1.10) which is used for ...
Today i was installing Jenkins on a CentOS7 systems. After installing it via Jenkins yum repository, the service was not stating. The java was already installed on the server. Issue You have installed jenkins on a CentOS7 / RHEL7 system. jenkins is not starting via systemctl start jenkins command, and it is throwing journalctl -xn error. Caused ...
Some times you need to disable sudo su – access on your environment so that the users will use sudo command always and they will not switch to any other users account unnecessarily Lets see how to do it Edit the /etc/suoders by running visudo visudo Add the below Command Alias Cmnd_Alias BLOCKSU = /bin/su ...