# Mongrel\_Cluster Issue on Ubuntu 6.10 using Radiant

**URL:** <https://www.ruby-forum.com/t/mongrel-cluster-issue-on-ubuntu-6-10-using-radiant/108698>\
**Category:** Radiant CMS\
**Created:** [July 6, 2007, 5:16am UTC](https://www.ruby-forum.com/t/mongrel-cluster-issue-on-ubuntu-6-10-using-radiant/108698 "2007-07-06T05:16:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [July 6, 2007, 5:16am UTC](https://www.ruby-forum.com/t/mongrel-cluster-issue-on-ubuntu-6-10-using-radiant/108698/1 "2007-07-06T05:16:59Z")

</div>

I have installed the latest version of Radiant using

$ sudo gem install --include-dependencies radiant  
$ sudo radiant --database mysql /var/www/radiant

Edit config/database.yml as required.  
$ sudo nano config/database.yml

Run the database bootstrap rake task:  
$ sudo rake production db:bootstrap

Migrate and initialise DB:  
$ sudo rake db:migrate

Start it like a normal Rails application. To test execute:  
$ sudo script/server -e production

Open a Web browser on port 3000  
=\> [http://192.168.100.20:3000](http://192.168.100.20:3000)

It works to here, however once I use Crtl-C and then re-initialise it  
using

$ sudo mongrel\_rails start

The styled site (option 3) loads OK but if I try to access any of the  
three  
default posts, the page then loads the /admin/login page instead of the  
particular post.

I have reloaded this again from scratch with the same result.

Any ideas what is occurring?

Regards, Ben.

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [July 6, 2007, 5:22am UTC](https://www.ruby-forum.com/t/mongrel-cluster-issue-on-ubuntu-6-10-using-radiant/108698/2 "2007-07-06T05:22:00Z")

</div>

Did you type

$ sudo rake db:migrate

when you should have run

$ sudo rake production db:migrate

Matt Parrish  
[http://www.pearware.org](http://www.pearware.org)

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [July 6, 2007, 5:40am UTC](https://www.ruby-forum.com/t/mongrel-cluster-issue-on-ubuntu-6-10-using-radiant/108698/3 "2007-07-06T05:40:01Z")

</div>

Hi Matt,

Thanks for that, I reran both rake commands using the production,  
sorted,  
but then after modifying the /usr/bin/mongrel\_cluster to ensure the  
correct  
shebang for ruby on ubuntu, it reverts to the /admin/login issue again.

Might clean sweep, start again.

Cheers, Ben.
