Re: networking with perl

2003-03-27 Thread Soumyadeep nandi
Hi, As my network program on sun solaris was giving problem with the error: malformed header from script. Bad header=BLASTN 2.2.4 [Aug-26-2002]: /usr/local/apache/cgi-bin/local/ file3.cgi I tried with another linux machine it worked fine. That is, after sending the request to the linux machine I

Re: networking with perl

2003-03-26 Thread Soumyadeep nandi
Thanks Michael, The error was as bellow in error_log file: Can't exec "/home/soumya/Application/BLAST/blastall": Permission denied at /var/www/cgi-bin/bic_genscan/file3.cgi line 19. Now I've copied the program blastall into the same directory so that the user running apache can have the accesibili

Re: networking with perl

2003-03-25 Thread Michael Weber
Does the user running Apache have rights to the /home/soumya/Application/BLAST/blastall file and the data directories? What's in the access_log or error_log when you run the script from the web page? -Michael >>> Soumyadeep nandi <[EMAIL PROTECTED]> 03/25/03 07:39AM >>> Hi, I am stuck with anot

Re: networking with perl

2003-03-25 Thread Soumyadeep nandi
Hi, I am stuck with another problem. I want to send a request from the perl file to the server. The server receives the request with a cgi file which will process the request by executing a system command and send back the result. But my cgi script is not executing the system command. The cgi scr

Re: networking with perl

2003-03-25 Thread Soumyadeep nandi
Hi, I am again stuck with a problem, depicting as bellow. I want to send a request from the perl file to the server. The server receives the request with a cgi file which will process the request by executing a system command and send back the result. But my cgi script is not executing the system

Re: networking with perl

2003-03-25 Thread Scott R. Godin
On Mon, 24 Mar 2003, Soumyadeep nandi wrote: > Thanks Scott, > > The mistake was in directory permission. > > I have a little more problem in running system command > from cgi file. Even I wrote a perl file so that I can > run the system command from the perl file. But the > perl file is also no

RE: networking with perl

2003-03-24 Thread Dan Muey
> Hi Dan, Howdy, post to the list so we can all share :) > > I wrote a simple script that is sending a request to > localhost and receiving the response with LWP. > I wrote yesterday it was running fine on yesterday, > but as I am trying to run today it is ending up with > the error " 403 Forb

RE: networking with perl

2003-03-24 Thread Dan Muey
> Hi Dan, Hii, please post to the list so everyone can learn and help. > > I have a little more problem in running system command > from cgi file. Even I wrote a perl file so that I can > run the system command from the perl file. But the > perl file is also not executing the system command. I

Re: networking with perl

2003-03-23 Thread Scott R. Godin
Soumyadeep Nandi wrote: > Hi Wiggins, > > I wrote a simple script that is sending a request to > localhost and receiving the response with LWP. > As I am trying to run the script it is ending up with > the error " 403 Forbidden ". I am sending the script > along with this mail bellow. > > I've c

Re: networking with perl

2003-03-22 Thread Soumyadeep nandi
Hi Wiggins, I wrote a simple script that is sending a request to localhost and receiving the response with LWP. As I am trying to run the script it is ending up with the error " 403 Forbidden ". I am sending the script along with this mail bellow. I've checked the file permission of file3.cgi and

Re: networking with perl

2003-03-21 Thread Soumyadeep nandi
Hi Wiggins, Thankyou very much for your suggestion and guideline. I would inform you on my progress. With best of my regards Soumyadeep --- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > Soumyadeep nandi wrote: > > Hi All, > > > So, I have two plans to work out the situation, > these > > are a

RE: networking with perl

2003-03-19 Thread Dan Muey
> Hi All, > Howdy > As a naive perl programmer, I want to get rid of a > problem, for that, I am keen, awaiting your > suggestions. I doubt, I could not present my case in > front of you properly. Anyway, my problem spins around > the following. > > The module I am working with, need some netw

Re: networking with perl

2003-03-18 Thread Wiggins d'Anconia
Soumyadeep nandi wrote: Hi All, So, I have two plans to work out the situation, these are as follows: 1. With LWP perl module. First I will make a perl script that will put the request to the server. A CGI script in the server receive the request and will run some system command

Re: networking with perl

2003-03-18 Thread Michael Weber
I am doing something similar, but on a smaller scale. My lifeboat is the book Perl by Example by Ellie Quigley. One of the best investments I ever made in a book. (The Bible was best, but that's a diferent topic.) In that book she outlines how to open a socket and pass info back and forth. It