Hi All, Gitorious was running on my CentOS yesterday and I had manually started all the services and this morning, I added those to chkconfig and got them to run in this order :
service git-ultrasphinx start service stomp start service memcached start service gitorious-poller start service git-daemon start service httpd restart according to http://gitorious.org/gitorious/pages/Rhel_Installation However, after a reboot , it stopped working. An earlier post on the same topic resulted in SElinux being turned off and its the case here. The apache log shows me this : [Sun Apr 17 00:56:02 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations *** Exception Errno::EACCES in PhusionPassenger::Railz::ApplicationSpawner (Permission denied - /var/ www/gitorious/log/message_processing.log) (process 4523): from /var/www/gitorious/vendor/rails/activesupport/lib/ active_support/buffered_logger.rb:48:in `initialize' from /var/www/gitorious/vendor/rails/activesupport/lib/ active_support/buffered_logger.rb:48:in `open' from /var/www/gitorious/vendor/rails/activesupport/lib/ active_support/buffered_logger.rb:48:in `initialize' from /var/www/gitorious/app/processors/application.rb:23:in `new' from /var/www/gitorious/app/processors/application.rb:23:in `logger' from /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging.rb:68:in `load_processors' from /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging.rb:66:in `each' from /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging.rb:66:in `load_processors' from /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging.rb:88:in `load_activemessaging' from /var/www/gitorious/vendor/plugins/activemessaging/lib/ activemessaging.rb:115 from /var/www/gitorious/vendor/rails/activesupport/lib/ active_support/dependencies.rb:158:in `require' from /var/www/gitorious/vendor/rails/activesupport/lib/ active_support/dependencies.rb:158:in `require' from /var/www/gitorious/vendor/plugins/activemessaging/init.rb: 2:in `evaluate_init_rb' from /var/www/gitorious/vendor/rails/railties/lib/rails/ plugin.rb:158:in `evaluate_init_rb' from /var/www/gitorious/vendor/rails/activesupport/lib/ active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' from /var/www/gitorious/vendor/rails/railties/lib/rails/ plugin.rb:154:in `evaluate_init_rb' from /var/www/gitorious/vendor/rails/railties/lib/rails/ plugin.rb:48:in `load' from /var/www/gitorious/vendor/rails/railties/lib/rails/plugin/ loader.rb:38:in `load_plugins' from /var/www/gitorious/vendor/rails/railties/lib/rails/plugin/ loader.rb:37:in `each' from /var/www/gitorious/vendor/rails/railties/lib/rails/plugin/ loader.rb:37:in `load_plugins' from /var/www/gitorious/vendor/rails/railties/lib/ initializer.rb:369:in `load_plugins' from /var/www/gitorious/vendor/rails/railties/lib/ initializer.rb:165:in `process' from /var/www/gitorious/vendor/rails/railties/lib/ initializer.rb:113:in `send' from /var/www/gitorious/vendor/rails/railties/lib/ initializer.rb:113:in `run' from ./config/environment.rb:15 from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/railz/application_spawner.rb:303:in `require' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/railz/application_spawner.rb:303:in `preload_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/railz/application_spawner.rb:252:in `initialize_server' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/utils.rb:230:in `report_app_init_status' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/railz/application_spawner.rb:237:in `initialize_server' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server.rb:193:in `start_synchronously' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server.rb:162:in `start' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/railz/application_spawner.rb:213:in `start' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server_collection.rb:80:in `synchronize' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server_collection.rb:79:in `synchronize' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/spawn_manager.rb:153:in `spawn_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server.rb:351:in `__send__' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server.rb:351:in `main_loop' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/ phusion_passenger/abstract_server.rb:195:in `start_synchronously' from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin/passenger- spawn-server:61 Also, one other thing is that I am unable to run a startup script to run stompserver taking the parameters from the /etc/stompserver.conf file. The error I get when the script does the following : /bin/su - git -c "cd /var/www/gitorious; RAILS_ENV=production; stompserver -C /etc/stompserver.conf $@" is : stop Changing group to stomp. FAILED to change user:group stomp:stomp: Operation not permitted So i ran that as root. Can that cause a problem ? Thanks Ranjan -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
