Lorin Lund wrote:
> I'm sorry I did not make myself clear.  If there is an error message I
> don't know what it is.  As far as I know it would have gone into the httpd
> error log.  But I don't know where the error log is on this server.  It 
> is not in the same directory as the traffic log.

You might be able to make your own error log.

Let's say your cgi program is named JCGI

Write a wrapper that looks something like this:

#!/bin/sh
strace -f -o /tmp/jcg.$$.trace ./JCGI "$@"

This will create files in /tmp named jcg.*.trace, which will
show every system call made by JCGI and by anything it forks.

If you need more detail or more control, you can read the man page 
on strace (for example, you might want to use the option 
-e verbose=all).

Anyways, use this surrogate in place of JCGI -- it will run
JCGI and thus work the same way, but every time you reference
it, it will generate a new file detailing that execution.

Look for errors and the like -- typically near the end of
the trace file.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to