Results 1 to 1 of 1
I just did a new install of Fedora Core 3 and everything is working fine except Perl. First off perl in the cgi-bin will not work but the scripts work ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 1
Perl Problems & Errors
I just did a new install of Fedora Core 3 and everything is working fine except Perl. First off perl in the cgi-bin will not work but the scripts work fine in the command prompt. When running perl in the cgi-bin I get in the error log:
All of my perl scripts get this error. When I change "#!/usr/bin/perl" to "#!/usr/bin/perl -w" the scripts work. I know it's not a chmod problem. When I do the -w option via cgi-bin I get this at the command prompt:[Wed May 04 19:21:42 2005] [error] [client 192.168.0.1] (13)Permission denied: exec of '/var/www/cgi-bin/tester.cgi'$
[Wed May 04 19:21:42 2005] [error] [client 192.168.0.1] Premature end of script headers: tester.cgi
Anyone know whats going on?audit(1115260275.255:0) avc: denied { search } for pid=2940 exe=/usr/bin/perl scontext=user_u:system_r:httpd_sys_script_t tcontext=system_u:object_r:sysctl_kernel_t tclass=dir
audit(1115260275.255:0) avc: denied { search } for pid=2940 exe=/usr/bin/perl name=sys dev=proc ino=268435431 scontext=user_u:system_r:httpd_sys_script_t tcontext=system_u:object_r:sysctl_t tclass=dir
audit(1115260275.255:0) avc: denied { read } for pid=2940 exe=/usr/bin/perl name=tmp dev=dm-0 ino14073990 scontext=user_u:system_r:httpd_sys_script_t tcontext=system_u:object_r:tmp_t tclass=lnk_file


Reply With Quote
