http://Check-these.info/shooting/index.html


Trouble shooting

We perceive troubles when we feel negatively classified sensations. To have any sensation, there must be resistances and/or frictions.

Without resistances and frictions, we will feel nothing and no troubles. But I think it can only happen when we are totally dead.

Living is moving, and moving is having resistances and frictions and feeling them. And some sensations will be classified as "negative" no matter how hard you try.

So, it's quite normal to have troubles in our life. Otherwise, we are dead.

However, some troubles can be eliminated (or replaced by other one).

But waiting isn't good enough when we encounter persistent or regular problems.

Easily frustrated person has a common tendency of clinging on to only one possible cause among many, and keep blaming/accusing/cursing it without accepting any other possibilities.
No wonder he/she gets frustrated.

I guess these type of people love to get frustrated and blame someone else, insisting that they are the victims and that they deserve more attentions and special treatments, and hoping someone else will take care of them, rather than finding solution and fixing the problem by their own initiatives.

Many human being can slip back temporary to this "crying baby" state, under emotional stress, confusion, or shock.

If you feel that you are frustrated, take a slow easy deep breath, feel the pain, and get out of the victim attitude, blaming mind frame.
As long as you stay in it, you won't be truly happy, and it prevents you from doing effective trouble shooting.

Example of endless, infernal, victim attitude ping-pong loop ==> Middle eastern conflict

To know the possible causes:
  1. Read FAQ, Forums, ML, Readme, Manual, and related materials
  2. Run Google search. Search FAQ, Forums
  3. Check the home page of the software/system.
  4. Contact the author/vendor.

Sometime, you may have to do look for the error messages in error_log, or activate certain option in the software, or add some code to be able to see error messages.
It'll help you a lot if you learn the effective way to get messages from each software/system you are using.

In case of software, redirecting stderr output to stdout or a file is easy way to see the messages.

When you are using/testing programs in the environment that doesn't show stderr (Standard error output), you may have to add a bit of code.
(Apache's error_log may record error messages, in case of CGI)

If it's a shellscript this will redirect stderr to stdout for all following commands.
exec 2>1&

In Perl, this will do that.
open(STDERR,">&STDOUT");
Alternatively, you may want to do like this:
begin {
print "Content-type: text/html\n\n"; # In case of CGI script
open(STDERR,">&STDOUT");
}

In Python:
import sys
sys.stderr = sys.stdout

As componets, modules, libraries, and other part of system maybe telling us about the problem, we should know how to get these messages.

For CGI/PHP problem, check web server's error log.
PowWeb users can use EasyLogTool to see the error_log.
Also, try nph-debug.cgi to get better idea.

For redirect related problem, use proper tools.

Trouble Shooting RewriteRule

Please read the trouble shooting section of this page. http://check-these.info/hosting/Generic_htaccessMethod.html#shoot

These tools will help you, too.

Questionable color of this page is dictated by blueberry cream cake, my favorite dessert.

This page is http://Check-these.info/shooting/index.html

My main site is hosted by PowWeb, one of the best low budget host !

5,000 MB + 10 Gigs/Day Transfer - $7.77/mo Web Hosting!
Last modified: 2005-08-06_00:41:25   Powered by Wikiciter CMS