Strange Internal Server Error (on my 3rd VPS)

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, webmaster@floraforce.nl 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 94.210.0.146] 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 94.210.0.146] Can't use an undefined value as a symbol reference at ff.cgi line 118. [Fri Nov 07 18:14:38 2014] [error] [client 94.210.0.146] Premature end of script headers: ff.cgi [Fri Nov 07 18:14:38 2014] [error] [client 94.210.0.146] 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/ total 3388 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 root@server [/usr/local/apache/logs]#

Anyone have a clue?

Thanks in advance !!

Richard

Missing 32-bit libs?

Hi Greg, that was indeed part of the problem. I ended up by using a clone of my working VPS servers and using a cgi of an earlier version of Xojo.