Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not spawn process, error msg with: passenger.1.0.9635 #1123

Closed
FooBarWidget opened this issue May 29, 2014 · 4 comments
Closed

Could not spawn process, error msg with: passenger.1.0.9635 #1123

FooBarWidget opened this issue May 29, 2014 · 4 comments

Comments

@FooBarWidget
Copy link
Member

From desmondhkm on November 20, 2013 11:51:04

What steps will reproduce the problem? 1. gem install passenger
2. passenger start
(using standalone passenger) What is the expected output? What do you see instead? my project should running on port 3000 What version of Phusion Passenger are you using? Which version of Rails? On what operating system? centos 6.4 Please provide any additional information below. # gem list passenger

*** LOCAL GEMS ***

passenger (4.0.25)

passenger start

=============== Phusion Passenger Standalone web server started ===============
PID file: /path/to/my/project/tmp/pids/passenger.3000.pid
Log file: /path/to/my/project/log/passenger.3000.log
Environment: production
Accessible via: http://0.0.0.0:3000/

You can stop Phusion Passenger Standalone by pressing Ctrl-C.
Problems? Check http://www.modrails.com/documentation/Users%20guide%20Standalone.html#troubleshooting ===============================================================================
[ 2013-11-20 18:36:50.1655 26875/7f85d1e5e700 Pool2/Spawner.h:796 ]: [App 26906 stdout]
[ 2013-11-20 18:36:50.2177 26875/7f85d1e5e700 Pool2/Spawner.h:796 ]: [App 26906 stdout]
[ 2013-11-20 18:36:53.8440 26875/7f85d1e5e700 Pool2/Spawner.h:796 ]: [App 26906 stdout] !> Error
Could not spawn process for group /path/to/my/project#default: An error occurred while starting up the preloader. It sent an unknown response type "socket: main;unix:/tmp/passenger.1.0.9635/generation-0/backends/ruby.GkRtJ56a9XUpxy7louRsCyEuAcqfLGcfGVMLiQz4a3yoxks;session;1\n".
in 'void Passenger::ApplicationPool2::SmartSpawner::throwPreloaderSpawnException(const std::string&, Passenger::SpawnException::ErrorKind, boost::shared_ptrPassenger::ApplicationPool2::Spawner::BackgroundIOCapturer&, const boost::shared_ptrPassenger::ApplicationPool2::Spawner::DebugDir&)' (SmartSpawner.h:150)
in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:570)
in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:210)
in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:756)
in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const Passenger::ApplicationPool2::SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:782)

[ 2013-11-20 18:04:08.8270 26631/7f55ef5fe700 agents/HelperAgent/RequestHandler.h:1997 ]: [Client 20] Cannot checkout session.

Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=1024

@FooBarWidget
Copy link
Member Author

From desmondhkm on November 21, 2013 02:38:13

I see similar problem occur in Issue 842 , but I cant get it solved.

This line seems new:
Could not spawn process for group /path/to/my/project#default: An error occurred while starting up the preloader. It sent an unknown response type "socket: main;unix:/tmp/passenger.1.0.9635/generation-0/backends/ruby.GkRtJ56a9XUpxy7louRsCyEuAcqfLGcfGVMLiQz4a3yoxks;session;1\n".

I cant get a solution from https://github.com/FooBarWidget/passenger/wiki/Debugging-application-startup-problems

@FooBarWidget
Copy link
Member Author

From desmondhkm on December 20, 2013 01:15:15

any idea? why i am using passenger 4.0 but it gives error of passenger 1.0 ?

@FooBarWidget
Copy link
Member Author

From bolixie on January 07, 2014 20:56:35

I have the same problem when start app in production mode!

@FooBarWidget
Copy link
Member Author

From honglilai on January 29, 2014 05:49:02

I think this is a duplicate of issue #1039 . It had already been fixed in commit 38afa8c, or version 4.0.32.

Status: Duplicate
Mergedinto: 1039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant