[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Problems running scripts



try ./hello.cgi
or
./hello.pl



-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Bruce Campbell
Sent: Saturday, February 19, 2000 11:37 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Problems running scripts


Okay. I'm beaten.

Why can I not run scripts from the command line?

This is a Qube2. 

    [admin@cobalt toyota]$ ls -l hello.cgi
    -rwxr-xr-x   1 admin    home           24 Feb 19 11:17 hello.cgi
    [admin@cobalt toyota]$ cat hello.cgi
    #!/bin/sh -w
    echo hello
    [admin@cobalt toyota]$ hello.cgi
    bash: hello.cgi: command not found
    [admin@cobalt toyota]$ sh hello.cgi
    hello

Scripts just don't run straight. This is also true for perl scripts:

    [admin@cobalt toyota]$ hello.pl
    bash: hello.pl: command not found
    [admin@cobalt toyota]$ perl hello.pl
    hello
    [admin@cobalt toyota]$

Naturally, this behavior means we can't run cgis on this box (unless I am
forced to mod_rewrite them. Do-able, I suppose, but dumb).

This is the only server (BSD and RedHat Linux) where we have this issue.

-- 
bruce campbell   
[  i-strategies / HerWork.Com ]
[  72 Madison Avenue   12th Floor   New York NY 10016  ]
[  2 1 2 . 6 8 5 . 2 6 8 2  x 2 5 0  ]



_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users