Rails 应用程序在更改数据库后无法在 passenger 上运行
Rails app don't work on passenger after changing database
我用 apache 在 passanger 上部署了 rails 应用程序。
在应用程序在本地 firebird 数据库上运行之前,在我将凭据更改为公司中的数据库服务器但位于另一台电脑上后,我收到了这个错误。
An error occurred while starting up the preloader: it did not write a startup response in time.
Raw process output:
(empty)
Error ID
06c3cb78
当我在 RAILS_ENV=production rails s
的本地计算机上使用此数据库启动 rails 应用程序时,它工作正常。
有没有人以前遇到过这个错误并且知道如何解决这个问题?
那是我的错误。服务器上的 dns 出错,我的生产服务器“看不到数据库 srv”
我用 apache 在 passanger 上部署了 rails 应用程序。
在应用程序在本地 firebird 数据库上运行之前,在我将凭据更改为公司中的数据库服务器但位于另一台电脑上后,我收到了这个错误。
An error occurred while starting up the preloader: it did not write a startup response in time.
Raw process output:
(empty)
Error ID
06c3cb78
当我在 RAILS_ENV=production rails s
的本地计算机上使用此数据库启动 rails 应用程序时,它工作正常。
有没有人以前遇到过这个错误并且知道如何解决这个问题?
那是我的错误。服务器上的 dns 出错,我的生产服务器“看不到数据库 srv”