Thread: CFG Files not found On Ubuntu VPS ( Linux )

Results 1 to 5 of 5
  1. #1 CFG Files not found On Ubuntu VPS ( Linux ) 
    Registered Member
    Join Date
    Nov 2008
    Posts
    8
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hello,

    I've got a problem when i'm starting my server on my Ubuntu VPS
    I've searched it and i didn't found, well i found 1 but i don't understand very well

    Quote Originally Posted by crsps View Post
    Okay, I got that when I first started also, You need to go into your java files and edit all the files directories, so instead of ./, it needs to be ../ if its going back a directory.

    This would be easier if you just sent me your source zipped, ill edit it and compile it for u, then send back.
    And tell me where your source is located, so /home/yourname/Desktop/TheSource?


    Here is my problem : server is running but there isn't NPC spawn ect

    I start my server by using that command

    cd Desktop/Server/Server1/bin
    java -Xmx200m server.Server

    and i get this error

    Code:
    item.cfg: file not found.
    ./Data/CFG/npc.cfg: file not found.
    ./Data/CFG/spawn-config.cfg: file not found.
    shops.cfg: file not found.
    ./Data/cfg/global-objects.cfg: file not found.
    ./Data/cfg/doors.cfg: file not found.
    java.io.FileNotFoundException: ./Data/cfg/NPCDrops.TSM (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:120)
            at java.util.Scanner.<init>(Scanner.java:636)
            at server.model.npcs.NPCDrops.loadDrops(NPCDrops.java:31)
            at server.model.npcs.NPCDrops.<init>(NPCDrops.java:15)
            at server.Server.<clinit>(Server.java:72)
    java.io.FileNotFoundException: data/lolmap.bin (No such file or directory)
            at java.io.RandomAccessFile.open(Native Method)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:101)
            at server.world.WalkingHandler.initialize(WalkingHandler.java:45)
            at server.Server.main(Server.java:114)
    [1/4/12 8:56 AM]: Launching Etheria...
    [1/4/12 8:56 AM]: java.io.FileNotFoundException: ./Data/bans/UsersBanned.txt (No such file or directory)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.open(Native Method)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:120)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:79)
    [1/4/12 8:56 AM]:       at java.io.FileReader.<init>(FileReader.java:41)
    [1/4/12 8:56 AM]:       at server.Connection.banUsers(Connection.java:181)
    [1/4/12 8:56 AM]:       at server.Connection.initialize(Connection.java:31)
    [1/4/12 8:56 AM]:       at server.Server.main(Server.java:161)
    [1/4/12 8:56 AM]: java.io.FileNotFoundException: ./Data/bans/IpsBanned.txt (No such file or directory)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.open(Native Method)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:120)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:79)
    [1/4/12 8:56 AM]:       at java.io.FileReader.<init>(FileReader.java:41)
    [1/4/12 8:56 AM]:       at server.Connection.banIps(Connection.java:215)
    [1/4/12 8:56 AM]:       at server.Connection.initialize(Connection.java:32)
    [1/4/12 8:56 AM]:       at server.Server.main(Server.java:161)
    [1/4/12 8:56 AM]: java.io.FileNotFoundException: ./Data/bans/UsersMuted.txt (No such file or directory)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.open(Native Method)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:120)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:79)
    [1/4/12 8:56 AM]:       at java.io.FileReader.<init>(FileReader.java:41)
    [1/4/12 8:56 AM]:       at server.Connection.muteUsers(Connection.java:197)
    [1/4/12 8:56 AM]:       at server.Connection.initialize(Connection.java:33)
    [1/4/12 8:56 AM]:       at server.Server.main(Server.java:161)
    [1/4/12 8:56 AM]: java.io.FileNotFoundException: ./Data/bans/IpsMuted.txt (No such file or directory)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.open(Native Method)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:120)
    [1/4/12 8:56 AM]:       at java.io.FileInputStream.<init>(FileInputStream.java:79)
    [1/4/12 8:56 AM]:       at java.io.FileReader.<init>(FileReader.java:41)
    [1/4/12 8:56 AM]:       at server.Connection.muteIps(Connection.java:231)
    [1/4/12 8:56 AM]:       at server.Connection.initialize(Connection.java:34)
    [1/4/12 8:56 AM]:       at server.Server.main(Server.java:161)
    [1/4/12 8:56 AM]: java.io.FileNotFoundException: data/lolmap.bin (No such file or directory)
    [1/4/12 8:56 AM]:       at java.io.RandomAccessFile.open(Native Method)
    [1/4/12 8:56 AM]:       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
    [1/4/12 8:56 AM]:       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:101)
    [1/4/12 8:56 AM]:       at server.world.WalkingHandler.initialize(WalkingHandler.java:45)
    [1/4/12 8:56 AM]:       at server.Server.main(Server.java:169)
    [1/4/12 8:56 AM]: Server listening on port 46.183.217.134  :43594



    Thanks.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2010
    Age
    29
    Posts
    2,682
    Thanks given
    824
    Thanks received
    404
    Rep Power
    0
    Ubuntu is case sensitive, so change the D to d in Data.
    Reply With Quote  
     

  3. #3  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    Reply With Quote  
     

  4. #4  
    Extreme Donator


    Join Date
    Oct 2006
    Posts
    1,370
    Thanks given
    64
    Thanks received
    197
    Rep Power
    426
    Any linux distribution requires a (full,) case-sensetive path towards the file.

    So say your cfg file is in: home/server/Data/items.cfg
    you have to link to it like that.


    ~flow@hacking . rs
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2008
    Posts
    8
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks for the help

    now my server just got little errors
    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. Replies: 6
    Last Post: 02-11-2012, 09:25 AM
  2. Replies: 20
    Last Post: 12-21-2011, 01:41 PM
  3. Help with a VPS Linux Ubuntu.
    By Maximum ZxZ in forum Software
    Replies: 12
    Last Post: 11-29-2009, 01:49 PM
  4. .cfg Files Not Found
    By dark legend in forum Help
    Replies: 3
    Last Post: 11-25-2009, 11:08 AM
  5. Replies: 3
    Last Post: 09-28-2009, 07:44 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •