title: Unable to start the Phusion Passenger logging agent: it seems to have been killed with signal SIGKILL during startup
body: <p>While starting Passenger with apache, I am getting the following error:</p>
  
  <pre><code>[ 2014-09-29 08:35:08.7694 18178/7f4ed722d700 apache2/Hooks.cpp:1303 ]: Initializing Phusion Passenger...
  [ 2014-09-29 08:35:08.7806 18179/7fc2336a7720 agents/Base.cpp:1591 ]: Random seed: 1411994108
  [ 2014-09-29 08:35:08.7807 18179/7fc2336a7720 agents/Watchdog/Main.cpp:698 ]: Starting Watchdog...
  [ 2014-09-29 08:35:08.7809 18179/7fc2336a7720 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' =&gt; 'nobody', 'default_group' =&gt; 'puppet', 'default_python' =&gt; 'python', 'default_ruby' =&gt; '/usr/bin/ruby', 'default_user' =&gt; 'puppet', 'log_level' =&gt; '3', 'max_pool_size' =&gt; '6', 'passenger_root' =&gt; '/usr/lib/ruby/gems/1.8/gems/passenger-4.0.52', 'passenger_version' =&gt; '4.0.52', 'pool_idle_time' =&gt; '300', 'prestart_urls' =&gt; 'aHR0cHM6Ly9kZXYtcHVwcGV0Y2EuYm55bWVsbG9uLm5ldC91c3Ivc2hhcmUvcHVwcGV0L3JhY2svcHVwcGV0bWFzdGVyZC9wdWJsaWMA', 'temp_dir' =&gt; '/var/log/httpd', 'union_station_gateway_address' =&gt; 'gateway.unionstationapp.com', 'union_station_gateway_port' =&gt; '443', 'user_switching' =&gt; 'true', 'web_server_passenger_version' =&gt; '4.0.52', 'web_server_pid' =&gt; '18178', 'web_server_type' =&gt; 'apache', 'web_server_worker_gid' =&gt; '2', 'web_server_worker_uid' =&gt; '2' }
  [ 2014-09-29 08:35:08.8074 18182/7ff9c2f6b720 agents/Base.cpp:1591 ]: Random seed: 1411994108
  [ 2014-09-29 08:35:08.8076 18182/7ff9c2f6b720 agents/HelperAgent/Main.cpp:643 ]: Starting PassengerHelperAgent...
  [ 2014-09-29 08:35:08.8156 18182/7ff9c2f6b720 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/var/log/httpd/passenger.1.0.18178/generation-0/request
  [ 2014-09-29 08:35:08.8308 18187/7f4b9962c7e0 agents/Base.cpp:1591 ]: Random seed: 1411994108
  [ 2014-09-29 08:35:08.8312 18187/7f4b9962c7e0 agents/LoggingAgent/Main.cpp:333 ]: Starting PassengerLoggingAgent...
  **[Mon Sep 29 08:35:09.859284 2014] [passenger:error] [pid 18178:tid 139976593561344] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: **Unable to start the Phusion Passenger logging agent: it seems to have been killed with signal SIGKILL during startup****
  </code></pre>
  
  <p>I could find the PassengerLoggingAgent in this location:
  <code>./usr/lib/ruby/gems/1.8/gems/passenger-4.0.52/buildout/agents/PassengerLoggingAgent</code></p>
  
  <p>I did a Gem install of Passenger and the build ran fine.</p>
  
  <p>Environment:
  RHEL 6.4
  Passenger Version: 4.0.52
  Apache: 2.4.2</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>httpd.conf:
   LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-4.0.52/buildout/apache2/mod_passenger.so
     &lt;IfModule mod_passenger.c&gt;
       PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.52
       PassengerDefaultRuby /usr/bin/ruby
       PassengerLogLevel 3
       PassengerUser puppet
       PassengerGroup puppet
       PassengerDefaultUser puppet
       PassengerDefaultGroup puppet
       PassengerFriendlyErrorPages on
       PassengerTempDir /var/log/httpd
       PassengerSpawnMethod direct
       PassengerStartTimeout 500
       PassengerPreStart https://myserver.com/usr/share/puppet/rack/puppetmasterd/public
     &lt;/IfModule&gt;
  
  conf.d
  PassengerMaxPoolSize 12
  # Recycle master processes after they service 1000 requests
  PassengerMaxRequests 1000
  # Stop processes if they sit idle for 10 minutes
  PassengerPoolIdleTime 600
  
  Listen 8140
  &lt;VirtualHost *:8140&gt;
      # Make Apache hand off HTTP requests to Puppet earlier, at the cost of
      # interfering with mod_proxy, mod_rewrite, etc. See note below.
      PassengerHighPerformance On
  
      ServerName myserver.com
  
      SSLEngine On
  
      # Only allow high security cryptography. Alter if needed for compatibility.
      SSLProtocol ALL -SSLv2 -SSLv3
      SSLCipherSuite EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
      SSLHonorCipherOrder     on
  
      SSLCertificateFile      /var/lib/puppet/ssl/certs/myserver.com.pem
      SSLCertificateKeyFile   /var/lib/puppet/ssl/private_keys/myserver.com.pem
      SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem
      SSLCACertificateFile    /var/lib/puppet/ssl/ca/ca_crt.pem
      SSLCARevocationFile     /var/lib/puppet/ssl/ca/ca_crl.pem
      SSLCARevocationCheck        chain
      SSLVerifyClient         optional
      SSLVerifyDepth          1
      SSLOptions              +StdEnvVars +ExportCertData
  
      # Apache 2.4 introduces the SSLCARevocationCheck directive and sets it to none
          # which effectively disables CRL checking. If you are using Apache 2.4+ you must
      # specify 'SSLCARevocationCheck chain' to actually use the CRL.
  
      # These request headers are used to pass the client certificate
      # authentication information on to the puppet master process
      RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
      RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
      RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
  
      DocumentRoot /usr/share/puppet/rack/puppetmasterd/public
      PassengerAppRoot /usr/share/puppet/rack/puppetmasterd
  
      &lt;Directory /usr/share/puppet/rack/puppetmasterd/&gt;
        Options None
        AllowOverride all
        # Apply the right behavior depending on Apache version.
        &lt;IfVersion &lt; 2.4&gt;
          Order allow,deny
          Allow from all
        &lt;/IfVersion&gt;
        &lt;IfVersion &gt;= 2.4&gt;
          Require all granted
        &lt;/IfVersion&gt;
        Options -MultiViews
      &lt;/Directory&gt;
  
      &lt;Directory /usr/share/puppet/rack/puppetmasterd/public &gt;
        Options None
        AllowOverride all
        # Apply the right behavior depending on Apache version.
        &lt;IfVersion &lt; 2.4&gt;
          Order allow,deny
          Allow from all
        &lt;/IfVersion&gt;
        &lt;IfVersion &gt;= 2.4&gt;
          Require all granted
        &lt;/IfVersion&gt;
        Options -MultiViews
      &lt;/Directory&gt;
  
      ErrorLog /var/log/httpd/myserver.com_ssl_error.log
      CustomLog /var/log/httpd/myserver.com_ssl_access.log combined
  &lt;/VirtualHost&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Can someone please help to resolve this?</p>