Hi Den,

I tried downgrading Puppet as well as Passenger to 2.2.15 but I still
get the Passenger error page.  It seems to me that something else is
going on.  Below is the stacktrace that appears in the error page.  Is
it normal that Puppet is trying to "daemonize" the process when
running in Apache?

The application is failing at

  # Put the daemon into the background.
  def daemonize
    if pid = fork
      Process.detach(pid)
      exit(0)
    end


0       /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb    19      in `exit'
1       /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb    19      in `daemonize'
2       /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb        105     
in
`main'
3       /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb        46      
in
`run_command'
4       /usr/lib/ruby/site_ruby/1.8/puppet/application.rb       287     in `run'
5       /usr/lib/ruby/site_ruby/1.8/puppet/application.rb       393     in
`exit_on_fail'
6       /usr/lib/ruby/site_ruby/1.8/puppet/application.rb       287     in `run'
7       config.ru       21
8       /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb      46      
in
`instance_eval'
9       /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb      46      
in
`initialize'
10      config.ru       1       in `new'
11      config.ru       1

On May 4, 7:59 pm, Denmat <[email protected]> wrote:
> Hi,
>
> I haven't tested puppet/passengerwith those versions ofpassenger/rake but 
> they appear high to me.
>
> I use 2.1x ofpassengerand 1.1 of rake (cant remember exact versions). Higher 
> versions did not work.
>
> This may or may not be your particular issue as I currently run 2.6.4 of 
> puppet.
>
> Cheers,
> Den
>
> On 05/05/2011, at 7:51,PBWebGuy<[email protected]> wrote:
>
> > I have been through all of the instructions for setting up a
> > PuppetMaster usingPassenger.  At the present time, when I access
> >PassengerI receive thePassengerError page with the message "The
> > application has exited during startup (i.e. during the evaluation of
> > config/environment.rb)".  I've looked at the log files and there is
> > nothing obvious.
>
> > When I run puppetmaster everything is working with a 2nd node.  Then
> > when I switch over toPassenger, I get the error.
>
> > Any suggestions?
>
> > Thanks,
>
> > John
>
> > Here is some of my configuration information:
>
> > ------------
> > config.ru
>
> > # a config.ru, for use with every rack-compatible webserver.
> > # SSL needs to be handled outside this, though.
>
> > # if puppet is not in your RUBYLIB:
> > # $:.unshift('/opt/puppet/lib')
>
> > $0 = "master"
>
> > # if you want debugging:
> > # ARGV << "--debug"
> > ARGV << "--debug"
>
> > #ARGV << "--rack"
> > require 'puppet/application/master'
> > # we're usually running inside a Rack::Builder.new {} block,
> > # therefore we need to call run *here*.
> > run Puppet::Application[:master].run
> > -----------
>
> > *** LOCAL GEMS ***
>
> > daemon_controller (0.2.6)
> > fastthread (1.0.7)
> >passenger(3.0.7)
> > rack (1.2.2)
> > rake (0.8.7)
>
> > Running Puppet 2.6.7
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Puppet Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to