ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Chiliproject starts but is stopped when I quit shell script console (linux centOS 6)

Added by Nicolas F at 2012-08-06 10:49 am

Hi,

I'm on centOS 6, and juste have installed chiliproject 3.3.0 for my company.
I tried to launch chiliproject with 'bundle exec script/server -e production' and get this :

$ bundle exec script/server -e production
=> Booting WEBrick
=> Rails 2.3.14 application starting on http://0.0.0.0:3000
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/chili/.rvm/gems/ree-1.8.7-2012.02/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
=> Call with -d to detach
=> Ctrl-C to shutdown server

[2012-08-06 10:29:11] INFO WEBrick 1.3.1
[2012-08-06 10:29:11] INFO ruby 1.8.7 (2012-02-08) [x86_64-linux]
[2012-08-06 10:29:11] INFO WEBrick::HTTPServer#start: pid=6245 port=3000

Everything is ok, chiliproject is running on <MY_SERVER_IP>:3000/
But as you can see 'Ctrl-C to shutdown server'

And it is said 'Call with -d to detach'
Then I tried the followin command :
$ bundle exec script/server -d production
and got this :

$ bundle exec script/server -d production
=> Booting WEBrick
=> Rails 2.3.14 application starting on http://0.0.0.0:3000

But I can't access chiliproject on <MY_SERVER_IP>:3000/ chiliproject seems not to run.

Thanks for your help


Replies (5)

RE: Chiliproject starts but is stopped when I quit shell script console (linux centOS 6) - Added by Andrew Smith at 2012-08-06 12:27 pm

When you run with -d and before toy close the console can you access the site?

For a production site though you shouldn't be running using webrick. Something like Apache2 and mod_passenger will give much better performance.

RE: Chiliproject starts but is stopped when I quit shell script console (linux centOS 6) - Added by Nicolas F at 2012-08-06 01:56 pm

When you run with -d and before toy close the console can you access the site?

No I can't access the site.

For a production site though you shouldn't be running using webrick. Something like Apache2 and mod_passenger will give much better performance.

I will have a look to another way to run chiliproject, I didn't know webrick was just for tests. Thank you for your remark.

RE: Chiliproject starts but is stopped when I quit shell script console (linux centOS 6) - Added by Andrew Smith at 2012-08-06 02:06 pm

You should be able to get most of the information from https://www.chiliproject.org/projects/chiliproject/wiki/Installation_on_CentOS_5#Install-Passenger

If you want to host it under a sub-url then you might need to take parts from here too - https://www.chiliproject.org/projects/chiliproject/wiki/Installation_on_Ubuntu_10_10_v1#Variant-2-Install-ChiliProject-in-a-sub-URL

With -d you should still be able to access the site. When I get a bit of tome I'll check to see what's happening there.

RE: Chiliproject starts but is stopped when I quit shell script console (linux centOS 6) - Added by Andrew Smith at 2012-08-06 02:15 pm

Nicolas F wrote:

$ bundle exec script/server -d production

I think the problem here is that you're missing the -e in the command before production.

RE: Chiliproject starts but is stopped when I quit shell script console (linux centOS 6) - Added by Nicolas F at 2012-08-06 06:32 pm

As you said, everything is ok when I use passenger.
Thanks
Nicolas

(1-5/5)