CentOS / RHEL – 7 How to set hostname permanently

30. November 2015 SysAdmin 0
Issue How to set hostname in CentOS-7 / RHEL-7 persistent across reboots. – I have changed /etc/hostname and it changes after reboot. Solution In CentOS / RHEL-7 you need to use the hostnamectlcommand line tool to update the hostname – To set the hostname permanently, issue the below command, hostnamectl set-hostname  server1.jobnix.in To view the current ...

Git doesn’t work after upgrading Mac OS X El Capitain

04. October 2015 SysAdmin 0
Issue – Git doesn’t work after upgrading Mac OS to X El Capitain – Output when you run git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Solution – run the following command as a user xcode-select --install – This will pop-up a window and continue with it. – Once finished, run ...

Git doesn’t work after upgrading Mac OS X El Capitain

04. October 2015 SysAdmin 0
Issue – Git doesn’t work after upgrading Mac OS to X El Capitain – Output when you run git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Solution – run the following command as a user xcode-select --install – This will pop-up a window and continue with it. – Once finished, run ...

Enable TUN / TAP in OpenVZ

08. September 2015 SysAdmin 0
Issue You have an OpenVZ VPS and you are getting the following error. [root@vps ~]# cat /dev/net/tun cat: /dev/net/tun: No such device Fix Makes sure you have TUN / TAP enabled on the Hardware node. lsmod | grep tun If it didnt return anything, run the below and make sure the module is loaded. lsmod ...

usbhid couldn’t find an input interrupt endpoint

21. August 2015 SysAdmin 1
Issue usbhid couldn't find an input interrupt endpoint The server is showing the above error and not booting at all. Some systems will give you a blinking booting window. Resolution Remove all the USB devices like Keyboard and Mouse. Restart your server Affected Systems RHEL 5, RHEL 6, CentOS 5, CentOS6 tag: usbhid couldn’t find ...

usbhid couldn’t find an input interrupt endpoint

21. August 2015 SysAdmin 0
Issue usbhid couldn't find an input interrupt endpoint The server is showing the above error and not booting at all. Some systems will give you a blinking booting window. Resolution * Remove all the USB device like Keybord and Mouse. * Restart your server Effected Systems RHEL 5, RHEL 6, CentOS 5, CentOS6 tag: usbhid ...