Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

CGIWrap Error: Script Execution Failed

Quote Reply
CGIWrap Error: Script Execution Failed
Look what appears to me at www.harrylatino.com/lasnitch/admin/admin.cgi. What can I do to rapair it? CGIWrap Error: Script Execution Failed

CGIWrap encountered an error while attempting to execute this script: Error Message: No such file or directory Error Number: 2 This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server.

If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/.




Local Information and Documentation:

Contact Name: Administrator Contact EMail: admin

Server Data:

Server Administrator/Contact: site6 Server Name: www.harrylatino.com Server Port: 80 Server Protocol: HTTP/1.1

Request Data:

User Agent/Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Request Method: GET Remote Address: 24.232.173.54 Remote Port: 59212 Extra Path Info: /lasnitch/admin/admin.cgi Referring Page: http://www.harrylatino.com/lasnitch/admin/
Quote Reply
Re: [harrylatino] CGIWrap Error: Script Execution Failed In reply to
Check the path to Perl at the top of all the .cgi scripts. It will most likely be #!/usr/local/bin/perl or #!/usr/bin/perl.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] CGIWrap Error: Script Execution Failed In reply to
It's #!/usr/bin/perl