[KLUG Members] cgi file not found

Chris Hansen members@kalamazoolinux.org
Fri, 14 Sep 2001 14:49:36 -0400


>Two things puzzle me about the errors you got.  First, it's bash
>that complains, not sh.  So I don't think /bin/sh actually got
>invoked to run your script...

I think sh is usually just a sym link to bash isn't it?


>Second, it complains twice, which would suggest to
>me that it's trying to run the script and it's something in the
>script itself that failed (twice).

I would agree with that assessment.  In my limited amount of shell
script CGI writing I've ran into that problem as well.. You usually
don't have the same path in your environment (if you even have a path
variable).  Replace grep and who with the full path to grep and who.
Yeah I know I'm just reiterating what Jamie said, but I was gonna
mention it before I read his reply.. =)