Passenger Error

306 views
Skip to first unread message

Sarah Pham

unread,
Mar 4, 2014, 3:54:56 AM3/4/14
to phusion-...@googlegroups.com
Hi,

I Installed Ruby 1.8.7 (Passenger 4.0.45) and Redmine 2.4, all this was working well. But after I updated ruby to 2.0.0 by rvm (Passenger 4.0.37), I cannot open my Redmine. It shows this error in /var/log/httpd/error_log

Could not spawn process for group /home/redmine#default: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
     in 'void Passenger::ApplicationPool2::SmartSpawner::throwPreloaderSpawnException(const std::string&, Passenger::SpawnException::ErrorKind, Passenger::ApplicationPool2::Spawner::BackgroundIOCapturerPtr&, const Passenger::ApplicationPool2::Spawner::DebugDirPtr&)' (SmartSpawner.h:146)
     in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:590)
     in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:206)
     in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:752)
     in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const Passenger::ApplicationPool2::SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:804)

[ 2014-03-04 17:43:40.8274 19839/7f15d6d72700 agents/HelperAgent/RequestHandler.h:2088 ]: [Client 20] Cannot checkout session.
Error page:
An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read <a href="https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems">this article</a> for more information about this problem.<br>
<h2>Raw process output:</h2>
(empty)

I read this artical https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems but can't fix the problem.

Could you please help?

Tinco Andringa

unread,
Mar 4, 2014, 7:32:23 AM3/4/14
to phusion-...@googlegroups.com
Hi Sarah,

Have you tried increasing passenger_start_timeout to more than 90
seconds, like for example 300 seconds? It is nearly always that
problem. Is your resource usage (cpu/memory) within bounds when you
start the application?

Kind regards,
Tinco
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phusion-passen...@googlegroups.com.
> To post to this group, send email to phusion-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/phusion-passenger/46505eff-6fed-49e5-8dfe-e280dc39c43e%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Sarah Pham

unread,
Mar 4, 2014, 9:54:00 PM3/4/14
to phusion-...@googlegroups.com
Hi,

Thanks for your answer.

This is just our testing server , the resource usage is still winthin bounds. I updated passenger_start_timeout to 300 but the error still exists.

Could you check Passenger Debug Log help me?

Thank you so much.

Sarah
passenger_debug_log.txt

Tinco Andringa

unread,
May 12, 2014, 7:45:36 AM5/12/14
to phusion-...@googlegroups.com
Hi Sarah,

Sorry for the (very) late reply. I could not detect any weird
behaviour in the log. Have you found out what caused the problem in
the meanwhile?

Kind regards,
Tinco
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phusion-passen...@googlegroups.com.
> To post to this group, send email to phusion-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/phusion-passenger.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/phusion-passenger/c4976911-8d46-4e75-bf4b-3983e7860f62%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.



--
Phusion | Web application deployment, scaling and monitoring solutions
Reply all
Reply to author
Forward
0 new messages