Hi Guys,
I am trying to deploy a Rails app to my linux (Centos 6) VPS. I am
running jRuby 1.7.11 on it.
The problem is that when I try to start Puma I get this error:
The signal USR1 is in use by the JVM and will not work correctly on this
platform
[deprecated] I18n.enforce_available_locales will default to true in the
future. If you really want to skip validation of your locale you can set
I18n.enforce_available_locales = false to avoid this message.
- Listening on
unix:///home/user/apps/myapp/current/tmp/sockets/myapp.socket
NativeLibrary.java:87:inloadNativeLibraries': java.lang.UnsatisfiedLinkError: /lib/libc.so.6: wrong ELF class: ELFCLASS32 from NativeLibrary.java:70:ingetNativeLibraries’
from NativeLibrary.java:49:ingetSymbolAddress' from NativeLibrary.java:59:infindSymbolAddress’
from AsmLibraryLoader.java:117:ingenerateInterfaceImpl' from AsmLibraryLoader.java:59:inloadLibrary’
from NativeLibraryLoader.java:43:inloadLibrary' from LibraryLoader.java:228:inload’
from Library.java:123:inloadLibrary' from Library.java:80:inloadLibrary’
from Native.java:40:in<clinit>' from Native.java:60:inlibsocket’
from Native.java:68:insocket' from UnixServerSocketChannel.java:38:in’
from UnixServerSocket.java:29:in<init>' from UnixServerSocketChannel.java:48:inopen’
from RubyUNIXSocket.java:243:ininit_unixsock' from RubyUNIXServer.java:69:ininitialize’
from RubyUNIXServer$INVOKER$i$1$0$initialize.gen:-1:incall' from JavaMethod.java:971:incall’
from JavaMethod.java:677:incall' from CachingCallSite.java:286:incacheAndCall’
from CachingCallSite.java:81:incallBlock' from CachingCallSite.java:85:incall’
from RubyClass.java:825:innewInstance' from RubyIO.java:852:innewInstance’
from RubyIO$INVOKER$s$0$0$newInstance.gen:-1:incall' from DynamicMethod.java:210:incall’
from DynamicMethod.java:206:incall' from CachingCallSite.java:326:incacheAndCall’
from CachingCallSite.java:170:incall' from CallOneArgNode.java:57:ininterpret’
from LocalAsgnNode.java:123:ininterpret' from NewlineNode.java:105:ininterpret’
from BlockNode.java:71:ininterpret' from EnsureNode.java:96:ininterpret’
from BeginNode.java:83:ininterpret' from NewlineNode.java:105:ininterpret’
from BlockNode.java:71:ininterpret' from ASTInterpreter.java:74:inINTERPRET_METHOD’
from InterpretedMethod.java:225:incall' from DefaultMethod.java:214:incall’
from CachingCallSite.java:346:incacheAndCall' from CachingCallSite.java:204:incall’
from FCallTwoArgNode.java:38:ininterpret' from DAsgnNode.java:110:ininterpret’
from NewlineNode.java:105:ininterpret' from BlockNode.java:71:ininterpret’
from IfNode.java:118:ininterpret' from NewlineNode.java:105:ininterpret’
from BlockNode.java:71:ininterpret' from WhenOneArgNode.java:36:inwhenSlowTest’
from WhenOneArgNode.java:46:inwhen' from CaseNode.java:133:ininterpret’
from NewlineNode.java:105:ininterpret' from BlockNode.java:71:ininterpret’
from ASTInterpreter.java:112:inINTERPRET_BLOCK' from Interpreted19Block.java:206:inevalBlockBody’
from Interpreted19Block.java:157:inyield' from Block.java:142:inyield’
from RubyArray.java:1606:ineachCommon' from RubyArray.java:1613:ineach’
from RubyArray$INVOKER$i$0$0$each.gen:-1:incall' from CachingCallSite.java:316:incacheAndCall’
from CachingCallSite.java:145:incallBlock' from CachingCallSite.java:154:incallIter’
from CallNoArgBlockNode.java:64:ininterpret' from NewlineNode.java:105:ininterpret’
from BlockNode.java:71:ininterpret' from ASTInterpreter.java:74:inINTERPRET_METHOD’
from InterpretedMethod.java:225:incall' from DefaultMethod.java:214:incall’
from CachingCallSite.java:346:incacheAndCall' from CachingCallSite.java:204:incall’
from CallTwoArgNode.java:59:ininterpret' from NewlineNode.java:105:ininterpret’
from BlockNode.java:71:ininterpret' from ASTInterpreter.java:74:inINTERPRET_METHOD’
from InterpretedMethod.java:139:incall' from DefaultMethod.java:182:incall’
from CachingCallSite.java:306:incacheAndCall' from CachingCallSite.java:136:incall’
from VCallNode.java:88:ininterpret' from NewlineNode.java:105:ininterpret’
from IfNode.java:116:ininterpret' from NewlineNode.java:105:ininterpret’
from BlockNode.java:71:ininterpret' from IfNode.java:116:ininterpret’
from NewlineNode.java:105:ininterpret' from BlockNode.java:71:ininterpret’
from ASTInterpreter.java:74:inINTERPRET_METHOD' from InterpretedMethod.java:139:incall’
from DefaultMethod.java:182:incall' from CachingCallSite.java:306:incacheAndCall’
from CachingCallSite.java:136:incall' from CallNoArgNode.java:60:ininterpret’
from NewlineNode.java:105:ininterpret' from BlockNode.java:71:ininterpret’
from ASTInterpreter.java:74:inINTERPRET_METHOD' from InterpretedMethod.java:139:incall’
from DefaultMethod.java:182:incall' from CachingCallSite.java:306:incacheAndCall’
from CachingCallSite.java:136:incall' from CallNoArgNode.java:60:ininterpret’
from NewlineNode.java:105:ininterpret' from BlockNode.java:71:ininterpret’
from RootNode.java:129:ininterpret' from ASTInterpreter.java:121:inINTERPRET_ROOT’
from Ruby.java:838:inrunInterpreter' from Ruby.java:2766:inloadFile’
from ExternalScript.java:66:inload' from LoadService.java:359:inload’
from RubyKernel.java:1109:inloadCommon' from RubyKernel.java:1101:inload19’
from RubyKernel$INVOKER$s$0$1$load19.gen:-1:incall' from DynamicMethod.java:210:incall’
from DynamicMethod.java:206:incall' from CachingCallSite.java:326:incacheAndCall’
from CachingCallSite.java:170:incall' from bin/puma:16:infile’
from bin/puma:-1:inload' from Ruby.java:811:inrunScript’
from Ruby.java:804:inrunScript' from Ruby.java:673:inrunNormally’
from Ruby.java:522:inrunFromMain' from Main.java:395:indoRunFromMain’
from Main.java:290:ininternalRun' from Main.java:217:inrun’
from Main.java:197:in `main’
! Error starting new process as daemon, exitting
Any idea why this happens? I’ve also tried to use bundle instate
—binstubs and start puma using bin/puma instead of bundle exec, but the
same problem occurs.
Best Wishes,
Matt