Jump to content

[Solved] Rails App not starting why ?


prdpspkt

Recommended Posts

I have deployed my sample ruby on rails app in ricky host in heliohost.org my domain name is prdpspk1.heliohost.org and applied domain is psapkota.com.np i have installed a ruby app in directory called storeapp. I have followed all instructions given in heliohost.org site but throws following error when I try to start app. Please help.

The Ruby on Rails application could not be started. [2019-05-24 03:18:41 +0000] warn [internal Warning while parsing ./frontend/paper_lantern/ror/startapp.html.tt 41266] exec(mongrel_rails) failed: Permission denied at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 251. at /usr/local/cpanel/Cpanel/ForkAsync.pm line 67. Cpanel::ForkAsync::do_in_child(CODE(0x2e6d2a8)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 253 Cpanel::SafeRun::Object::new("Cpanel::SafeRun::Object", "program", "mongrel_rails", "args", ARRAY(0x2e6d950)) called at /usr/local/cpanel/Cpanel/RoR.pm line 576 Cpanel::RoR::_appcommand("appname", "storeapp", "command", "start") called at /usr/local/cpanel/Cpanel/RoR.pm line 307 Cpanel::RoR::api2_startapp("appname", "storeapp") called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 120 eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 120 Cpanel::Api2::Exec::api2_exec("RoR", "startapp", HASH(0x2fafcd8), HASH(0x2ffa418)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 62 eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 62 Cpanel::Template::Plugin::Api2::_api2_exec("RoR", "startapp", HASH(0x2ffa418)) called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.html.tt line 3 eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.html.tt line 3 eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.html.tt line 1 Template::Provider::__ANON__(Template::Context=HASH(0x2e44018)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161 Template::Document::process(Template::Document=HASH(0x2e09328), Template::Context=HASH(0x2e44018)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321 Template::Context::process(Template::Context=HASH(0x2e44018), Template::Document=HASH(0x2e09328)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91 Template::Service::process(Template::Service=HASH(0x2e43be0), "/usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.ht"..., HASH(0x2e1bb90)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64 Template::process(Template=HASH(0x2e20040), "/usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.ht"..., HASH(0x2e1bb90), SCALAR(0x1a4dde8)) called at /usr/local/cpanel/Cpanel/Template.pm line 511 Cpanel::Template::process_template("cpanel", HASH(0x2e1bb90), HASH(0x2aee968)) called at cpanel.pl line 1024 cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.ht"..., 1) called at cpanel.pl line 4637 cpanel::cpanel::run_standard_mode() called at cpanel.pl line 857 cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/ror/startapp.html.tt") called at cpanel.pl line 272 exec(mongrel_rails) failed: Permission denied at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 251. Cpanel::FHTrap was not closed properly and was unable to return the result: [ <style type="text/css">.cpanel_internal_message_container {display: inline-block; margin: 10px; width: auto;} .cpanel_internal_message { border: 1px solid #fff; outline-style: solid; outline-width: 1px; outline-color: #aaa; padding: 5px; } .cpanel_internal_error_warn { background-color: #FFF6CF; } .cpanel_internal_error_error { background-color: #F8E7E6; }</style> <div id="cpanel_notice_item_1" class="cjt-pagenotice-container cjt-notice-container cpanel_internal_message_container internal-error-container"> <div class="yui-module cjt-notice cjt-pagenotice cjt-notice-warn"> <div class="cpanel_internal_message cpanel_internal_error_warn bd"> <div class="cjt-notice-content" style="width: 420px;"> <span> A warning occurred while processing this directive. <a class="error" style="cursor:hand;cursor:pointer;" onClick="document.getElementById('cpanel_internal_error_1').style.display='';this.style.display='none'; return false;"> [show] </a> <a class="error" style="cursor:hand;cursor:pointer;" onClick="document.getElementById('cpanel_notice_item_1').style.display='none'; return false;"> [close] </a> </span> <div id="cpanel_internal_error_1" style="display:none;"> <textarea class="cpanel_internal_error_warn" style="font-weight:900; height:200px; width:410px;">exec(mongrel_rails) failed: Permission denied at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 251. at /usr/local/cpanel/Cpanel/ForkAsync.pm line 67. Cpanel::ForkAsync::do_in_child(CODE(0x2e6d2a8)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 253 Cpanel::SafeRun::Object::new("Cpanel::SafeRun::Object", "program", "mongrel_rails", "args", ARRAY(0x2e6d950)) called at /usr/local/cpanel/Cpanel/RoR.pm line 576 Cpanel::RoR::_appcommand("appname", "storeapp", "command", "start") called at /usr/local/cpanel/Cpanel/RoR.pm line 307 Cpanel::RoR::api2_startapp("appname", "storeapp") called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 120 eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 120 Cpanel::Api2::Exec::api2_exec("RoR", "startapp", HASH(0x2fafcd8), HASH(0x2ffa418)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 62 eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 62 Cpanel::Template::Plugin::Api2::_api2_exec("RoR", "startapp", HASH(0x2ffa418)) called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.html.tt line 3 eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.html.tt line 3 eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.html.tt line 1 Template::Provider::__ANON__(Template::Context=HASH(0x2e44018)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161 Template::Document::process(Template::Document=HASH(0x2e09328), Template::Context=HASH(0x2e44018)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321 Template::Context::process(Template::Context=HASH(0x2e44018), Template::Document=HASH(0x2e09328)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91 Template::Service::process(Template::Service=HASH(0x2e43be0), "/usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.ht"..., HASH(0x2e1bb90)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64 Template::process(Template=HASH(0x2e20040), "/usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.ht"..., HASH(0x2e1bb90), SCALAR(0x1a4dde8)) called at /usr/local/cpanel/Cpanel/Template.pm line 511 Cpanel::Template::process_template("cpanel", HASH(0x2e1bb90), HASH(0x2aee968)) called at cpanel.pl line 1024 cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/ror/startapp.ht"..., 1) called at cpanel.pl line 4637 cpanel::cpanel::run_standard_mode() called at cpanel.pl line 857 cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/ror/startapp.html.tt") called at cpanel.pl line 272 </textarea> </div> </div> </div> </div> </div> ]

 

Link to comment
Share on other sites

We haven't supported Rails in years. Krydos might be able to manually set up a rails app for you, but any options for rails that may be in cpanel stopped working long ago (you shouldn't see any such options).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...