Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

All of a sudden my app stopped working and these are the last lines I am getting from

unicorn.log

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

and production.log

[...]
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 

Last thing I did was a very little and inoffensive cap deploy, after the app stopped working I also try a cap deploy:rollback but the error is still there. I'm new to unicorn, what's going on here please?

share|improve this question
    
It happened to me today. The problem was a syntax error in a controller. Check out the unicorn.log file. –  Alejo Mar 19 '13 at 16:27
add comment

1 Answer

up vote 0 down vote accepted

Maybe it was some kind of VPS failure, from my admin panel I saw that the CPU usage was at max for no reason, so I shut it down and then restarted it and now it is working again...

share|improve this answer
    
Rebooting isn't really a "solution" -- you don't know what caused the problem (or the CPU spike), so you can't prevent it from happening again... –  voretaq7 Mar 19 '13 at 17:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.