Jump to content

Error Server CentOS


Skvox_X

Recommended Posts

I'm working in a VPS and I get the next error.

Initialising Server Systems...SVN REVISION 956loading 64bit RakNetFailed loading 64bit RakNet - trying 32bitJava HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/soporte/skvox/SteamCMD/pz/projectzomboid/libRakNet32.so which might have disabled stack guard. The VM will try to fix the stack guard now.It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.Exception in thread "main" java.lang.ExceptionInInitializerError        at sun.misc.Unsafe.ensureClassInitialized(Native Method)        at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source)        at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)        at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)        at java.lang.reflect.Field.getFieldAccessor(Unknown Source)        at java.lang.reflect.Field.get(Unknown Source)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeStatics(LuaJavaClassExposer.java:393)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:366)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:575)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:583)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:583)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeList(LuaJavaClassExposer.java:560)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:578)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:580)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeList(LuaJavaClassExposer.java:560)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:578)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeList(LuaJavaClassExposer.java:560)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:548)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:580)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:580)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeList(LuaJavaClassExposer.java:560)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:578)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:580)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:571)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeList(LuaJavaClassExposer.java:560)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:578)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:571)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:583)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:583)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:583)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:580)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:571)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:539)        at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaRecursively(LuaJavaClassExposer.java:525)        at zombie.Lua.LuaManager.init(LuaManager.java:237)        at zombie.network.GameServer.doMinimumInit(GameServer.java:353)        at zombie.network.GameServer.main(GameServer.java:85)Caused by: java.lang.RuntimeException: Failed to load RakNet library        at zombie.core.raknet.RakNetPeerInterface.<clinit>(RakNetPeerInterface.java:23)        ... 54 more

Somebody know how to fix it?

 
Link to comment
Share on other sites

 

Can you run "ldd /home/soporte/skvox/SteamCMD/pz/projectzomboid/libRakNet32.so" ?

 

 

Segmentation fault

-----

 

 

I update the server to the beta "iwillbackup..."

 

and a new error appear :S

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/soporte/skvox/SteamCMD/pz/projectzomboid/liblwjgl.so: /home/soporte/skvox/SteamCMD/pz/projectzomboid/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)        at java.lang.ClassLoader$NativeLibrary.load(Native Method)        at java.lang.ClassLoader.loadLibrary1(Unknown Source)        at java.lang.ClassLoader.loadLibrary0(Unknown Source)        at java.lang.ClassLoader.loadLibrary(Unknown Source)        at java.lang.Runtime.load0(Unknown Source)        at java.lang.System.load(Unknown Source)        at org.lwjgl.Sys$1.run(Sys.java:70)        at java.security.AccessController.doPrivileged(Native Method)        at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)        at org.lwjgl.Sys.loadLibrary(Sys.java:95)        at org.lwjgl.Sys.<clinit>(Sys.java:112)        at org.lwjgl.opengl.Display.<clinit>(Display.java:135)        at zombie.gameStates.MainScreenState.main(MainScreenState.java:120)
Link to comment
Share on other sites

 

Ahh.. It might be CPU architecture. Can you confirm exactly the specs of the system you're running on, including server OS version.

Linux Publico2 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
 
 

Processor:

vendor_id       : GenuineIntelcpu family      : 6model           : 30model name      : Intel(R) Core(TM) i5 CPU         750  @ 2.67GHzstepping        : 5cpu MHz         : 2666.702cache size      : 8192 KBphysical id     : 0siblings        : 4core id         : 1cpu cores       : 4apicid          : 2initial apicid  : 2fpu             : yesfpu_exception   : yescpuid level     : 11wp              : yesflags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpidbogomips        : 5333.40clflush size    : 64cache_alignment : 64address sizes   : 36 bits physical, 48 bits virtual

10 gb RAM

7oT49.png

 

Link to comment
Share on other sites

 

ldd libRakNet32.so

./libRakNet32.so: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./libRakNet32.so)
        linux-gate.so.1 =>  (0x0024e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0024f000)
        libm.so.6 => /lib/libm.so.6 (0x00d14000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001e7000)
        libc.so.6 => /lib/libc.so.6 (0x0033d000)
        /lib/ld-linux.so.2 (0x006d8000)

 

Anyone have a link to libc that has GLIB_2.15 in it? Compiling took me 8 hours last time.

 

Update:

well. Compiling it right now..

Following this tutorial: http://snipt.org/BfWa9 (using 2.19)

 

Another update:

Compiled succesfully!

 

Last update:

YEAH IT WORKS NOW. WHOOOOOOOOOOOO.

Edited by woutske
Link to comment
Share on other sites

  • 6 months later...

So everyone using CentOS and having this problem:

 

Follow this tutorial with at least 2.15 and you should be good to go.

 

http://snipt.org/BfWa9

 

 

By using that guide the 2.15 did not work on centos for me personally. One of the devs on it mentioned it has been fixed on 2.16 and using that guide and changing the 2.14 wget to 

wget http://ftp.gnu.org/gnu/glibc/glibc-2.16.0.tar.gz

and continue with the guide and it will work perfectly for those having issues with 2.15. 

Link to comment
Share on other sites

  • 2 months later...

Hello,
also I am trying to host a server on centos 6.5
I'm following this guide: http://snipt.org/BfWa9

The various steps are:

1. wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz2. tar -xvzf glibc-2.14.tar.gz3. cd glibc-2.144. mkdir glibc-build5. cd glibc-build6. ../configure --prefix='/usr'7. make8. sudo make install

I replaced it with the version 2.16

 

Got to the point 6, it gives me this error:

[root@games glibc-build]# ../configure --prefix='/usr'checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for gcc... gccchecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking for sysdeps preconfigure fragments... x86_64 checking whether gcc compiles in -mx32 mode by default... noconfigure: running configure fragment for add-on libidnconfigure: running configure fragment for add-on nptlchecking for assembler gnu_indirect_function symbol type support... yeschecking whether .text pseudo-op must be used... yeschecking for assembler global-symbol directive... .globlchecking for assembler .type directive prefix... @checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64/nptl sysdeps/unix/sysv/linux/x86_64/64 nptl/sysdeps/unix/sysv/linux/x86_64 nptl/sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix sysdeps/posix nptl/sysdeps/x86_64/64 sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/genericchecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking whether as is GNU as... yeschecking whether ld is GNU ld... yeschecking for as... aschecking version of as... 2.20.51.0.2, okchecking for ld... ldchecking version of ld... 2.20.51.0.2, okchecking for gcc... gccchecking version of gcc... 4.4.7, okchecking for gnumake... nochecking for gmake... gmakechecking version of gmake... 3.81, okchecking for gnumsgfmt... nochecking for gmsgfmt... nochecking for msgfmt... msgfmtchecking version of msgfmt... 0.17, okchecking for makeinfo... nochecking for sed... sedchecking version of sed... 4.2.1, okchecking for readelf... readelfchecking for nm... nmchecking for autoconf... autoconfchecking whether autoconf works... yesconfigure: WARNING:*** These auxiliary programs are missing or incompatible versions: makeinfo*** some features will be disabled.*** Check the INSTALL file for required versions.checking LD_LIBRARY_PATH variable... contains current directoryconfigure: error:*** LD_LIBRARY_PATH shouldn't contain the current directory when*** building glibc. Please change the environment variable*** and run configure again.[root@games glibc-build]#

How do I solve?

Thank You.

Link to comment
Share on other sites

Resolved!

 

I downloaded from here http://ftp.redsleeve.org/pub/steam/ the following files:

 

glibc-2.15-60.el6.i686.rpm
glibc-2.15-60.el6.x86_64.rpm
glibc-common-2.15-60.el6.x86_64.rpm
glibc-devel-2.15-60.el6.x86_64.rpm
glibc-headers-2.15-60.el6.x86_64.rpm

 

Then I wrote in the console:

rpm -Uvh glibc-2.15-60.el6.i686.rpm \         glibc-2.15-60.el6.x86_64.rpm \         glibc-common-2.15-60.el6.x86_64.rpm \         glibc-devel-2.15-60.el6.x86_64.rpm \         glibc-headers-2.15-60.el6.x86_64.rpm

And finally I launched the server:

 

./projectzomboid-dedi-server.sh

 

;)

Link to comment
Share on other sites

  • 8 months later...
./ProjectZomboid64: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /root/pZm/Zm/projectzomboid/linux64/libsteam_api.so)./ProjectZomboid64: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /root/pZm/Zm/projectzomboid/linux64/libsteam_api.so)

I'll change to debian and try again

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...