Solved

cPanel + Ruby on Rails: Cannot get apps to Run

Posted on 2008-10-25
3
1,027 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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now