Ok, checked the SELinux status:
# cat /selinux/enforce
1
was set to enforcing, did the following:
# echo 0 >/selinux/enforce
It now writes the files and no longer gets the "could not open socket" error.
Now it is timing out on the DNS Resolver, httpd log:
[Wed Apr 08 10:51:09 2009] [error] [client 209.18.32.79] Name "main::r
+everse" used only once: possible typo at /var/www/cgi-bin/ipsectest/i
+psectest.pl line 98., referer: http://inoc.cdptpa.rr.com/tools/ipsect
+est.html
[Wed Apr 08 10:53:09 2009] [warn] [client 209.18.32.79] Timeout waitin
+g for output from CGI script /var/www/cgi-bin/ipsectest/ipsectest.pl,
+ referer: http://inoc.cdptpa.rr.com/tools/ipsectest.html
[Wed Apr 08 10:53:09 2009] [error] [client 209.18.32.79] (70007)The ti
+meout specified has expired: ap_content_length_filter: apr_bucket_rea
+d() failed, referer: http://inoc.cdptpa.rr.com/tools/ipsectest.html
Changed the Resolvers nameserver variable and the output is fine now.
SELinux apparently was the culprit. Thanks for the help. |