egards everybody
just subscribed, and as always for simple reason - a problem
as in subject, php is just fine but perl script, apache does not implement suexec, apache uses fcgid_module (static)
whereas below lines are fine from within shell, apache+fcgid do not want to work

#! /usr/bin/perl
use FCGI;
my $request = FCGI::Request();
while($request->Accept() >= 0)
{
   print "Content-type: text/html\n\n";
   print "<H1><b>Hello World!</b></H1>";
}
exit 0;

causes following line to appear in logs:
[Fri Apr 25 10:28:43 2008] [info] mod_fcgid: /opt/var/www/forum/check-perl.pl spawn score 13 >= 10, skip the spawn request [Fri Apr 25 10:28:44 2008] [info] mod_fcgid: /opt/var/www/forum/check-perl.pl spawn score 12 >= 10, skip the spawn request [Fri Apr 25 10:28:47 2008] [notice] mod_fcgid: process /opt/var/www/forum/check-perl.pl(10203) exit(server exited), terminated by calling exit(), return code: 255
and..
[Fri Apr 25 10:28:41 2008] [debug] arch/unix/fcgid_proc_unix.c(525): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /opt/etc/httpd/run/mod_fcgid/10007.17 [Fri Apr 25 10:28:42 2008] [debug] arch/unix/fcgid_proc_unix.c(525): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /opt/etc/httpd/run/mod_fcgid/10007.18 [Fri Apr 25 10:28:44 2008] [warn] mod_fcgid: can't apply process slot for /opt/var/www/forum/check-perl.pl

I even changed parent folder's (where socket files are kept) permissions to a+rw, it was o+rwx,a-rwx, did not help
please advise
cheers


                
___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to