CERN doesn't run my scripts and I'm sulking!

CERN doesn't run my scripts and I'm sulking!

Post by Alex Tears » Fri, 17 Oct 1997 04:00:00



Greetings people,

Thank you for the help from my last posting. One of these days I will be
able to help somebody back again!

I turn to you now in my hour of need...

I have some scripts runnning in a subdirectory off my /cgi-bin/ directory:

The first test.pl - works fine on the server and delivered by Cern 3.0A to
the browser, all working fine and dandy as expected.

The rest, all in the same directory as test.pl, don't work at all.

I get this kind of thing from my scripts (the last couple of lines shown
when running Cern 3.0A in Very Verbose mode):

Child....... done
Child....... Standalone specific IO redirections done.
Child....... redirecting stderr to stdout, and then doing execve()
Parent...... child pid 1231 has finished
TimeOut..... set for process 1231 (300 secs)

As opposed to this:

Child....... done
Child....... Standalone specific IO redirections done.
Child....... redirecting stderr to stdout, and then doing execve()
Parent...... child pid 1353 has finished
TimeOut..... set for process 1353 (300 secs)
Ok.......... script result content-type text/html
Calculating. content-length on the fly

Calculated.. content-length: 26
............ Header section for client
HTTP/1.0 200 Document follows
Server: CERN/3.0A
Date: Thu, 16 Oct 1997 17:29:54 GMT
Content-Type: text/html
Content-Length: 26

for my working test script. OK, so it's an error in the script. Well, it
works on NCSA's HTTPD and Roxen Challenger 1.1. I have tried moving the

Content-type: text/html\n\n

Header right to the top of the script as per an FAQ I found, but to no
avail. I know it's not a lot to go on, and I am asking the ridiculous but

a) has anyone had these kind of problems with Cern?
b) do any of you run Cern?

Even some vague pointers would help, or I can go into more detail offline.
Help me Obi Wan, you're my only hope...

Alex Tearse
Superscape VR plc
http://www.superscape.com
--------------------------------------------------------
the views expressed here are not
necessarily the views of my employer
--------------------------------------------------------

 
 
 

CERN doesn't run my scripts and I'm sulking!

Post by Gertjan van Oost » Tue, 21 Oct 1997 04:00:00



> The first test.pl - works fine on the server and delivered by Cern 3.0A to
> the browser, all working fine and dandy as expected.

> The rest, all in the same directory as test.pl, don't work at all.

Then it's probably the scripts.  If they're written in Perl, have you
checked them with 'perl -cw bla.pl'?
Otherwise, not much can be said without the script itself.

Quote:> a) has anyone had these kind of problems with Cern?

Yes, when there were errors in the script.

Quote:> b) do any of you run Cern?

Yes, I still do.

Quote:> Even some vague pointers would help, or I can go into more detail offline.

Feel free to e-mail me an example.

--

--
KAS-Netbank: <URL:http://www.kasnetbank.com/>, winnaar van de
!!! COMPUTABLE IT AWARD 1997: <URL:http://www.computable.nl/cptita1.htm> !!!
en de Computable Innovatieprijs 1997

 
 
 

1. 'su --login user -c command' doesn't run loggin scripts

hello, i have a Mandrake 7.0

'su --login user -c command' doesn't run loggin scripts

it does not read the .bash_profile !


Wed Feb 16 15:50:35 CET 2000

toto


total 24
drwxr-xr-x   2 postgres postgres     4096 Feb 16 15:50 ./
drwxr-xr-x  13 root     root         4096 Feb 16 15:48 ../
-rw-------   1 postgres postgres     1568 Feb 16 11:49 .bash_history
-rw-r--r--   1 postgres postgres      177 Feb 16 11:49 .bash_profile
!!!!!!!!!!!!!!!!!!!!!!
-rw-r--r--   1 postgres postgres      177 Feb 15 17:32 .bashrc

this works fine on redhat 6.


Wed Feb 16 16:06:43 CET 2000

toto

total 45
drwxr-xr-x  20 postgres postgres     1024 Feb 16 16:06 .
-rw-r--r--   1 postgres postgres      256 Feb 16 16:06 .bash_profile
!!!!!!!!!!!!!!!!!!!!!!
-rw-r--r--   1 postgres postgres     1448 Feb 16 16:06 .bashrc
drwxr-xr-x  32 root     root         1024 Feb 16 15:00 ..
-rw-------   1 postgres postgres    14343 Feb 16 10:39 .bash_history

is it a bug or a feature ?

Ernest.

2. YDL on SIIG ULTRA ATA 133/100 controller???

3. Can't run my CERN 3.0 scripts on APACHE?

4. tunneling (CIPE) problem

5. HD Boot doesn't want to run LILO (I see 'LI')

6. Error In Compiling Kernel-2.1.43

7. 'wish' doesn't run!

8. Routing between eth0 (10MBit) and eth1 (100Mbit)

9. 'setup' script doesn't display menu

10. expect script doesn't understand '$1' from command line?

11. 'at' runs job, cron doesn't!

12. 'sh' script spawning Sun 'cmdtool' running program

13. Apache doesn't seem to run my cgi scripts