|
Dedicated Server Discuss technical issues related to hosting your own servers. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Problem since last update
Since the last update, my server seems to be choosing the wrong network interface, generating messages like:
Code:
INFO [2010-03-04 02:57:15,653] [main]: Initializing update module on local IP 0.0.0.0/0.0.0.0, UDP port 27275 ERROR [2010-03-04 02:57:15,669] [main]: java.io.IOException: Network is unreachable Was anything changed in the code that would result in this happening, or should I be looking into some other problems with the machine itself? Edit: and just for further reference, doing things like pinging external addresses is working fine. |
#2
|
|||
|
|||
I haven't touched any networking stuff in a while -- Offhand I'd assume it's related to local network configs.
|
#3
|
|||
|
|||
Alright, I guess I'll get to work figuring out what changed in my networking adapters. Will edit this post once I figure out the problem.
|
#4
|
|||
|
|||
Have you tried manually specifying the bind address? You can make the change from the UI (click Change next to Bind IP) or by modifying line 2 of launcher_config.xml (ex: change ip="" to ip="192.168.1.2")
|
#5
|
|||
|
|||
Hmm, yeah, when I was thinking about ways of making this work I forgot that was part of the config file, lol.
But now I'm getting a different issue (well, marginally different). I put the proper IP into the config file (IE: <ServerLauncherConfig ip="67.23.34.136" upnpEnabled="false" updatePort="27275"> ) But when I run the server, its giving me an invalid argument error: Code:
INFO : Initializing update module on local IP /67.23.34.136, UDP port 27275 ERROR : ServerLauncher update initialization failed java.net.SocketException: Invalid argument at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(Unknown Source) at java.net.DatagramSocket.bind(Unknown Source) at java.net.MulticastSocket.<init>(Unknown Source) at lr.<init>(SourceFile:10) at jY.<init>(SourceFile:48) at Gl.a(SourceFile:245) at Gl.<init>(SourceFile:94) at is.<init>(SourceFile:69) at bf.<init>(SourceFile:149) at bf.a(SourceFile:691) at em.entry.EntryServerLauncher.main(SourceFile:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at em.update.client.launch.UpdateLauncher.a(SourceFile:240) at em.update.client.launch.UpdateLauncher.main(SourceFile:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.Launcher.main(Unknown Source) ERROR : ServerLauncher update initialization failed, exiting. |
#6
|
|||
|
|||
Weird -- asking the VPS host seems like a good idea; hopefully they can shed some light on the situation.
|
#7
|
|||
|
|||
someone had a similar issue on debian. I dont know what OS you're running:
edit /etc/sysctl.d/bindv6only.conf change 'net.ipv6.bindv6only = 1' to 'net.ipv6.bindv6only = 0' make sure to reinitialize your system so the new settings take effect e.g. after disabling bindv6only sudo invoke-rc.d procps restart |
#8
|
|||
|
|||
Quote:
|
|
|