<div dir="ltr">hi,all<div><br></div><div>today i found my opennebula 3.8's sunstone is show me this error</div><div>"</div><div><div>×</div><div>Error</div><div><br></div><div>Ruby (Rack) application could not be started</div>
<div>These are the possible causes:</div><div><br></div><div> There may be a syntax error in the application's code. Please check for such errors and fix them.</div><div> A required library may not installed. Please install all libraries that this application requires.</div>
<div> The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.</div><div> A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.</div>
<div><br></div><div>Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.</div><div><br></div><div>Error message:</div><div> Failed to connect to a master node at localhost:27017 (Mongo::ConnectionFailure)</div>
<div>Exception class:</div><div> PhusionPassenger::UnknownError</div><div>Application root:</div><div> /usr/lib/one/ruby/oneapps/market </div><div>Backtrace:</div><div> # <span class="" style="white-space:pre"> </span>File <span class="" style="white-space:pre"> </span>Line <span class="" style="white-space:pre"> </span>Location</div>
<div> 0 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb <span class="" style="white-space:pre"> </span>415 <span class="" style="white-space:pre"> </span>in `connect'</div>
<div> 1 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb <span class="" style="white-space:pre"> </span>589 <span class="" style="white-space:pre"> </span>in `setup'</div>
<div> 2 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb <span class="" style="white-space:pre"> </span>114 <span class="" style="white-space:pre"> </span>in `initialize'</div>
<div> 3 <span class="" style="white-space:pre"> </span>/usr/lib/one/ruby/oneapps/market/init.rb <span class="" style="white-space:pre"> </span>28 <span class="" style="white-space:pre"> </span>in `new'</div><div> 4 <span class="" style="white-space:pre"> </span>/usr/lib/one/ruby/oneapps/market/init.rb <span class="" style="white-space:pre"> </span>28 <span class="" style="white-space:pre"> </span>in `'</div>
<div> 5 <span class="" style="white-space:pre"> </span>/usr/lib/one/ruby/oneapps/market/models.rb <span class="" style="white-space:pre"> </span>16 <span class="" style="white-space:pre"> </span>in `require'</div><div>
6 <span class="" style="white-space:pre"> </span>/usr/lib/one/ruby/oneapps/market/models.rb <span class="" style="white-space:pre"> </span>16 <span class="" style="white-space:pre"> </span>in `'</div><div> 7 <span class="" style="white-space:pre"> </span>/usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb <span class="" style="white-space:pre"> </span>42 <span class="" style="white-space:pre"> </span>in `require'</div>
<div> 8 <span class="" style="white-space:pre"> </span>/usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb <span class="" style="white-space:pre"> </span>42 <span class="" style="white-space:pre"> </span>in `'</div>
<div> 9 <span class="" style="white-space:pre"> </span><a href="http://config.ru">config.ru</a> <span class="" style="white-space:pre"> </span>17 <span class="" style="white-space:pre"> </span>in `require'</div><div>
10 <span class="" style="white-space:pre"> </span><a href="http://config.ru">config.ru</a> <span class="" style="white-space:pre"> </span>17 <span class="" style="white-space:pre"> </span>in `block in '</div><div>
11 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb <span class="" style="white-space:pre"> </span>51 <span class="" style="white-space:pre"> </span>in `instance_eval'</div>
<div> 12 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb <span class="" style="white-space:pre"> </span>51 <span class="" style="white-space:pre"> </span>in `initialize'</div>
<div> 13 <span class="" style="white-space:pre"> </span><a href="http://config.ru">config.ru</a> <span class="" style="white-space:pre"> </span>1 <span class="" style="white-space:pre"> </span>in `new'</div><div> 14 <span class="" style="white-space:pre"> </span><a href="http://config.ru">config.ru</a> <span class="" style="white-space:pre"> </span>1 <span class="" style="white-space:pre"> </span>in `'</div>
<div> 15 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb <span class="" style="white-space:pre"> </span>225 <span class="" style="white-space:pre"> </span>in `eval'</div>
<div> 16 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb <span class="" style="white-space:pre"> </span>225 <span class="" style="white-space:pre"> </span>in `load_rack_app'</div>
<div> 17 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb <span class="" style="white-space:pre"> </span>75 <span class="" style="white-space:pre"> </span>in `block (2 levels) in spawn_application'</div>
<div> 18 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb <span class="" style="white-space:pre"> </span>572 <span class="" style="white-space:pre"> </span>in `report_app_init_status'</div>
<div> 19 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb <span class="" style="white-space:pre"> </span>73 <span class="" style="white-space:pre"> </span>in `block in spawn_application'</div>
<div> 20 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb <span class="" style="white-space:pre"> </span>479 <span class="" style="white-space:pre"> </span>in `safe_fork'</div>
<div> 21 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb <span class="" style="white-space:pre"> </span>64 <span class="" style="white-space:pre"> </span>in `spawn_application'</div>
<div> 22 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb <span class="" style="white-space:pre"> </span>264 <span class="" style="white-space:pre"> </span>in `spawn_rack_application'</div>
<div> 23 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb <span class="" style="white-space:pre"> </span>137 <span class="" style="white-space:pre"> </span>in `spawn_application'</div>
<div> 24 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb <span class="" style="white-space:pre"> </span>275 <span class="" style="white-space:pre"> </span>in `handle_spawn_application'</div>
<div> 25 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb <span class="" style="white-space:pre"> </span>357 <span class="" style="white-space:pre"> </span>in `server_main_loop'</div>
<div> 26 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb <span class="" style="white-space:pre"> </span>206 <span class="" style="white-space:pre"> </span>in `start_synchronously'</div>
<div> 27 <span class="" style="white-space:pre"> </span>/var/lib/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server <span class="" style="white-space:pre"> </span>99 <span class="" style="white-space:pre"> </span>in `'</div>
<div><br></div><div>Powered by Phusion Passenger, mod_rails / mod_rack for Apache.</div></div><div>"</div><div><br></div><div>through few minutes research,i found this issue is cause by the market app is not work on one3.8 anymore. then i disable this plugin from etc/sunstone-plugins.yaml , this error message gone! i'm not going to update one3.8 to new version one, because it's work fine. just let somebody have same issue know this workaround.</div>
</div>