I'm a big fan of strace.

On Mon, Jan 7, 2019 at 11:14 AM Tomas Kuchta <[email protected]>
wrote:

> Hi,
>
> I am having difficulty to debug why CGI scripts are not executed by
> Apache2, again.
>
> Can someone recommend some iteligent, algorithmical and converging way to
> debug this?
>
> There is nothing visible in the logs with CGIs, no error messages, no
> config errors, no obvious file ownership, permission issues.
>
> I am standing up the servers using Ansible, one like the other, repeatably.
> Still, some servers work, some do not. Most of the time, the script execute
> fine upon provisionning, some times the do not. When they do not run, it
> takes days of almost random rebuilds to resolve. Some times .cgi works,
> sometimes .py/php does not. Often helloWorld.cgi runs but not some other
> random.cgi. Usually, what I want/need does not run. I am sick of sinking
> days in this unproductive trial and error...
>
> Any sensible and calm advice?
>
> Thanks, Tomas
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to