簡體   English   中英

Ruby on rails,乘客握手錯誤

[英]Ruby on rails, passenger getting handshake error

有什么線索為什么我在嘗試使用apache / passenger / mysql應用程序時會出現以下錯誤,而使用webtrick可以正常運行?

[ 2013-05-12 01:39:31.3313 26429/7f0535e4b700 Pool2/Implementation.cpp:762 ]: Could not spawn process for group /home/ruby/work/depot#default: An error occurred while starting up the preloader: it did not write a handshake message in time.
 in 'void Passenger::ApplicationPool2::SmartSpawner::throwPreloaderSpawnException(const std::string&, Passenger::SpawnException::ErrorKind, Passenger::ApplicationPool2::Spawner::BackgroundIOCapturerPtr&, const Passenger::ApplicationPool2::Spawner::DebugDirPtr&)' (SmartSpawner.h:149)
 in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:539)
 in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:205)
 in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:743)
 in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const Passenger::ApplicationPool2::SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:695)

[ 2013-05-12 01:39:31.3315 26429/7f053688d700 agents/HelperAgent/RequestHandler.h:1884 ]: [Client 20] Cannot checkout session. An error occurred while starting up the preloader: it did not write a handshake message in time.

對我而言,幫助取消對/ etc / profile的訪問-檢查您是否在那里或bashrc / bash_profile等中沒有阻止調用。旅客正在生成bash進程來啟動應用程序,並且正在讀取profile / rc。 我知道答案太晚了,但也許會對某人有所幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM