If you want to debug any error of facing issue in Linux then you should check the logs.

General log directory is

/var/log/

you can find different application logs in this directory.

 

There is command to see the system logs it will show the latest logs

dmesg

this command will show the latest logs of /var/log/dmegs . it will show boot time kernel generated and hardware related messages.

Next Proc file system