SysAdmin

IPA registration error – libcurl failed to execute the HTTP POST transaction. SSL connect error

Today we were trying to join RHEL-6 clients to our new IPA server. Most of the servers got registered and very few RHEL6 systems were failing to join. We ran the ipa-client-install with -d option for debugging and we got the below output. 2017-05-24T09:39:46Z DEBUG stderr=libcurl failed to execute the HTTP POST transaction. SSL connect

IPA registration error – libcurl failed to execute the HTTP POST transaction. SSL connect error Read More »

The disk contains an unclean file system (0, 0). NTFS error on Linux

Issue You are trying to mount an NTFS partition and the console is throwing the below error. Let’s see how to fix this. The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount ‘/dev/sda3’: Operation not permitted The NTFS partition is in an unsafe state.

The disk contains an unclean file system (0, 0). NTFS error on Linux Read More »

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 »

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

How to clear Memcache and redis without restarting the service Read More »

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