Hi.

[snippage]
Mon Nov 21 21:09:26 2005 [94371] get_path_info: curdir = "/usr/home/www/default-site"
Mon Nov 21 21:09:26 2005 [94371] get_mime: type=/usr/local/bin/php, class=3
Mon Nov 21 21:09:26 2005 [94371] close_rfd: 5
Mon Nov 21 21:09:26 2005 [94371] child process 94372 created
Mon Nov 21 21:09:26 2005 [94371] process_cgi: 5
Mon Nov 21 21:09:26 2005 [94371] process_request finished (s=-1)
Mon Nov 21 21:09:26 2005 [94371] child process 94372 exited with status 5

First of all, my apologies for these cryptic error messages. :) (Boring, technical explanation follows, please skip this if you're not interested.) The problem is that if mathopd is compiled with HAVE_VFORK, the child process is not allowed to do anything fancy, like log an error, until it has started to execute the CGI program. That is why I have used the child's exit code as a primitive means of communication. See the spawn() function in main.c for details.

Now, to help you with your problem (well, hopefully)

The 'status 5' probably means that the directory, or parent directories of /usr/home/www/default-site are not accessible to the scriptuser. Do a

ls -ld / /usr /usr/home /usr/home/www /usr/home/default-site

and check that (a) each of these directories exists and (b) all three 'x' bits are set in the permissions column for each of the directories.

HTH

Cheers
Michiel

Reply via email to