Category: LINUX TROUBLESHOOTING
Fix Grub Filesystem Type Unknown Error On Centos/Redhat
LINUX TROUBLESHOOTING GRUB is GRand Unified Bootloader, the default bootloader for Linux kernel based Operating Systems. If you have a dual boot system, like Windows and Linux, then you may have some issues with GRUB. If you install Windows after Linux installation, then Windows puts its own bootloader on the MBR. So GRUB is no [...]
Fix Error – Locale: Cannot Set LC_ALL to default locale: No such file or directory
Question How to fix the error “locale: Cannot Set LC_ALL to default locale: No such file or directory”. Answer Locales are used in Linux to define which language the user uses. As the locales define the character sets being used as well, setting up the correct locale is especially important if the language contains non-ASCII [...]
Solution Linux Useradd Error – cannot lock /etc/passwd; try again later
Sometime in Linux when adding user using the useradd command it throws below error. #useradd test useradd: cannot lock /etc/passwd; try again later Answer The system files that are related to Linux user management are, /etc/passwd : Contains user account information /etc/shadow: Contains secured account information (encrypted password) /etc/group : Contains group account Information /etc/gshadow [...]
How To Record / Log Failed Login Attempt In Linux
A system administrator needs to monitor the unusual activities on the system. Unauthorized user may try to access the system by trying out different passwords. A utility in Linux that can be used to monitor these failed login attempts is “faillog” utility. “faillog” command displays any failed login attempts by any user. If there are [...]
Linux Tcp Ports: How To Use Netstat and Iptables For Linux Troubleshooting
It is a well known fact that Linux/Unix systems are mostly used as server and are often in connection to the internet. In such platforms access is limited by ports used. The term port means a number access point that is used to access your system much similar like a telephone number. Ports are usually [...]




