Re: Troubleshooting Debian
Am Montag, 4. Juni 2012 schrieb DragonDon:
> Greetings all!
> I know this will be a rather difficult thing to answer I think, but
> are there any generic steps listed somewhere on how to troublehshoot a
> problem on a Debian/Linux system? I understand that each problem can
> be rather unique on how you approach it but I have yet to see a kind
> of flow-chart or at least some guidelines (did a quick search of the
> Debian FAQ and the LDP) and nothing was immediately obvious. I was
> kinda looking for a:
> 1/ Check logs. Insert ways to check various logs (both CLI and GUI)
> 2/ Type commands (for networks use command A, for video use command B,
> Right now, and perhaps the only method, is to plunk in any error
> message (when I know there are any) into Google and hopefully a
> solution appears that works for Debian. Obviously a lot of Ubuntu
> results show up but given my limited knowledge on the difference, I am
> not yet qualified enough to know whether it will work without causing
> more complications.
I am not aware of anything available that is able to replace the own
ability to *think*. You have a brain. Use it!
Aside from that there is the Debian Reference and lots of other excellent
documentation and books about Debian.
Of course I could say, usually the important stuff is in
- man and info pages
- command --help
- read error messages
- tail -f /var/log/something (+ optionally | grep something)
- grep, zgrep
- file -sk somefile or device to see what it is
- mount / cat /proc/mounts
- fdisk -l
- df -hT
- ip addr / route / link, ip route get
- /etc: apt/sources.list, apt/preferences, network/interfaces,
- dpkg, apt-get, aptitude
But well now I have still omitted quite a lot of stuff.
So my recommendation is work yourself through Debian Reference and/or some
good Debian book like
The Debian Administrators Handbook
The Debian System
or some other good book while gaining your own experience by practically
using and administering Debian systems.
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7