Lista de depanare

O lista practica de depanare pentru orice developer sau calculatorist pasionat (în engleză, că-i programare :P):

  1. Is the filename extention right? Should it be .php instead of .html?
  2. You can get to the web site? Are you working in “off-line” mode?
  3. Make sure CapsLock is off. (Same for ScrollLock and NumLock)
  4. Is there a (invisible) CTRL-M at the end of each line in the text file?
  5. Does the text file end with a newline?
  6. Are both ends of the (power/network/video/etc.) cable plugged in?
  7. Did you unplug and re-plug in the cable to make sure its in right?
  8. Is the cable plugged into the right jack? (Some jacks look the same: AUI and video, Some Sun’s have a ‘stealth’ video jack that you aren’t supposed to use, etc.)
  9. “Did you get permission to run crack against that password file?” … “Is it in writing?”
  10. Is the user pressing RETURN when you think they are? (Are they pressing it at all?)
  11. Is the user typing a “/” or a “\”?
  12. Does the user know which is the lessthan and which is the greaterthan symbol?
  13. Is the screen paused via Ctrl-S? (press CTRL-Q to find out)
  14. Does your test gear test what you think it tests? What happens when you run the exact same test on a known-good and a known-bad element? Do you get the results you expect both ways?
  15. Does plugging a lamp into that outlet make it light up? (If you use a radio, be careful of radios with battery backups)
  16. Is the laptop running off battery? (therefore obscuring a power problem)
  17. Use cut-and-paste to copy that variable name (or URL, commmand line, etc.) to see if it was entered correctly.
  18. Check the file permissions.
  19. Check the environment variables (Use “strings” on the binary to find out what they really are supposed to be).
  20. It’s too easy to answer “yes” when asked, “Is it plugged in.” It’s better to ask them to power it off, then power it back on OR ask them to “check both ends of the power cable” OR ask them if the power light is on, off, or blinking. (and if it’s blinking… RUN!)
  21. Type it again (without using cut-and-paste) and see if you get the same results. (good way to find a typo)
  22. Is the default route set? Is the netmask set correctly?
  23. Traceroute from A to B. Traceroute B to A. Do they match up?
  24. Is someone else also at that IP address? (Unplug the network cable and ping the address)
  25. Are you really on the host you think you are?
  26. Is the program reading the last line of the file? Is it being processed right?
  27. Are you doing the test from the right machine? Would the test be more effective from a different machine?
  28. (firewall ruleset issues) If you move the machine to another IP address does it still happen? If you move the machine to a different subnet does it still happen? If you put a different machine at that IP address does it still happen? If you boot the same machine on a different OS (like a CD-ROM based Linux or FreeBSD) does it still happen?
  29. Does the same thing happen when you specify the IP address instead of the hostname? (Hint: the lmhost or /etc/hosts may be overriding)
  30. Is that a file, a directory, a hard link, a symbolic link, or a mountpoint?
  31. http://www.psc.edu/~mathis/MTU/index.html: Six classes of bugs limit network performance.
    • packet losses, corruption, congestion, bad hardware
    • IP Routing, long round trip times
    • Packet reordering
    • Inappropriate buffer space
    • Inappropriate packet sizes
    • Inefficient applications

    Any one of these problems can hide all other problems:

  32. Are the binaries really the ones you think are running? (Did you install in single user mode when /opt wasn’t mounted? Can you check the md5 or sha1 checksum vs. a machine that is running properly?)
  33. Is DNS configured right? Misconfigured DNS masks other problems and appears as bizarre problems that will send you looking everywhere except /etc/resolv.conf
  34. Is there a rogue DHCP server on the network messing with you?
  35. Is the device driver you’re trying to install for the device you actually have?
  36. Did you remember to check this list?

Peste putine nu am dat pana acum 🙂 De aici.

Apoteotic:

This entry was posted in Devel, NewMedia, TV and tagged , , , , , , , . Bookmark the permalink.

Comments are closed.