On Aug 12, 2011, at 1:13 PM, Marek Dohojda wrote: > Hello > > I have a running puppet and passenger (2.6.8) running on RHEL5. I installed > dashboard and configured it, and all that is working as well. However I > don't want to run webrick I want to put dashboard under passenger with apache. > > I have done the conf change to add virtual host, and changed it to run under > port 3000 (as default). > > Everything start correctly, but that's as far as I can get. When I go to the > server port 3000 I get default apache web page (due to there not being > index.html nor any app running). I followed another instructions which said > to add this for RHEL: > > SetEnv RAILS_ENV production > RackBaseURI / > > This allowed me to get ruby error screen instead of default apache test page. > However I go an error "file not found" config.ru. I copied config.ru to > /usr/share/puppet-dashboard/ from ( > /usr/share/puppet-dashboard/vendor/rails/railties/dispatches/config.ru) which > was only place I found config.ru within dashboard. > Now I am getting following: > Exception NoMethodError in PhusionPassenger::Rack::ApplicationSpawner > (undefined method `requirement' for #<Rails::GemDependency:0x2aaaab325908>) > (process 24074): > > And at this point I am stuck. I bet I am missing something probably simple > but I can't figure out what. > > I am including my conf for passanger below: > PassengerHighPerformance on > PassengerMaxPoolSize 12 > PassengerPoolIdleTime 1500 > # PassengerMaxRequests 1000 > PassengerStatThrottleRate 120 > RailsAutoDetect On ---- I've got the above lines inside my <VirtualHost > declaration
I also have PassengerUseGlobalQueue on ---- > Listen 3000 > <VirtualHost *:3000> > ServerName <servername> > DocumentRoot /usr/share/puppet-dashboard/public/ > SetEnv RAILS_ENV production > RackBaseURI / > <Directory /usr/share/puppet-dashboard/public/> > Options None > AllowOverride AuthConfig > Order allow,deny > allow from all ---- I have Options -Multiviews here inside the <Directory > declaration ---- > </Directory> > ErrorLog /var/log/httpd/dashboard_error.log > LogLevel warn > CustomLog /var/log/httpd/dashboard_access.log combined > ServerSignature On > </VirtualHost> > > I hope someone can point me in the right direction. > Thank you! ---- not sure but this may help Craig -- 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.
