Games in Progress: 3 | Players logged in: 5 | Players Registered: 37413 | Games Played Total: 68649
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Network error on debian linux  (Read 1128 times)
dirkson
Mule Forum Newbie
*
Posts: 1


View Profile
« on: January 08, 2010, 16:27 »

Hey there. Utterly unable to play the game on debian- Attempting to log into the metaserver generates a "network is unreachable" error, as does skipping the login and trying to start a local game.
Logged
Peter
Turborilla
Administrator
Mule Expert
*****
Posts: 379


Planet M.U.L.E. Team


View Profile WWW
« Reply #1 on: January 08, 2010, 16:30 »

It may be helpful to us if you attach your log file found at mule/data/log.txt. My general adivce for Linux is to check that you have the lastest version of Java from Sun installed, close any programs you might have running in the background and update network drivers if there are updates available.
« Last Edit: January 08, 2010, 16:35 by Peter » Logged

ahven
Mule Forum Newbie
*
Posts: 1


View Profile
« Reply #2 on: January 08, 2010, 17:36 »

Same problem over here Sad

$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

$ uname -a
Linux ruuter 2.6.32 #1 SMP PREEMPT Thu Dec 31 22:26:56 EET 2009 i686 GNU/Linux

Debian squeeze, 32-bit.
Logged
foirax
Mule Forum Newbie
*
Posts: 1


View Profile
« Reply #3 on: January 09, 2010, 11:42 »

Hello everyone

Seems to be a common bug to debian unstable 64 bits.

Here is log.txt :

  INFO [Properties.<init>]                           VERSION: 1.2.0
  INFO [Properties.<init>]                           Classpath: ./data.jar
  INFO [Properties.<init>]                           Java VM: 14.3-b01
  INFO [Properties.<init>]                           Java Runtime: 1.6.0_17-b04
  INFO [Properties.<init>]                           OS: Linux 2.6.32-trunk-amd64 amd64
  INFO [Properties.<init>]                           Java Library Path: lib
  INFO [Properties.<init>]                           Max Memory: 238616576
  INFO [Properties.<init>]                           Avaialble Processors: 4
  INFO [PropertiesBase.readFromFile]                 Reading Settings from file settings.txt
  INFO [MasterClient.close]                          MasterServer: Closing...
  INFO [MasterClient.close]                          MasterServer: Closed (32ms)
  INFO [MetaFrame.<init>]                            Creating Meta Frame
  INFO [MapSkinParser.findSkins]                     No extra skins found
  INFO [MasterClient.logSend]                        MasterClient: Sending Enter Lobby
  INFO [Login.dispose]                               Disposing login
  INFO [Main.main]                                   Creating game container
  INFO [MuleGameContainer.create]                    LWJGL Version: 2.2.1
  INFO [MuleGameContainer.create]                    Desktop Display Mode: 1920 x 1080 x 24 @50Hz
  INFO [MuleGameContainer.create]                    Current Display Mode: 1920 x 1080 x 24 @50Hz
  INFO [MuleGameContainer.create]                    Display Adapter: null
  INFO [MuleGameContainer.create]                    Display Driver: null
  INFO [SlickLogSystem.info]                         Slick Build #269
  INFO [MuleGameContainer.<init>]                    TargetDisplayMode: 640 x 480 x 0 @0Hz
  INFO [MuleGameContainer.setVSync]                  Setting vsync: true
  INFO [MuleGameContainer.<init>]                    Setting pixel format
  INFO [MuleGameContainer$1.run]                     Pixel format: Samples=0 Alpha=0 Depth=8 Stencil=0
  INFO [SlickLogSystem.info]                         Starting display 640x480
  INFO [SlickLogSystem.info]                         Use Java PNG Loader = true
  INFO [MuleGameContainer.<init>]                    Input controllers not available
  INFO [MuleGameContainer.setVSync]                  Setting vsync: true
  INFO [MuleGameContainer.<init>]                    Display finished
  INFO [SettingsDialog.applySettings]                Changing map skin to default
  INFO [Main.main]                                   Entering game loop
  INFO [MuleGameContainer.init]                      *** Starting Game ***
  INFO [MuleGameContainer.init]                      Display Created: true, Active: false, Visible:true
  INFO [MuleGameContainer.init]                      Making display the current GL context
  INFO [MuleGameContainer.setWindowedMode]           Setting windowed mode: 640 x 480 x 0 @0Hz
  INFO [View.<init>]                                 Creating view...
  INFO [SlickLogSystem.info]                         Initialising sounds..
  INFO [SlickLogSystem.info]                         - Sound works
  INFO [SlickLogSystem.info]                         - 64 OpenAL source available
  INFO [SlickLogSystem.info]                         - Sounds source generated
  INFO [View.<init>]                                 Finished creating view
  INFO [GameController.setModel]                     ++++++++ New Model: CONNECT #0 +++++++++++++++++++++++++++++++++++++++++++
  INFO [Server.<init>]                               Server: Creating
  INFO [Server.<init>]                               Server: Started on TCP address /0:0:0:0:0:0:0:0:6260
  INFO [Server.<init>]                               Server: Started on UDP address /0:0:0:0:0:0:0:0:6260
  INFO [Client.connect]                              Client connects...
  INFO [Client.connect]                              Client UDP local address: 0.0.0.0/0.0.0.0:6261
  INFO [Client.connect]                              Client: Connects TCP: /127.0.0.1:6260 UDP: /127.0.0.1:6260
  INFO [Client.connect]                              Client: TCP receive buffer: 43690 send buffer: 8192
  WARNING [ConnectPhase.begin]                       Client failed to connect to server: SOCKET EXCEPTION: Network is unreachable
  INFO [MuleGameContainer.setWindowedMode]           Setting windowed mode: 640 x 480 x 0 @0Hz
  INFO [MuleGameContainer.setWindowedMode]           Setting windowed mode: 640 x 480 x 0 @0Hz

Everything else seems to work, including fullscreen but seemed low-res.

cya
Logged
tomguru
Jr. Planeteer
**
Posts: 17


View Profile
« Reply #4 on: January 09, 2010, 21:48 »

Same problem here (on a Debian Testing/Squeeze system):
java.net.SocketException: Network is unreachable

I'm in an RFC1918 LAN behind NAT, which should be a common setup...

Log files (data/log.txt, data/updater_log.txt and data/nohup.out) are attached.

Code:
# java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
#

# cat /etc/debian_version
squeeze/sid
#

# cat /proc/version
Linux version 2.6.30-bpo.2-amd64 (Debian 2.6.30-8~bpo50+2) (nobse@debian.org) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Thu Dec 10 12:32:34 UTC 2009
#

Output of 'LANG=C apt-cache policy' is also attached (apt-cache_policy.txt)

If you need anything else just shout...
« Last Edit: January 09, 2010, 23:16 by tomguru » Logged
tomguru
Jr. Planeteer
**
Posts: 17


View Profile
« Reply #5 on: January 12, 2010, 06:38 »


At least in my case this very issue was caused by this nasty Debian Squeeze bug. Took me a while to realize java did not allow IPv4 network connections generally. Now I've got a new bug but this deserves a new thread.
Logged
fsienkiewicz
Mule Forum Newbie
*
Posts: 1


View Profile
« Reply #6 on: January 17, 2010, 18:52 »

tomguru -- thanks for the link! 

I'm also running Debian Squeeze (testing) and have been locked out of MULE for the past week since an apt-get upgrade of the java packages.  I followed the easy fix mentioned in the linked bug report and I'm good to go now.

Thanks!
Logged
Pages: [1]
  Print  
 
Jump to: