I am using Debian 6 64bit
I managed to make the server work by typing the option -Xmx256m with the command ./sfs2x.sh. Therefore, when i try to launch the daemon, it simply "freezes" at launching process, here are the logs:
Code: Select all
11 May 2012 | 08:47:50,025 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Boot sequence starts...
11 May 2012 | 08:47:50,037 | INFO | main | smartfoxserver.v2.SmartFoxServer | |
_____ _____ _____ ___ __ __ _____ _____ _____ _____
| __| __| __| |_ | | | | __ | | |_ _|
|__ | __|__ | | _|- -| | __ -| | | | | | |
|_____|__| |_____| |___|__|__| |_____|_____|_____| |_|
11 May 2012 | 08:47:51,179 | INFO | main | smartfoxserver.v2.SmartFoxServer | | License code not found, starting Community Edition license
11 May 2012 | 08:47:51,179 | INFO | main | v2.core.SFSEventManager | | AnonymousService-1 initalized
11 May 2012 | 08:47:51,266 | INFO | main | vfs.impl.DefaultFileReplicator | | Using "/tmp/vfs_cache" as temporary files store.
11 May 2012 | 08:47:51,483 | INFO | main | smartfoxserver.v2.SmartFoxServer | | License loaded:
===================================
LICENSE DETAILS
-----------------------------------
Type : Community Edition
Max users : 100
===================================
11 May 2012 | 08:47:51,484 | INFO | main | entities.managers.SFSBannedUserStorage | | BanUserStorage initialized
11 May 2012 | 08:47:51,501 | INFO | main | entities.managers.SFSBannedUserManager | | BanUser data loaded: 0 records.
11 May 2012 | 08:47:51,567 | INFO | main | v2.config.SFSConfigurator | | Loading: zones/SimpleChat.zone.xml
11 May 2012 | 08:47:51,666 | INFO | main | entities.managers.SFSZoneManager | |
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> Zone: SimpleChat
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
I also check boot.log, but nothing was traced here.
when i type "./sfs2x-service status " it tells me that the daemon is running, but i cannot connect, since it didn't even started to bind sockets.
Edit: Apparently my extension is related to the freeze, when i deactivated it, the server started normally... Locally, the extension has no problem at all!
This time i added the command -Xmx128m the extension started but it got stuck at " AdminTool Service started". Seem like it definitively is a memory related problem, but this makes no sense, the free -m command shows that i have more than 230mb of ram.
I tried to load the sfsTrs.jar extension, but i had the same problem, which proves this is not related to my extension.
EDIT2: i managed to make everything start, it works (not every time, once every 10 tries) until a certain point where i receive this error, that crashes the server:
Code: Select all
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (synchronizer.cpp:1227), pid=1273, tid=139986511714048
# Error: guarantee(object->mark() == markOopDesc::INFLATING(),"invariant")
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )
# An error report file with more information is saved as:
# /home/SFS2X-RC1b/SFS2X/hs_err_pid1273.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
I swiched to Ubuntu Server 11.04 "Natty Narwhal" - 32 bits, but i have the same issues!
I dont know what is going on, any help would be appreciated.