gpt4 book ai didi

mysql - Ruby on Rails,乘客收到握手错误

转载 作者:行者123 更新时间:2023-11-30 23:18:37 25 4
gpt4 key购买 nike

尝试我的应用程序时为什么会出现以下错误的任何线索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 等中是否没有一些阻塞调用。Passenger 正在生成 bash 进程以启动应用程序并且它正在读取 profile/rc .我知道这是迟到的答案,但也许它会对某人有所帮助。

关于mysql - Ruby on Rails,乘客收到握手错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16505687/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com