cancel
Showing results for
Did you mean:

Re: unix and cgi scripts

Honored Contributor

Re: unix and cgi scripts

Yes, I did restart the apache. Unfortunately, nothing is visible in the browser. When I click the action button, neither goes to next page nor try to load the page. So, I cannot determine what is exactly happening. Also, I have created a log file to generate the event, but it only update the time stamps, whenever I clicks. So, there is no hopeful things, I can't get for troubleshooting.
Regards
Shibin
Honored Contributor

Re: unix and cgi scripts

How can I debug this script? Can we debug the UNIX script using external tools ?
Regards
Shibin
Acclaimed Contributor

Re: unix and cgi scripts

>How can I debug this script? Can we debug the UNIX script using external tools?

You can use a perl debugger. You can add prints to the script to see where you are.

Or you could try tusc to see what system calls the script is making. This is useful to see what files are being opened, processes created, etc.