We have two Linode Cloud servers. Both have almost the exact same Ubuntu 14.04 configuration.
But on one of them I cannot get LiveCode server to "fire" the layout is correct and exact match for the server that is working. Permssions are all set properly to 755 and the owner and group are correct. /cgi-bin drivers externals livecode-community-server echo.lc the latter CGI is very simple #!/home/htoday/cgi-bin/livecode-community-server put the keys of $_SERVER into tCGIVars repeat for each line x in tCGIVars put x & ": " & $_SERVER[x] & (" "& cr) after tGlobals end repeat put "Hello, Livecode Server is Up and Running" & " " & tGlobals but we get this in the suexec log: [2016-02-19 14:01:51]: uid: (1000/htoday) gid: (1000/htoday) cmd: echo.lc [2016-02-19 14:01:51]: (2)No such file or directory: exec failed (echo.lc) A small bin/sh cgi is working http://www.hinduismtoday.com/cgi-bin/test-sh.cgi % #!/bin/sh # make Apache happy with the right html content tags echo "Content-Type: text/plain" echo "" echo "testing bin/sh" So there is nothing wrong with sudoers and user ID for and httpd.conf is set up correctly or the sh cgi would also fail. and of course using this in /public_html/.htaccess AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-community-server and a simple .lc file in public_html gets us the same result <?lc # some script here failing with a slightly different but similar error in the suexec log. Instead of saying the script itself cannot be found. it says that LC Server cannot be found... [2016-02-19 14:19:36]: uid: (1000/htoday) gid: (1000/htoday) cmd: livecode-community-server [2016-02-19 14:19:36]: (2)No such file or directory: exec failed (livecode-community-server) Any clues? I've been digging into the logs and Apache2 config files etc until my eyes are weeping...I have a ticket into the Virtualmin support team, but this is pretty mysterious, even for them... since the #!bin/sh works... why not LCserver? it's as if there is some hidden path info/config that is is hiding livecode-community-server _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode