Re: [EMAIL PROTECTED] cgi script fails

2008-06-02 Thread Krist van Besien
On Sun, Jun 1, 2008 at 2:43 PM, Jayakrishnan M <[EMAIL PROTECTED]> wrote: > Got the reason.. erl interpreter is failing. > Now I'll try to figure out why it is failing. > Thanks for the help. CGI scripts are run with the permissions and the environment of the user the webserver runs as. This means

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Jayakrishnan M
Got the reason.. erl interpreter is failing. Now I'll try to figure out why it is failing. Thanks for the help. Jayakrishnan On Sun, Jun 1, 2008 at 5:01 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > On Sun, 1 Jun 2008 16:56:13 +0530 > "Jayakrishnan M" <[EMAIL PROTECTED]> wrote: > >> The problem is th

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Nick Kew
On Sun, 1 Jun 2008 16:56:13 +0530 "Jayakrishnan M" <[EMAIL PROTECTED]> wrote: > The problem is the erlang module doesn't seem to be working when > called from the cgi script. > For testing, I put prints to stdout as well as file at the start > itself. But both are not happening. > I can't understa

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Jayakrishnan M
The problem is the erlang module doesn't seem to be working when called from the cgi script. For testing, I put prints to stdout as well as file at the start itself. But both are not happening. I can't understand the reason for such a behaviour. Thanks Jayakrishnan On Sun, Jun 1, 2008 at 4:51 PM,

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Nick Kew
On Sun, 1 Jun 2008 11:49:16 +0100 Nick Kew <[EMAIL PROTECTED]> wrote: > On Sun, 1 Jun 2008 13:52:19 +0530 > "Jayakrishnan M" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I am using a shell script as a cgi script. I am trying to call an > > erlang beam file from the shell script for some processi

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Jayakrishnan M
The erlang module works fine when I invoke it from the command line. I have put the same command in the shell script. I have made sure that all paths are okay. Thanks Jayakrishnan On Sun, Jun 1, 2008 at 4:26 PM, Eric Bowman <[EMAIL PROTECTED]> wrote: > Jayakrishnan M wrote: >> >> Hi, >> >> I am u

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Eric Bowman
Jayakrishnan M wrote: Hi, I am using a shell script as a cgi script. I am trying to call an erlang beam file from the shell script for some processing. The problem is that the erlang code is not getting executed. The lines in the shell script which are above and below the call to erlang binary a

Re: [EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Nick Kew
On Sun, 1 Jun 2008 13:52:19 +0530 "Jayakrishnan M" <[EMAIL PROTECTED]> wrote: > Hi, > > I am using a shell script as a cgi script. I am trying to call an > erlang beam file from the shell script for some processing. > The problem is that the erlang code is not getting executed. > The lines in the

[EMAIL PROTECTED] cgi script fails

2008-06-01 Thread Jayakrishnan M
Hi, I am using a shell script as a cgi script. I am trying to call an erlang beam file from the shell script for some processing. The problem is that the erlang code is not getting executed. The lines in the shell script which are above and below the call to erlang binary are working. I have been