Page 1 of 1

Problem installing on MAC - Maverick

Posted: 08 Apr 2014, 14:27
by plebs
Hi I have this problem when starting the application on Mac. I am sure that there is not another sfs running.

Thank you.


Code: Select all

15:28:26,167 INFO  [main] v2.SmartFoxServer     - Boot sequence starts...
15:28:26,188 INFO  [main] v2.SmartFoxServer     - 
 _____ _____ _____    ___ __ __    _____ _____ _____ _____ 
|   __|   __|   __|  |_  |  |  |  | __  |     |     |_   _|
|__   |   __|__   |  |  _|-   -|  | __ -|  |  |  |  | | |  
|_____|__|  |_____|  |___|__|__|  |_____|_____|_____| |_|

15:28:27,283 INFO  [main] v2.SmartFoxServer     - License code not found, starting Community Edition license
15:28:27,284 INFO  [main] core.SFSEventManager     - AnonymousService-1 initalized
15:28:27,323 INFO  [main] impl.DefaultFileReplicator     - Using "/var/folders/l5/_hrjnpdj3kg8gdflczf5rj700000gn/T/vfs_cache" as temporary files store.
15:28:27,465 INFO  [main] v2.SmartFoxServer     - License loaded:

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

15:28:27,467 INFO  [main] managers.SFSBannedUserStorage     - BanUserStorage initialized
15:28:27,487 INFO  [main] managers.SFSBannedUserManager     - BanUser data loaded: 0 records.
15:28:27,496 INFO  [main] v2.SmartFoxServer     - Protocol Type is: BINARY
15:28:27,500 INFO  [main] config.SFSConfigurator     - Loading: zones/BasicExamples.zone.xml
15:28:27,558 INFO  [main] managers.SFSZoneManager     - 

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

15:28:27,611 INFO  [main] managers.SFSRoomManager     - Room created: { Zone: BasicExamples }, [ Room: The Lobby, Id: 0, Group: default, isGame: false ]
15:28:27,926 INFO  [main] managers.SFSRoomManager     - Room created: { Zone: --=={{{ AdminZone }}}==-- }, [ Room: AdminRoom, Id: 1, Group: default, isGame: false ]
15:28:27,936 INFO  [main] core.AdminToolService     - AdminTool Service started
15:28:29,944 WARN  [main] mortbay.log     - failed SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already in use
15:28:29,944 WARN  [main] mortbay.log     - failed Server@13c26b5: java.net.BindException: Address already in use
15:28:29,946 ERROR [main] v2.SmartFoxServer     - java.net.BindException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.net.BindException
Message: Address already in use
Description: The specified TCP port cannot be bound to the configured IP address.
Possible Causes: Probably you are running another instance of SFS2X. Please double check using the AdminTool.
Start a new browser page at http://<your-sfs-domain>/admin/
If the problem persists, email us the content of this error message to support[at]smartfoxserver.com
+--- --- ---+
Stack Trace:
+--- --- ---+
sun.nio.ch.Net.bind0(Native Method)
sun.nio.ch.Net.bind(Net.java:344)
sun.nio.ch.Net.bind(Net.java:336)
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:315)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
org.mortbay.jetty.Server.doStart(Server.java:235)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
com.smartfoxserver.v2.http.SFSHttpServer.start(SFSHttpServer.java:111)
com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:250)
com.smartfoxserver.v2.Main.main(Main.java:31)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
com.install4j.runtime.launcher.Launcher.main(Unknown Source)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Re: Problem installing on MAC - Maverick

Posted: 08 Apr 2014, 14:42
by Lapo
Looks like you have another SFS2X already running.
You either started it previously or maybe you installed the server as a background service, so it runs all the times.

To check if another instance is running just point your browser to http://localhost:8080

cheers