I migrated an entire site from CentOS 6.2 over to a cloud server instance at Linode on Ubuntu 14.4, using VirtualMin's back and restore methods... it went almost flawlessly. Thank you! for that!
Actually all our sites were on one dedicated server before, but this time we put most of them onto one Linode instance (also running Ubuntu 14.4) and the www.hinduismtoday.com site on another separate server/ instance, also using Ubuntu 14.4 and the migration methods for both were exactly the same (I think...) the owner and web user for the www.hinduismtoday.com site is "htoday" which I will use in this thread
We use LiveCode server on both instances... this engine is stored in the cgi-bin and set with perms 755 and acts like PHP... using this in the conf directives or .htaccess file
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-community-server
we can execute any *.lc script
e.g. here is where it is working as expected
and from the public_html also:
on the htoday site I have examined everything minutely and cannot see any difference in my .htaccess files or the httpd.conf directives.
fails and I get this in the suexc log:
[2016-02-12 15:05:34]: uid: (1000/htoday) gid: (1000/htoday) cmd: livecode-community-server
[2016-02-12 15:05:34]: (2)No such file or directory: exec failed (livecode-community-server)
which makes no sense because the livecode-community-server (interpreter) is there... and set to 755. I have examined httpd conf directives on the site where it works
ScriptAlias /cgi-bin/ /home/htoday/cgi-bin/
allow from all
Require all granted
is all that is needed and it works on the first server,
The only anamoly is that the SuexecUserGroup on the sites that work have two different numbers
SuexecUserGroup #1011 #1006
whereas, on the htoday site they are both the same:
SuexecUserGroup "#1000" "#1000"this may be because on the latter site we host 1 and one only virtual server... the first "box" hosts 8 different domains...
FWIW this php also fails but suexec log gives a different reason
[2016-02-12 18:01:19]: uid: (1000/htoday) gid: (1000/htoday) cmd: cat.php
[2016-02-12 18:01:19]: (8)Exec format error: exec failed (cat.php)