Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

cPanel + Ruby on Rails: Cannot get apps to Run

Posted on 2008-10-25
3
Medium Priority
?
1,042 Views
Last Modified: 2013-12-06
I'm having some problems with cpanel + Ruby on Rails on CentOS4.3-32.

Whenever I set up a RoR app through cpanel , and then click "Run", it gives me the message:
Start Ruby Application

The following Ruby on Rails application was started: "app name"


However, when I go back to the overview page, it says the app status is "not running". The URL (domainname:12001) is not working either.

When I log into the server, all logs seem to be empty , I can get the app to start (on port 3000) through "mongrel_rails start -d" , however, I'd prefer to start it through cpanel.

Thanks in advance!
0
Comment
Question by:GertoWS
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Andrew Doades earned 1500 total points
ID: 22839601
I had the same problem, but although it said it was not running in cPanel. my app was.

Don;t forget that you need to create a rewrite in the section under adding the app, you will never get in via the address  domainname:12001

You will also need to do rake db:migrate too, this got me to start with.
0
 

Author Comment

by:GertoWS
ID: 22978027
I've set it up without cpanel for now.

Thanks for the help anyway :)
0
 

Author Closing Comment

by:GertoWS
ID: 31509990
Thanks :)
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question