突然间,我的应用程序停止工作了,这些是我从
独角兽日志
unicorn worker[0] -D -c /home/deployer/apps/myapp/current/config/unicorn.rb -E production: relocation error: /lib/x86_64-linux-gnu/libssl.so.1.0.0: symbol CRYPTO_memcmp, version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0 with link time reference
E, [2013-02-28T18:32:49.240524 #23929] ERROR -- : reaped #<Process::Status: pid 26634 exit 127> worker=0
I, [2013-02-28T18:32:49.240810 #23929] INFO -- : worker=0 spawning...
I, [2013-02-28T18:32:49.255824 #26647] INFO -- : worker=0 spawned pid=26647
I, [2013-02-28T18:32:49.256438 #26647] INFO -- : Refreshing Gem list
和生产日志
[...]
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
我最后做的是一件很小且无害的事情cap deploy
,在应用程序停止工作后,我也尝试了cap deploy:rollback
,但错误仍然存在。我是 Unicorn 的新手,请问这是怎么回事?
答案1
也许是某种 VPS 故障,从我的管理面板上我看到 CPU 使用率无缘无故地达到了最大值,所以我将其关闭然后重新启动它,现在它又可以正常工作了......