Listen to this Post
1. How to Check Disk Space Usage
Use `df -h` to view disk usage by mounted filesystems. For directory-level details, run du -sh /path/to/directory. Clean up old logs, unused packages, or large files with tools like `ncdu` for interactive analysis.
2. Service Fails to Start
Check status with systemctl status service-name. View logs via journalctl -u service-name --since "10 minutes ago". Ensure dependencies are installed and configuration files (e.g., /etc/service-name/config.conf) are correct.
3. Network Connectivity Issues
- Test connectivity: `ping 8.8.8.8` (Google DNS).
- Check routes: `ip route` or
traceroute google.com. - Verify DNS: `dig google.com` or
nslookup google.com. - Inspect interfaces: `ip a` or
ifconfig. Restart networking with `systemctl restart NetworkManager` (ornetworkd).
4. “Permission Denied” Errors
- Check permissions:
ls -l /path/to/file. - Modify permissions: `chmod 755 file` or
chown user:group file. - If SELinux/AppArmor blocks access, check logs (
/var/log/audit/audit.log) or temporarily disable withsetenforce 0.
5. Terminating Unresponsive Processes
- Find PID: `ps aux | grep process-name` or
top. - Kill process: `kill -9 PID` or
pkill process-name. - Force-kill all instances:
killall -9 process-name.
6. System Fails to Boot
- Boot into recovery mode (GRUB menu) and check logs (
/var/log/boot.logorjournalctl -b).
References:
Reported By: Neelcshah Devops – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅



