Thread: [PI] RSPS Starter on Linux

Results 1 to 9 of 9
  1. #1 [PI] RSPS Starter on Linux 
    Registered Member
    Join Date
    Jul 2011
    Posts
    12
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    Hello there, I was wondering if anybody could help me with my RSPS on my Linux VPS?
    Here's the run.sh file
    Code:
    #!/bin/bash
    java -cp bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar server.Server
    Which does not work, and it gives me following error:
    Code:
    [[email protected] rs]# item.cfg: file not found.
    Exception in thread "main" java.lang.ExceptionInInitializerError
       at java.lang.Class.initializeClass(libgcj.so.10)
    Caused by: java.lang.NullPointerException
       at java.util.regex.Matcher.toMatchResult(libgcj.so.10)
       at java.util.Scanner.myCoreNext(libgcj.so.10)
       at java.util.Scanner.myPrepareForNext(libgcj.so.10)
       at java.util.Scanner.myNextLine(libgcj.so.10)
       at java.util.Scanner.hasNextLine(libgcj.so.10)
       at server.world.ItemHandler.loadItemPrices(ItemHandler.java:317)
       at server.world.ItemHandler.<init>(ItemHandler.java:35)
       at server.Server.<clinit>(Server.java:62)
       at java.lang.Class.initializeClass(libgcj.so.10)
    And yes, I did xmod it or what's called, to 777 & I'm using root, as you can see.
    Reply With Quote  
     

  2. #2  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2011
    Posts
    12
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    What should I change to make it work?
    Reply With Quote  
     

  4. #4  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    Look where item.cfg is loaded and make sure the capitalization is correct



    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2011
    Posts
    12
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    This is the path way, the "data" folder was capital, but I change that before I posted this thread.

    /root/rs/data/cfg/item.cfg
    Reply With Quote  
     

  6. #6  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    Make sure the folders have correct capitalization aswell



    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jul 2011
    Posts
    12
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by S Quare Quxx View Post
    Make sure the folders have correct capitalization aswell
    They do, it's all lowercase.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jul 2011
    Posts
    12
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    After a looong time of making every file & folders non-capital, this is what I comes up with
    Code:
    
    [[email protected] rs]# Exception in thread "main" java.lang.NoClassDefFoundError: server.Server
       at java.lang.Class.initializeClass(libgcj.so.10)
    Caused by: java.lang.ClassNotFoundException: server.net.ConnectionThrottleFilter not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:bin/,file:deps/poi.jar,file:deps/mysql.jar,file:deps/mina.jar,file:deps/slf4j.jar,file:deps/slf4j-nop.jar,file:deps/jython.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
       at java.net.URLClassLoader.findClass(libgcj.so.10)
       at java.lang.ClassLoader.loadClass(libgcj.so.10)
       at java.lang.ClassLoader.loadClass(libgcj.so.10)
       at java.lang.Class.initializeClass(libgcj.so.10)
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Sep 2012
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I believe this is caused by a Linux OS problem.

    Try switching to Windows.

    If you have any questions about doing this. please refer to my thread

    - Dolan
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. RSPS on linux
    By Killerteddy in forum Help
    Replies: 30
    Last Post: 10-31-2016, 08:23 PM
  2. Linux RSPS VPS Help
    By Izzeh in forum Help
    Replies: 15
    Last Post: 01-15-2012, 12:26 PM
  3. Linux VPS (RSPS) Help! (Must-See)
    By Grizza in forum Software
    Replies: 3
    Last Post: 02-28-2011, 04:01 PM
  4. Linux VPS RSPS help
    By prince 1333 in forum Software
    Replies: 0
    Last Post: 08-22-2010, 02:47 AM
  5. Linux RSPS
    By Drowning in forum Software
    Replies: 4
    Last Post: 08-17-2010, 10:17 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •