RE: verify_install.cgi Problems

From: Charles Daminato (chuck@tucows.com)
Date: Tue Jan 29 2002 - 13:29:09 EST


Two things...

1) Don't cross post! (thank you)
2) I find this happens occasionally when you edit the files on one system,
and then FTP them to another. Make sure you FTP the files via ASCII (or,
try transfering them between two computers in ASCII mode) - since
Unix/Dos/Mac all have different "end of line" characters (one uses \r, one
uses \n, one uses \r\n), extraneous characters can be interpreted literally
by some systems

This gets NT users all the time...

Charles Daminato
OpenSRS Product Manager
Tucows Inc. - chuck@tucows.com

> -----Original Message-----
> From: owner-discuss-list@opensrs.org
> [mailto:owner-discuss-list@opensrs.org]On Behalf Of Jeremy Schwartz
> Sent: January 29, 2002 1:21 PM
> To: discuss-list@opensrs.org; dev-list@opensrs.org
> Subject: verify_install.cgi Problems
>
>
> I am trying to get the CGIs to run on Mac OSX and I am getting
> the following
> errors:
>
> Running from a browser @
> http://www5.starmark.com/cgi-bin/verify_install.cgi
>
> >Internal Server Error
> >The server encountered an internal error or misconfiguration and
> was unable to
> >complete your request.
> >
> >Please contact the server administrator, jeremy@starmark.com and
> inform them of
> >the time the error occurred, and anything you might have done
> that may have
> >caused the error.
> >
> >More information about this error may be available in the server
> error log.
> >
> >------------------------------------------------------------------------
> >Apache/1.3.22 Server at www5.starmark.com Port 80
>
> Here is my perl info:
>
> >[localhost:/Library/WebServer/CGI-Executables] admin% where perl
> >/usr/bin/perl
> >
> >Here is the header of the verify_install.cgi:
> >
> >#!/usr/bin/perl
>
> So it seems like this should work fine. I am on Mac OSX 10.1.2
>
> Running from command line:
>
> >[localhost:/Library/WebServer/CGI-Executables] admin% ls -l
> >total 416
> >-rwxrwxrwx 1 admin admin 5603 Jan 10 16:27 RACE.cgi
> >-rwxr-xr-x 1 admin admin 306 Jan 11 09:24 hello_world.pl
> >-rw-r--r-- 1 admin admin 1712 Dec 23 1999 logo.gif
> >-rwxrwxrwx 1 admin admin 77389 Jan 10 16:26 manage.cgi
> >-rwxrwxr-x 1 root admin 5398 Nov 13 06:42 printenv
> >-rwxrwxrwx 1 admin admin 59332 Jan 10 16:26 reg_system.cgi
> >-rwxrwxrwx 1 admin admin 11115 Jan 10 16:26 register.cgi
> >-rwxrwxrwx 1 admin admin 15418 Jan 10 16:26 renew.cgi
> >-rwxrwxr-x 1 root admin 757 Nov 13 06:41 test-cgi
> >-rwxr-xr-x 1 root admin 3525 Jan 11 10:03 textclock.pl
> >-rwxr-xr-x 1 admin admin 9495 Jan 10 16:26 verify_install.cgi
> >[localhost:/Library/WebServer/CGI-Executables] admin% verify_install.cgi
> >verify_install.cgi: Command not found.
>
> TIA
> ---------------------------------------
> Jeremy Schwartz Starmark
> Interactive Developer
> Jeremy@Starmarkintl.com 954-761-1600
>



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:36:56 EDT