For quite a long time now, we've intermittently been receiving Error 500
when doing puppet runs. There's nothing bad in the puppetmaster log, but
the Apache log on the puppetmaster shows a segfault (see below). Any
ideas for debugging/fixing this?
Thanks,
Jonathan
[jg4461@radius03 ~]$ sudo puppet agent -t
Notice: Ignoring --listen on onetime run
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Loading facts
Warning: The package type's allow_virtual parameter will be changing its
default value from false to true in a future release. If you do not want
to allow virtual packages, please explicitly set allow_virtual to false.
(at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')
Error: Could not retrieve catalog from remote server: Error 500 on
SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at puppet Port 8140</address>
</body></html>
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[Thu Oct 02 12:42:04 2014] [error] [client 137.222.7.114] Premature end
of script headers:
radius03.nomadic-core.bris.ac.uk
[ pid=7969 thr=140310963910624 file=ext/apache2/Hooks.cpp:841
time=2014-10-02 12:42:04.312 ]: The backend application (process 16160)
did not send a valid HTTP response; instead, it sent nothing at all. It
is possible that it has crashed; please check whether there are crashing
bugs in this application.
/usr/lib/ruby/1.8/pathname.rb:286: [BUG] Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]