Gossamer Forum
Quote Reply
Error # 2
After I set the permissions for the files/directories, and try to run the admin.cgi, i get an error saying the script can't find a file, but it won't tell me which one. I am sure I have every file in place and chmoded right. I edited the links.cfg to match the server paths. Is there anything I'm missing?

Quote Reply
Re: Error # 2 In reply to
Can you post the exact error message you received? Have you uploaded your files in ASCII, did you re-check your file permissions and paths?

Thomas
http://www.japanreference.com
Quote Reply
Re: Error # 2 In reply to
Its on a RaQ box. I added the fix from the forums for the Cobalt RaQs too. I'm sure the files uploaded in ASCII and permissions are set.

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.

Quote Reply
Re: Error # 2 In reply to
Do you have the correct location of Perl set in all the CGI files?

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Error # 2 In reply to
On RAQs this tends to mean that you did not chmod the script to 755 or your path to perl isnt correct.

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Error # 2 In reply to
Yes, I'm sure the perl location is correct. I didn't have to change the location of it in my other cgi scripts on the server. I'm sure I have chmoded all the files properly too.

Quote Reply
Re: Error # 2 In reply to
Please post the EXACT error here.... Cool

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Error # 2 In reply to
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.

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/.


I can't figure out which file it can't find. all the files that were in the zip file are installed and chmoded.


Quote Reply
Re: Error # 2 In reply to
Does your FTP client automatically change the case of the files (i.e has Template.pm been changed to template.pm?).

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Error # 2 In reply to
Check your paths in links.cfg

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)