SFS 2x(2.12) stuck

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

Moderators: Lapo, Bax

nik0990
Posts: 76
Joined: 23 Dec 2016, 10:48
Location: India

SFS 2x(2.12) stuck

Postby nik0990 » 15 May 2017, 11:23

Hi,

log4j:ERROR Could not find value for key log4j.appender.DEBUG
log4j:ERROR Could not instantiate appender named "DEBUG".
log4j:ERROR Could not find value for key log4j.appender.DEBUG
log4j:ERROR Could not instantiate appender named "DEBUG".
16:53:10,428 INFO [main] v2.SmartFoxServer - Boot sequence starts...
16:53:10,694 INFO [main] core.SFSEventManager - AnonymousService-1 initialized
16:53:10,707 INFO [main] impl.DefaultFileReplicator - Using "/tmp/vfs_cache" as temporary files store.
16:53:10,746 INFO [main] v2.SmartFoxServer - License loaded:

==========================================
LICENSE DETAILS
------------------------------------------
Type : Community Edition
Max users : 100
==========================================

16:53:10,746 INFO [main] managers.SFSBannedUserStorage - BanUserStorage initialized
16:53:10,754 INFO [main] managers.SFSBannedUserManager - BanUser data loaded: 0 records.
16:53:10,757 INFO [main] v2.SmartFoxServer - Protocol Type is: BINARY
16:53:10,759 INFO [main] config.DefaultConfigLoader - Loading: zones/BasicExamples.zone.xml
16:53:10,777 INFO [main] config.DefaultConfigLoader - Loading: zones/3Patti.zone.xml
16:53:10,787 INFO [main] managers.SFSZoneManager -

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> Zone: BasicExamples
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

16:53:10,804 INFO [main] managers.SFSRoomManager - Room created: { Zone: BasicExamples }, [ Room: The Lobby, Id: 0, Group: default, isGame: false ], type = SFSRoom
16:53:10,804 INFO [main] managers.SFSZoneManager -

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> Zone: 3Patti
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

16:53:10,816 INFO [main] managers.SFSRoomManager - Room created: { Zone: --=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 1, Group: default, isGame: false ], type = SFSRoom
16:53:10,838 INFO [main] core.AdminToolService - AdminTool Service started
16:53:10,857 WARN [main] bootLogger - Was not able to bind socket: { 192.168.1.50:9933, (Tcp) }
16:53:10,865 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - Listening Sockets: { 0.0.0.0:9933, (Tcp) } { 127.0.0.1:9933, (Udp) } { 192.168.1.50:9933, (Udp) }
16:53:10,866 INFO [SFSWorker:Sys:1] v2.SmartFoxServer -
_____ _____ _____ ___ __ __
| __| __| __| |_ | | |
|__ | __|__ | | _|- -|
|_____|__| |_____| |___|__|__|
_____ _____ _____ ____ __ __
| __ | __| _ | \| | |
| -| __| | | |_ _|
|__|__|_____|__|__|____/ |_|
[ 2.12.0 ]

16:53:10,866 INFO [SFSWorker:Sys:1] v2.SmartFoxServer - SmartFoxServer 2X (2.12.0) READY!
log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
log4j:WARN Please initialize the log4j system properly.
16:53:11,454 INFO [main] v3.SessionFilter - BlueBox-2X Service (3.1.0) READY.
^C16:54:33,369 INFO [Thread-0] managers.SFSZoneManager - BuddyList saveAll...
16:54:33,370 WARN [SFS2X ShutdownHook] core.SFSShutdownHook - SFS2X is shutting down. The process may take a few seconds...
16:54:33,381 INFO [Thread-1] managers.SFSBannedUserManager - BanUser data saved.



After this smartfoxserver not running further.

Smartfoxserver version : 2.12
Java : 8
server Uruntu 16
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFS 2x(2.12) stuck

Postby Lapo » 15 May 2017, 13:47

The initial log4J errors are not normal. Is it possible you have edited some of the config files by hand?

Thanks
p.s. = does your Ubuntu server run other services? Maybe a web server?
Lapo
--
gotoAndPlay()
...addicted to flash games
nik0990
Posts: 76
Joined: 23 Dec 2016, 10:48
Location: India

Re: SFS 2x(2.12) stuck

Postby nik0990 » 15 Jun 2017, 06:15

Hi

Sorry for late reply,

My server also running apache too. So can you tell me what happened and my customize log file write few logs as well then it not working.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFS 2x(2.12) stuck

Postby Lapo » 15 Jun 2017, 07:41

It sounds like you have installed the server in a folder without all necessary permissions.

First of all make sure you uncompress the SFS2X tgz file in a folder where you have full read/write/execute privileges.
To avoid any such issues make sure to use a folder under your home directory.

Once this is done, start the server via ./sfs2x.sh and see if it boots up without errors.
If it doesn't let us know what errors there are.

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
nik0990
Posts: 76
Joined: 23 Dec 2016, 10:48
Location: India

Re: SFS 2x(2.12) stuck

Postby nik0990 » 15 Jun 2017, 09:49

15 Jun 2017 | 15:25:58,799 | INFO | main | bootLogger | | SmartFoxServer 2X
15 Jun 2017 | 15:25:58,800 | INFO | main | bootLogger | | BitSwarmEngine version: 3.40.3 { main }
15 Jun 2017 | 15:25:58,800 | INFO | main | bootLogger | | System Info:
Processor(s): 4
VM Max. memory: 7481MB
os.name: Linux
os.arch: amd64
os.version: 4.4.0-79-generic
java.version: 1.8.0_102
java.vendor: Oracle Corporation
java.vendor.url: http://java.oracle.com/
java.vm.specification.version: 1.8
java.vm.version: 25.102-b14
java.vm.vendor: Oracle Corporation
java.vm.name: Java HotSpot(TM) 64-Bit Server VM
java.io.tmpdir: /tmp
Default charset: UTF-8

15 Jun 2017 | 15:25:58,802 | INFO | main | bootLogger | | Network Info:
Card: eno1
->fe80:0:0:0:121f:569d:7cb:b91f%eno1
->192.168.0.50
Card: lo
->0:0:0:0:0:0:0:1%lo
->127.0.0.1

15 Jun 2017 | 15:25:58,808 | INFO | main | bootLogger | | Session manager ready: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager@1b410b60
15 Jun 2017 | 15:25:58,813 | INFO | main | bootLogger | | TCP Selector opened
15 Jun 2017 | 15:25:58,817 | INFO | main | bootLogger | | UDP Selector opened
15 Jun 2017 | 15:25:58,819 | INFO | main | bootLogger | | AcceptSelector opened
15 Jun 2017 | 15:25:58,826 | INFO | main | bootLogger | | Added bound tcp socket --> 192.168.0.50:9933
15 Jun 2017 | 15:25:58,828 | INFO | main | bootLogger | | Added bound udp socket --> 192.168.0.50:9933
15 Jun 2017 | 15:25:58,828 | INFO | Scheduler1-thread-1 | bootLogger | | Scheduler started: scheduler
15 Jun 2017 | 15:25:58,828 | INFO | main | bootLogger | | Controller started: com.smartfoxserver.v2.controllers.v290.SystemReqController
15 Jun 2017 | 15:25:58,829 | INFO | main | bootLogger | | Controller started: com.smartfoxserver.v2.controllers.v290.ExtensionReqController
15 Jun 2017 | 15:25:58,829 | INFO | main | bootLogger | | Controller started: com.smartfoxserver.v2.controllers.v290.SmasherReqController
15 Jun 2017 | 15:25:58,859 | INFO | main | bootLogger | | WebSocketService started: 192.168.0.50:8888
15 Jun 2017 | 15:25:58,860 | INFO | main | bootLogger | | Socket Writer started (pool size:3)
15 Jun 2017 | 15:25:58,862 | INFO | main | bootLogger | | Security Manager started
15 Jun 2017 | 15:25:58,863 | INFO | main | bootLogger | | DatagramReader started
15 Jun 2017 | 15:25:58,864 | INFO | main | bootLogger | | IOHandler: com.smartfoxserver.v2.protocol.SFSIoHandler@6853425f
15 Jun 2017 | 15:25:58,864 | INFO | main | bootLogger | | SocketReader started
15 Jun 2017 | 15:25:58,864 | INFO | main | bootLogger | | SocketAcceptor initialized
15 Jun 2017 | 15:25:58,864 | INFO | main | bootLogger | | [[[ ===--- Boot sequence complete ---=== ]]]



This is the boot logs
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFS 2x(2.12) stuck

Postby Lapo » 15 Jun 2017, 10:57

Thanks.
I am not sure what should I say about it? :mrgreen: :mrgreen:

I mean it is fine: normal SFS2X boot. Do you have any problems? If so show me what errors you get in smartfox.log
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 56 guests