I have a working CGI Script that when served in a browser generates a cookie. As I needed to have a very similar script, I've made a copy with slight changes, and renamed the file.
However, although I can run the original fine, when I try to run the new one, I get a blank browser screen. System Error logs show (2)No such file or directory: exec of ... failed.
File permissions/ownerships are the same on the two files, and the filename is correct.