[Fri Feb 19 08:55:41 2016] [error] [client 172.16.30.100] FastCGI: ser +ver "/home/admin/soap/server.fcgi" stderr: HTTP::Message content must + be bytes at /usr/local/lib/perl5/site_perl/5.8.9/SOAP/Transport/HTTP +.pm line 317 [Fri Feb 19 08:55:41 2016] [error] [client 172.16.30.100] FastCGI: inc +omplete headers (0 bytes) received from server "/home/admin/soap/serv +er.fcgi" [Fri Feb 19 08:55:41 2016] [warn] FastCGI: server "/home/admin/soap/se +rver.fcgi" (pid 45466) terminated by calling exit with status '255'

I am using FREEBSD 6.4. I know this is an old release but the vendor app I am using was built on this OS. Upgrading would cost money I do not want to spend. This error is causing apache / fastcgi to restart constantly.

[Fri Feb 19 08:56:02 2016] [warn] FastCGI: server "/home/admin/soap/se +rver.fcgi" has failed to remain running for 30 seconds given 3 attemp +ts, its restart interval has been backed off to 600 seconds [Fri Feb 19 08:56:02 2016] [warn] FastCGI: server "/home/admin/soap/se +rver.fcgi" has failed to remain running for 30 seconds given 3 attemp +ts, its restart interval has been backed off to 600 seconds [Fri Feb 19 08:56:03 2016] [notice] caught SIGTERM, shutting down [Fri Feb 19 08:56:05 2016] [notice] FastCGI: process manager initializ +ed (pid 45867) [Fri Feb 19 08:56:05 2016] [warn] FastCGI: server "/home/admin/soap/se +rver.fcgi" started (pid 45868) [Fri Feb 19 08:56:05 2016] [notice] Apache configured -- resuming norm +al operations
Here is line 317 of HTTP.pm I appreciate any input on a fix.
$self->response(HTTP::Response->new( $code => undef, HTTP::Headers->new( 'SOAPServer' => $self->product_tokens, $compressed ? ( 'Content-Encoding' => $COMPRESS) : (), 'Content-Type' => join( '; ', 'text/xml', !$SOAP::Constants::DO_NOT_USE_CHARSET && $encoding ? 'cha +rset=' . lc($encoding) : () ), 'Content-Length' => SOAP::Utils::bytelength $response), $response, )); $self->response->headers->header('Content-Type' => 'Multipart/Related; + type="text/xml"

In reply to HTTP::Message content must be bytes at by mcp8512

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.