SysAdmin articles

135 posts

SysAdmin

Jenkins not starting on CentOS 7 / RHEL 7

24 March 2017·1 min readArchive

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...

Read article →
SysAdmin

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

23 February 2017·1 min readArchive

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...

Read article →
SysAdmin

OpenVPN with CSF firewall rules

2 February 2017·1 min readArchive

We are a big fan of OpenVPN when it comes to security. Many organizations have already switched to OpenVPN from PPTP etc. NixVPN is my favorite VPN software to host it on a standalone instance. But...

Read article →
SysAdmin

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

1 February 2017·1 min readArchive

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...

Read article →
SysAdmin

How to clear Memcache and redis without restarting the service

30 November 2016·1 min readArchive

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...

Read article →
SysAdmin

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

30 September 2016·1 min readArchive

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...

Read article →
SysAdmin

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

29 September 2016·1 min readArchive

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)...

Read article →
SysAdmin

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

18 September 2016·1 min readArchive

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...

Read article →
SysAdmin

httpd.service: main process exited kill: cannot find process “”

15 September 2016·1 min readArchive

Today apache was stuck with the below error and it was not starting at all. Sep 15 06:18:24 server.example.com systemd[1]: Starting The Apache HTTP Server… Sep 15 06:18:24 server.example.com...

Read article →
SysAdmin

DROWN – Cross-protocol attack on TLS using SSLv2

2 March 2016·1 min readArchive

Its the time for another openssl update, Update your openssl and openssl-libs packages with below commands. RHEL / CentOS / OEL (rpm based) yum update openssl Ubuntu / Debian Based (apt based)...

Read article →
SysAdmin

CentOS 7 / RHEL 7 – AWS ec2 – how to set hostname persistent across reboots

7 February 2016·1 min readArchive

Issue how to set hostname persistent across reboots in CentOS 7 / RHEL 7 on AWS ec2 CentOS 7 / RHEL 7 Hostname changes after reboots in aws ec2 Solution Set the hostname with the below command...

Read article →
SysAdmin

Sudo access to a single service – RHEL 7 / CentOS 7

24 January 2016·1 min readArchive

Issue You need to give only the apache / httpd restart permission to the developers via sudo. Solution Add the below lines to /etc/sudoers Cmnd_Alias WEBDEVS = /sbin/service httpd * user1 ALL =...

Read article →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →