Thread: Hosting on ubuntu VPS

Results 1 to 4 of 4
  1. #1 Hosting on ubuntu VPS 
    Adurna Entertainment
    Nero_'s Avatar
    Join Date
    Oct 2011
    Posts
    50
    Thanks given
    25
    Thanks received
    18
    Rep Power
    9
    Hello!

    I recently decided to buy a VPS, but I don't have any experience with ubuntu/linux, therefore I am asking here. (no, i could not find any tutorials which were up to date).

    The VPS is bought from: www.digitalocean.com

    What I have done so far:

    • Downloaded openJDK
    • Connected to the VPS through Putty.
    • Made a directory in root called 'rsky'.
    • Uploaded the server files to the directory 'rsky' with Filezilla.


    • Headed into the server files directory and executed this command:
      Code:
      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


    It's giving me this error:
    Code:
    root@Runesky:~/rsky# 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
    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:146)
            at java.util.Scanner.<init>(Scanner.java:656)
            at server.world.ItemHandler.loadItemPrices(ItemHandler.java:307)
            at server.world.ItemHandler.<init>(ItemHandler.java:37)
            at server.Server.<clinit>(Server.java:67)
    ./Data/CFG/npc.cfg: file not found.
    ./Data/CFG/spawn-config.cfg: file not found.
    shops.cfg: file not found.
    [ObjectDef] Configuration has been loaded...
    [Region] Configuration has been loaded...
    [6/15/15 9:05 AM]: Done loading raredrops!
    [6/15/15 9:05 AM]: Loaded 1024 doors in 345ms.
    [6/15/15 9:05 AM]: Loaded 273 Double doors in 33ms.
    [6/15/15 9:05 AM]: Server - accepting connections from port 43594.
    It's pretty obvious that the directory ./Data/CFG/ and the files: prices.txt, npc.cfg & shops.cfg isn't found.

    To me that sounds ridiculous, because when I head into the directory that isn't found, it's there:



    On top of that I got some other questions aswell:

    • How do I portforward on a VPS?
    • How am I supposed to use no-ip?
    • How can I keep the server running when I turn my computer off?


    If there is any other details you need to help out, shout it out!

    All help is highly appreciated!
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    TRy change "Data" to "data", and see if that helps.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    HTML5, jQuery & CSS3 Master
    Jaiden Watling's Avatar
    Join Date
    Nov 2010
    Age
    29
    Posts
    888
    Thanks given
    305
    Thanks received
    92
    Rep Power
    0
    ^ i agree with this. check your casing in the Path/to/File.txt Linux is MUCH more case sensitive. You may also run into something like this:


    if you open your character files in notepad later.

    No problem:


    Just use notepad++

    Reply With Quote  
     

  5. #4  
    Adurna Entertainment
    Nero_'s Avatar
    Join Date
    Oct 2011
    Posts
    50
    Thanks given
    25
    Thanks received
    18
    Rep Power
    9
    I just canceled the linux vps because it pissed me off so bad.

    I guess your right, Arch. Will remember to try that out once I decide to move back to linux haha.

    Thank you both anyways!
    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: 2
    Last Post: 12-13-2009, 02:42 PM
  2. Hosting on ready VPS for a Good Server
    By razeen72 in forum Hosting
    Replies: 7
    Last Post: 11-27-2009, 12:20 AM
  3. Hosting on my vps
    By Huey in forum Hosting
    Replies: 0
    Last Post: 05-10-2009, 10:41 PM
  4. iExiled. - 24-7 Hosted on a VPS
    By Poptart in forum Advertise
    Replies: 26
    Last Post: 01-18-2009, 02:06 AM
  5. Hosting On My Vps
    By Kingdom in forum Hosting
    Replies: 0
    Last Post: 12-10-2008, 03:15 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
  •