Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
 Post subject: Running bukkit server.
PostPosted: Sat Apr 20, 2013 6:23 am 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
Hi.

I am trying to run bukkit on my unmanaged VDS. Unfortunately neither I nor my users can connect to the server when it is running. I've tried forwarding ports, installing the latest java and making various tweaks to bukkit's settings. I've even tried running a clean bukkit install opposed to attempting to run my backed up world and plugins. As such, I must inquire if there is something in my account settings I might have missed? Do I need to mess around with the firewall settings in my control panel?


Top
 Profile  
 
PostPosted: Sat Apr 20, 2013 8:22 am 
Offline
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 10506
Location: Seattle
Our VDSes comes fully capable of running Minecraft or any other software and you won't have to change the firewall settings in the control panel to support it.

Please post the messages that show when the server is started, and your server.properties file.


Top
 Profile  
 
PostPosted: Sat Apr 20, 2013 11:14 pm 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
When the server starts:

Code:
2013-04-20 09:53:56 [INFO] Starting minecraft server version 1.5.1
2013-04-20 09:53:56 [INFO] Loading properties
2013-04-20 09:53:56 [INFO] Default game type: SURVIVAL
2013-04-20 09:53:56 [INFO] Generating keypair
2013-04-20 09:53:56 [INFO] Starting Minecraft server on 0.0.0.0:25565
2013-04-20 09:53:56 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.1-R0.1-21-g49b0699-b2754jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.2)
2013-04-20 09:53:56 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2013-04-20 09:53:56 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2013-04-20 09:53:56 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2013-04-20 09:53:56 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2013-04-20 09:53:56 [INFO] Preparing level "world"
2013-04-20 09:53:57 [INFO] Preparing start region for level 0 (Seed: -4733326782828321877)
2013-04-20 09:53:57 [INFO] ----- Bukkit Auto Updater -----
2013-04-20 09:53:57 [INFO] It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
2013-04-20 09:53:57 [INFO] If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
2013-04-20 09:53:57 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
2013-04-20 09:53:57 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
2013-04-20 09:53:57 [INFO] ----- ------------------- -----
2013-04-20 09:53:57 [INFO] Preparing start region for level 1 (Seed: -2802359016421405722)
2013-04-20 09:53:58 [INFO] Preparing spawn area: 49%
2013-04-20 09:53:58 [INFO] Preparing start region for level 2 (Seed: -2802359016421405722)
2013-04-20 09:53:58 [INFO] Server permissions file permissions.yml is empty, ignoring it
2013-04-20 09:53:58 [INFO] Done (1.578s)! For help, type "help" or "?"


Server.properties:

Code:
#Minecraft server properties
#Sat Apr 20 09:53:56 EDT 2013
generator-settings=
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
snooper-enabled=true
hardcore=false
texture-pack=
online-mode=false
server-id=unnamed
pvp=true
difficulty=3
server-name=Bancraft
gamemode=0
max-players=20
spawn-monsters=true
generate-structures=true
view-distance=10
spawn-protection=16
motd=hello


I know the server-ip is left blank, but I have tried playing around with that field and nothing has worked. I have thus reverted it back to it's original state, which worked on my previous server.


Top
 Profile  
 
PostPosted: Sat Apr 20, 2013 11:32 pm 
Offline
Staff
Staff
User avatar

Joined: Wed Dec 28, 2011 10:41 pm
Posts: 240
Location: Oregon
As it says in your server log, your server is running in offline mode. Set online-mode=true in your server.properties and give your server a restart.


Top
 Profile  
 
PostPosted: Sat Apr 20, 2013 11:46 pm 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
As far as I understand, online mode is for verification of user accounts; if set to false people don't need to have their accounts verified with minecraft.net to join.

Regardless, I tried this and it did not work.


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 4:18 am 
Offline
This is my homepage
This is my homepage

Joined: Sun Jun 26, 2011 8:03 am
Posts: 1490
You didn't set the server ip.
server-ip=

You can see the issue in the log.
2013-04-20 09:53:56 [INFO] Starting Minecraft server on 0.0.0.0:25565

And as mentioned above, your running in offline mode.

Read the wiki here: http://www.minecraftwiki.net/wiki/Server.properties


online-mode

Code:
Server checks connecting players against minecraft's account database. [color=#FF0000]Only set this to false if your server is not connected to the Internet.[/color] Hackers with fake accounts can connect if this is set to false! If minecraft.net is down or inaccessible, no players will be able to connect if this is set to true. Setting this variable to off purposely is called "cracking" a server, and servers that are presently with online mode off are called "cracked" servers.
true - Enabled. The server will assume it has an Internet connection and check every connecting player.
false - Disabled. The server will not attempt to check connecting players.


Only set this to false if your server is not connected to the Internet.

_________________
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Procon Hosting $2.50/month - aaquacks.com
Find Your GSP Coupons at gspreviews.com/coupons/
Make Money Using Url Shortners at w1z.it


Last edited by .=QUACK=.Major.Pain on Sun Apr 21, 2013 4:22 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 4:21 am 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
I've already tried changing that to the server's ip. It doesn't do anything. And I've tried setting online-mode to true as well - nothing.


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 4:23 am 
Offline
This is my homepage
This is my homepage

Joined: Sun Jun 26, 2011 8:03 am
Posts: 1490
I edited the post - needs online-mode=true.

_________________
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Procon Hosting $2.50/month - aaquacks.com
Find Your GSP Coupons at gspreviews.com/coupons/
Make Money Using Url Shortners at w1z.it


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 4:29 am 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
I retried connecting with online-mode=true and server-ip=74.91.112.155 and this is the output.

Code:
08:26:13 [INFO] Starting minecraft server version 1.5.1
08:26:13 [INFO] Loading properties
08:26:13 [INFO] Default game type: SURVIVAL
08:26:13 [INFO] Generating keypair
08:26:13 [INFO] Starting Minecraft server on 74.91.112.155:25565
08:26:13 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.1-R0.1-21-g49b0699-b2754jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.2)
08:26:13 [INFO] Preparing level "world"
08:26:13 [INFO] Preparing start region for level 0 (Seed: -4733326782828321877)
08:26:14 [INFO] ----- Bukkit Auto Updater -----
08:26:14 [INFO] It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
08:26:14 [INFO] If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
08:26:14 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
08:26:14 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
08:26:14 [INFO] ----- ------------------- -----
08:26:14 [INFO] Preparing start region for level 1 (Seed: -2802359016421405722)
08:26:14 [INFO] Preparing spawn area: 49%
08:26:14 [INFO] Preparing start region for level 2 (Seed: -2802359016421405722)
08:26:15 [INFO] Server permissions file permissions.yml is empty, ignoring it
08:26:15 [INFO] Done (1.536s)! For help, type "help" or "?"


Still unable to connect.


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 4:34 am 
Offline
This is my homepage
This is my homepage

Joined: Sun Jun 26, 2011 8:03 am
Posts: 1490
Did you install any firewalls?

_________________
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Procon Hosting $2.50/month - aaquacks.com
Find Your GSP Coupons at gspreviews.com/coupons/
Make Money Using Url Shortners at w1z.it


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 4:36 am 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
None. Server is days old.


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 10:02 am 
Offline
Staff
Staff
User avatar

Joined: Wed Dec 28, 2011 10:41 pm
Posts: 240
Location: Oregon
When I ping port 25565 at that IP I get that the port is closed. Would you mind showing us the output of iptables -L ?


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 10:13 am 
Offline
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 10506
Location: Seattle
Does the server work normally without Bukkit?


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 10:52 am 
Offline
Staff
Staff
User avatar

Joined: Sat Nov 13, 2010 7:27 am
Posts: 598
Location: Dallas, TX
As long as you are on a single IP address, or running nothing else on 25565 with any other IP address, you can bind to 0.0.0.0 without any issues. Also, offline mode is only for verifying your username on the server end.

I would reiterate John's suggestion of simply trying to run with only minecraft_server.jar first, making sure you can connect, then switching to your craftbukkit.jar (with no plugins), verifying that works, then slowly adding one plugin at a time.


Top
 Profile  
 
PostPosted: Sun Apr 21, 2013 6:48 pm 
Offline
A semi-regular
A semi-regular

Joined: Sat Apr 20, 2013 6:05 am
Posts: 21
I just tried vanilla server, no luck. iptables -L outputs this:

Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:25565

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination


I forwarded port 25565 and it's still coming as closed, which is why I initially asked if there were some additional settings that I might have missed.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: kraze and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
It is currently Mon Sep 01, 2014 8:14 pm
Powered by phpBB® Forum Software © phpBB Group