Ik know, this topic has been covered several times in the forum but I hope maybe someone can give me some clue. I have developed and deployed several Xojo apps on my 2 VPS CentOS servers (server1/server2). Recently I got a third server (server3) that is configured exactly the same as my other 2 servers and looks identical (compared with WHM and CPanel application).
The problem is that my application ‘ff’ (build with Xojo) does not launch on server3. It results in an Internal Server Error.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at www.floraforce.nl Port 80
I set all permissions as usually, checked .htaccess and my config.cfg. If I deploy the exact same application on server1 or server2 it just launches and runs fine.
I have looked into the error_log of Apache:
[Fri Nov 07 18:14:38 2014] [error] [client 18.104.22.168] Can't exec "/home/ff/public_html/cgi-bin/ff/ff": No such file or directory at ff.cgi line 186.
[Fri Nov 07 18:14:38 2014] [error] [client 22.214.171.124] Can't use an undefined value as a symbol reference at ff.cgi line 118.
[Fri Nov 07 18:14:38 2014] [error] [client 126.96.36.199] Premature end of script headers: ff.cgi
[Fri Nov 07 18:14:38 2014] [error] [client 188.8.131.52] File does not exist: /home/ff/public_html/500.shtml
It says the ‘ff’ binary missing but it sits there just fine:
root@server [/usr/local/apache/logs]# ll /home/ff/public_html/cgi-bin/ff/
drwxr-xr-x 3 ff ff 4096 Nov 7 17:55 ./
drwxr-xr-x 3 ff ff 4096 Nov 7 04:20 ../
-rw-r--r-- 1 ff ff 50 Nov 7 17:59 config.cfg
-rwxr-xr-x 1 ff ff 3437984 Nov 5 22:17 ff*
-rwxr-xr-x 1 ff ff 7023 Aug 4 13:07 ff.cgi*
drwxr-xr-x 2 ff ff 4096 Nov 7 04:23 ff\\ Libs/
-rw-r--r-- 1 ff ff 86 Aug 4 13:07 .htaccess
Anyone have a clue?
Thanks in advance !!