Bug Linux problem (Centos 7.1)

Discussion in 'Client & Site Support' started by alkimista, Oct 13, 2016.

Thread Status:
Not open for further replies.
  1. Centos 7.1 JRE updated(8u101), JDK updated(8u101)

    With JRE as java
    That happen when i select the istance of game, Jre is updated as i'm running last runemate version
    Scanned for and identified 1 game frames in 640ms.
    Exception in thread "19312 - Alpha Abyss Runecrafter" java.lang.NoClassDefFoundError: Could not initialize class sun.tools.attach.LinuxVirtualMachine
    at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(vu:97)
    at com.sun.tools.attach.VirtualMachine.attach(xp:4258)
    at nul.iIiIiIiiIiII.false(ckb:178)
    at nul.iIiIiIiiIIii.run(amb:168)

    WITH JDK as java
    first istance work but on second client said that there is an exeption
    Imgur: The most awesome images on the Internet

    and on terminal i have this

    Scanned for and identified 2 game frames in 915ms.
    Failed to bind to the game client because of a Exception
    java.lang.Exception: Failed to bind to the virtual machine.
    at nul.iIiIiIiiIiII.false(ckb:42)
    at nul.iIiIiIiiIIii.run(amb:168)
    Caused by: java.rmi.NotBoundException: RMIBridge-18662
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:411)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:272)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at nul.iIiiiIiiIIIi.byte(gnb:184)
    at nul.iIiIiIiiIiII.false(ckb:21)
    ... 1 more
    Scanned for and identified 2 game frames in 1227ms.
     
    #1 alkimista, Oct 13, 2016
    Last edited: Oct 17, 2016
  2. I'm sure someone with more knowledge will reply later but I will say I've had loads of trouble trying to run RM in a Linux VM. Never could get it to work, but once I tried on a non-virtual Linux install no problem at all.
     
  3. it is not a virtual linux..
     
  4. That's strange then, I was getting a similar error

    java.lang.NoClassDefFoundError: Could not initialize class sun.tools.attach.LinuxVirtualMachine
    at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(jr:58)
    at com.sun.tools.attach.VirtualMachine.attach(ry:2486)

    You can check out Arbiter's advice to me on my old thread here Bug - Spectre not attaching to RS Unix client

    Looks like you need to be using Oracle JDK (not Open JDK) and not be using XFCE desktop environment.
     
  5. not the case, working on centos that is one of the most reliable linux os
    --- Double Post Merged, Oct 13, 2016, Original Post Date: Oct 13, 2016 ---
    could it be a driver issue?
     
  6. You need the SDK to run bots, not the JDK.
     
  7. Android SDK? o_O
     
  8. No... Oracles Java 8 SDK. JDK is for development.
     
  9. do u mean JRE?
     
  10. Lol dunno what i was thinking, i'd just gotten out of bed. You're correct. You need the JRE not the JDK. (JDK = SDK)
     
  11. i tried both only to be sure
    --- Double Post Merged, Oct 14, 2016, Original Post Date: Oct 13, 2016 ---
    any ideas?
    --- Double Post Merged, Oct 14, 2016 ---
    @Arbiter @Cloud
    --- Double Post Merged, Oct 15, 2016 ---
    @Aidden @SlashnHax
    --- Double Post Merged, Oct 15, 2016 ---
    sto facendo progressi, ora va uno ma appena cerco di aggiungere una seconda istanza...
    Scanned for and identified 2 game frames in 915ms.
    Failed to bind to the game client because of a Exception
    java.lang.Exception: Failed to bind to the virtual machine.
    at nul.iIiIiIiiIiII.false(ckb:42)
    at nul.iIiIiIiiIIii.run(amb:168)
    Caused by: java.rmi.NotBoundException: RMIBridge-18662
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:411)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:272)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at nul.iIiiiIiiIIIi.byte(gnb:184)
    at nul.iIiIiIiiIiII.false(ckb:21)
    ... 1 more
    Scanned for and identified 2 game frames in 1227ms.
     
    #11 alkimista, Oct 15, 2016
    Last edited: Oct 15, 2016
  12. You'll need the Oracle JDK if you don't already have it, I'd suggest using the installer either way though. Basically, there's a class missing from the classpath that's needed, it's included in the JDK iirc.
     
  13. did u read last comment? @SlashnHax
    --- Double Post Merged, Oct 15, 2016, Original Post Date: Oct 15, 2016 ---
    actual version installed @Cloud
    /usr/java/jdk1.8.0_101/jre/bin/java

    still

    --- Double Post Merged, Oct 17, 2016 ---
    if is a class missing, is it possible to add it manually? @SlashnHax
     
  14. Type "java -version" in Terminal and provide the output.
     
  15. java -version
    java version "1.8.0_101"
    Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
     
  16. Try running with the JRE explicitly.

    Example:
    /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /path/to/RuneMate.jar
     
  17. with jre it does not link even the first session
    --- Double Post Merged, Oct 17, 2016, Original Post Date: Oct 17, 2016 ---
    edited first post trying to be more clear,
    also some one can change post title in centos 7.1 problem?
    --- Double Post Merged, Oct 17, 2016 ---
    using direct path to java
    java.io.FileNotFoundException: /home/Venere/runescape2/share/cache/RuneMate/logs/10-17 9 39 21 - game.txt (No such file or directory)
    at java.io.FileOutputStream.open0(Native Method)
    at java.io.FileOutputStream.open(FileOutputStream.java:270)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
    at com.runemate.bind.AttachBridge.agentmain(mb:295)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
    at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:411)
    Unable to redirect agent print streams to /home/Venere/runescape2/share/cache/RuneMate/logs/10-17 9 39 21 - game.txt
    [proxychains] Strict chain ... 213.184.109.187:12826 ... 127.0.0.1:1099 <--socket error or timeout!
    Creating a new rmi registry.
    Failed to invoke getter for a new rmi registry.
    [proxychains] Strict chain ... 213.184.109.187:12826 ... 127.0.0.1:1099 <--socket error or timeout!
    java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: Connection refused
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at com.runemate.bind.AttachBridge.try(mb:8)
    at com.runemate.bind.AttachBridge.agentmain(mb:350)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
    at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:411)
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at java.net.Socket.connect(Socket.java:538)
    at java.net.Socket.<init>(Socket.java:434)
    at java.net.Socket.<init>(Socket.java:211)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    ... 12 more
    Couldn't register event queue because the rmi bridge didn't bind.
     
  18. Try running with sudo.
     
  19. from sudo it does not even start to link first session (sudo path/java -jar path to runemate)

    Failed to locate an existing game cache for RuneScape 3.
    Scanned for and identified 1 game frames in 477ms.

    that is if i start in terminal direclty from root (su - command to be clear)
    Unable to open socket file: target process not responding or HotSpot VM not loaded
    com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
    at sun.tools.attach.LinuxVirtualMachine.<init>(zy:147)
    at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(py:80)
    at com.sun.tools.attach.VirtualMachine.attach(ew:9733)
    at nul.IiiIiIiIiiiI.byte(llb:5)
    at nul.iiiiIIiIiiIi.run(mnb:16)

    debian sudo and fedora sudo work a little bit in different ways
    --- Double Post Merged, Oct 18, 2016, Original Post Date: Oct 17, 2016 ---
    close please figure it out with @SlashnHax
     
  20. Issue seems to be caused by user setup, closing thread.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...