Thread: PI Server on CentOS - NOT WORKING

Results 1 to 2 of 2
  1. #1 PI Server on CentOS - NOT WORKING 
    Registered Member
    Join Date
    Nov 2011
    Posts
    8
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    EDIT: Managed to fix after much searching and effort. Instead of using "./" use the full path so for example "/home/server/Data/npc.cfg" <- and remember it's case sensitive. We fixed the second part of our error by simply removing the piece of code calling the "map/VirtualWorld" part... not sure... what that was doing... and hopefully it doesn't fuck us up in anyway. So far so good.


    Okay so my server is returning multiple errors when I try to run it.

    I realize that CentOS doesn't recognize the "./" command, and my admin's currently trying to fix that.

    In the meantime, ANY input is appreciated. Thanks a lot. Sorry for being a noob .
    (And before people ask - if they do - I have searched, I have java installed correctly, and I don't think it's anything relating to java classpaths)


    Picture: View DeUg5g.png on ScreenSnapr


    Code:
    root@LA108 [/home/servar]# java -classpath 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 &
    [1] 14928
    root@LA108 [/home/servar]# java.io.FileNotFoundException: ./data/cfg/prices.txt (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:137)
            at java.util.Scanner.<init>(Scanner.java:653)
            at server.world.ItemHandler.loadItemPrices(ItemHandler.java:305)
            at server.world.ItemHandler.<init>(ItemHandler.java:38)
            at server.Server.<clinit>(Server.java:60)
    ./Data/CFG/npc.cfg: file not found.
    ./Data/CFG/spawn-config.cfg: file not found.
    shops.cfg: file not found.
    [11/25/11 5:22 PM]: Launching hRSPS
    [11/25/11 5:22 PM]: Banning ip:86.58.75.*
    [11/25/11 5:22 PM]: Banning ip:24.34.167.*
    [11/25/11 5:22 PM]: Banning ip:68.194.203.*
    [11/25/11 5:22 PM]: Banning ip:199.255.209.*
    [11/25/11 5:22 PM]: Banning ip:74.115.*.*
    Nov 25, 2011 5:22:17 PM server.RS2Server start
    INFO: Waiting for pending background loading tasks...
    [11/25/11 5:22 PM]: Error starting the server...
    [11/25/11 5:22 PM]: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: map/VirtualWorld
    [11/25/11 5:22 PM]:     at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
    [11/25/11 5:22 PM]:     at java.util.concurrent.FutureTask.get(FutureTask.java:111)
    [11/25/11 5:22 PM]:     at server.util.BlockingExecutorService.waitForPendingTasks(BlockingExecutorService.java:50)
    [11/25/11 5:22 PM]:     at server.RS2Server.start(RS2Server.java:45)
    [11/25/11 5:22 PM]:     at server.Server.main(Server.java:111)
    [11/25/11 5:22 PM]: Caused by: java.lang.NoClassDefFoundError: map/VirtualWorld
    [11/25/11 5:22 PM]:     at server.World$3.call(World.java:91)
    [11/25/11 5:22 PM]:     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    [11/25/11 5:22 PM]:     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    [11/25/11 5:22 PM]:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    [11/25/11 5:22 PM]:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    [11/25/11 5:22 PM]:     at java.lang.Thread.run(Thread.java:636)
    [11/25/11 5:22 PM]: Caused by: java.lang.ClassNotFoundException: map.VirtualWorld
    [11/25/11 5:22 PM]:     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    [11/25/11 5:22 PM]:     at java.security.AccessController.doPrivileged(Native Method)
    [11/25/11 5:22 PM]:     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    [11/25/11 5:22 PM]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    [11/25/11 5:22 PM]:     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    [11/25/11 5:22 PM]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    [11/25/11 5:22 PM]:     ... 6 more
    Reply With Quote  
     

  2. #2  
    Super Donator


    Join Date
    Sep 2008
    Age
    30
    Posts
    1,894
    Thanks given
    677
    Thanks received
    776
    Rep Power
    456
    On linux, files and folders are case sensitive, I bet your one of your folders is named Data not data, etc.
    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. PI Server on Centos
    By blood eater in forum Help
    Replies: 10
    Last Post: 08-22-2011, 07:45 PM
  2. Replies: 6
    Last Post: 06-05-2011, 03:37 AM
  3. Replies: 2
    Last Post: 01-01-2011, 04:46 AM
  4. Setting up a server on Centos (Linux)?
    By Throat in forum Help
    Replies: 7
    Last Post: 07-20-2010, 05:27 PM
  5. Running a server on Debian or CentOS
    By psych0s0c1al in forum Help
    Replies: 0
    Last Post: 07-28-2009, 07:56 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •