1752676 Members
6171 Online
108789 Solutions
New Discussion юеВ

unix and cgi scripts

 
Shibin_2
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
Shibin_2
Honored Contributor

Re: unix and cgi scripts

How can I debug this script? Can we debug the UNIX script using external tools ?
Regards
Shibin
Dennis Handly
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.