Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FastCGI help needed for http server 5.1 on OS/390 2.7

0 views
Skip to first unread message

Jon Veencamp

unread,
May 31, 2000, 3:00:00 AM5/31/00
to
Help!

Any and all advice GREATLY appreciated here!

I've got some perl cgi scripts that are running incredibly slow when we
moved them to MVS. My perception is that CGI performance on OS/390 is very
poor. But, the manual says I can use fastcgi and this looks promising.
However I am having issues getting it going. I've downloaded the fastcgi
developers kit and perl module and recompiled those without any errors I
noticed. I have addred the appropriate /etc/httpd.conf entries. However I
cannot get any perl CGI's to run (and I haven't tried any other languages).
The error message I get is:

IMW0364E FastCGI initialization failed, errno= 130, errno2= 0b1b0c27.

This error message is spit out every two seconds as the server continually
tries to restart the process.

I would go to the fastcgi forums, but some things on MVS
(/etc/lgw_fcgi.conf) appear to be different than other platforms. Also, the
above is a IBM error message.

This is when I try to load tiny.pl with this in /etc/lgw_fcgi.conf
Local

Exec /usr/lpp/internet/server_root/pub/fedbin/tiny.fpl
Role Responder
URL /fcgi-bin/tiny.fpl
Port 16888

Tiny.fpl looks like so:
#!/usr/local/bin/perl
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
if $running_under_some_shell;
use FCGI; # Imports the library; required line
# Initialization code
$cnt = 0;
# Response loop
while (FCGI::accept >= 0)

print "Content-type: text/html\r\n\r\n";
print "<head>\n<title>FastCGI Demo Page (perl)</title>\n</head>\n";
print "<h1>FastCGI Demo Page (perl)</h1>\n";
print "This is coming from a FastCGI server.\n<BR>\n";
print "Running on <EM>$ENV{SERVER_NAME}</EM> to
<EM>$ENV{REMOTE_HOST}</EM>\n<BR>\n";
$cnt++;
print "This is connection number $cnt\n";
}

Thanks for any help!
Jon Veencamp


0 new messages