The daemon wont start

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

smilefr
Posts: 58
Joined: 23 Mar 2009, 16:50
Location: France

The daemon wont start

Postby smilefr » 11 May 2012, 06:49

Hi,

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.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: The daemon wont start

Postby Lapo » 12 May 2012, 13:08

It seems you are using a pretty old version:
/home/SFS2X-RC1b/SFS2X/hs_err_pid1273.log
version RC1b is over one year old, please update to the latest 2.0.1 installer and then apply the 2.1.0 patch if the problem is solved.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 58 guests