I have a perl script that I execute from php when a user requests a certain time period.
The perl script builds a list via ls and append (>>) (has to because the list is so long) and then runs a program called cdf2d2cfag_list, which is where the error is...
Ok, it runs the ls list builder then cdf2d2cfad_list uses that list as input to build a special data file. However, when the perl script tries to execute the program, it returns this error:
ksh: /home/disk/user_www/dpodhola/cdf2d2cfad_list: cannot execute
So, I moved the execution of the program into the php code and out of the perl to see what happened. Same thing, but different shell:
sh: /home/disk/user_www/dpodhola/cdf2d2cfad_list: cannot execute
I tried giving it 777 permissions and it still didn't work. Does anyone know why my C program won't execute?