From: ········@gmail.com
Subject: External program from Lisp CGI
Date: 
Message-ID: <1190100262.317415.41330@d55g2000hsg.googlegroups.com>
Hi list,

I'm working on Lisp CGI based mostly on Maxima functions.
The problem is, I can't use plot2d (Maxima's interface to gnuplot) -
this function and all following it aren't executed.
But if I execute the same CGI file from terminal, it works as
expected.
I use Apache with mod_cgi on Debian.

Thanks for any help in advance.

Yigal Asnis
From: Tim X
Subject: Re: External program from Lisp CGI
Date: 
Message-ID: <87sl5bsd7b.fsf@lion.rapttech.com.au>
········@gmail.com writes:

> Subject: External program from Lisp CGI
>
> Hi list,
>
> I'm working on Lisp CGI based mostly on Maxima functions.
> The problem is, I can't use plot2d (Maxima's interface to gnuplot) -
> this function and all following it aren't executed.
> But if I execute the same CGI file from terminal, it works as
> expected.
> I use Apache with mod_cgi on Debian.
>
> Thanks for any help in advance.
>

Not even close to enough information to make any sort of reasonable guess.

What is shown in the apache error log?

What happens if you attempt to execute the cgi script as the same user the
script is executed as when it runs under apache?

What versions of the software are you running?

What have you done to verify the function isn't being called or are you
assuming it isn't because you are not getting expected results? For
example, are you certain the script isn't failing before the attempt to
call the plotting routines? 

Is apache using any configuration that may be affecting execution
(i.e. runing in a chroot environment, unable to follow symbolic links, can
only follow symbolic links if owned by effective user id, etc. 


-- 
tcross (at) rapttech dot com dot au