Author name: Jobin Joseph

View all posts by Jobin Joseph

VSFTP chroot jail users – Limit FTP users access to home directory

Lets see how we can configure a secure FTP server on CentOS  RHEL 6 / 7 First, you need to install the vsftp package on your server yum install -y vsftpd Once installed, lets start editing the configuration file, vim /etc/vsftpd/vsftpd.conf Line #12 disable anonymous FTP access, with the below configuration change. anonymous_enable=NO Chroot / Jail FTP …

VSFTP chroot jail users – Limit FTP users access to home directory Read More »

AWS Announces Immediate Availability of London Region

AWS has announced immediate availability of the new Europe (London) Region. The London Region joins Ireland and Frankfurt as AWS’ third European location, and provides the customer with a new option for hosting applications benefiting from infrastructure located in Europe. AWS is now operating sixteen regions worldwide, bringing the total number of AWS Availability Zones …

AWS Announces Immediate Availability of London Region Read More »

How to clear Memcache and redis without restarting the service

How to clear memcache and redis without restarting service. Clear Memcache telnet 172.25.16.191 11211 Trying 172.25.16.191… Connected to 172.25.16.191. Escape character is ‘^]’. flush_all OK quit Connection to localhost closed by foreign host. Clear Redis Cache [root@memcache ~]# redis-cli -h 172.25.16.191 172.25.16.191:6379 > flushall OK Jobin JosephView all posts by Jobin Joseph hazercloud.com

Last_SQL_Error: Error Table is marked as crashed and should be repaired

Today we had an issue with our Master-Master replication. Master2 was throwing the below error and the replication was stopped Last_SQL_Errno: 145 Last_SQL_Error: Error ‘Table ‘./exampledb/exampletable’ is marked as crashed and should be repaired’ on query. Default database: ‘livewbmy_db’. Query: ‘INSERT INTO `exampletable` (`challenge`, `response`, `hashkey`, `expiration`) VALUES (‘XBUL’, ‘xbul’, ‘a9e0f4e3dxxxxxccccccc0c8f8f1’, ‘2016-09-29 21:10:03′)’ Since its …

Last_SQL_Error: Error Table is marked as crashed and should be repaired Read More »

Got fatal error 1236 from master – MySQL – Broken Master – Master Replication

Scenario You have a MySQL Master-Master replication setup, Lets say Master1 (LIVE) and Master2 (DR Warm Standby) Master2 server has been restarted for some reason. Now Master1 LIVE (the slave of DR) slave status is stopped with the below error. Last_IO_Errno: 1236 Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: ‘Could not …

Got fatal error 1236 from master – MySQL – Broken Master – Master Replication Read More »

How to install native BASH on Windows 10 – Not a VM ;)

Native Bash is available now in Windows 10 as Windows 10’s Anniversary Update . Lets see how we can install it. Enable Developer mode in Windows 10 from settings >> Home, or search for Developer Mode from the Windows Menu. Now enable Windows Subsystem For Linux Users from the Turn Windows features on or off menu. Once the installation …

How to install native BASH on Windows 10 – Not a VM 😉 Read More »

Scroll to Top