|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: CGI script connecting via terminal but not via browserby nkrgupta (Novice) |
| on Sep 18, 2012 at 10:44 UTC ( #994255=note: print w/ replies, xml ) | Need Help?? |
|
Thanks moritz. I am reading up on selinux now which seems to be enabled on my system, and might be a possible cause. The log file at /var/log/audit/audit.log shows the following entry among other type=AVC msg=audit(1347964714.394:62458): avc: denied { name_connect } for pid=14917 comm="my_script.cgi" dest=3306 scontext=root:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:mysqld_port_t:s0 tclass=tcp_socket
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||