Page 3 of 3
Re: Resolve it
Posted: 15 Feb 2009, 02:36
by turnA
Ceciaman wrote:Ok,
find the problem.
When unpack program from root to home folder, in "Server/config" open file wrapper.conf and swap relative link.
Now work

Hi ceciaman, can you explain better your solution? This will be helpful.
Thanks!
Posted: 15 Feb 2009, 10:52
by Ceciaman
Hi turnA,
the problem if you see in ./sfs console
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)
is the jvm don't start because don't find directory.
Open in conf folder the file "wrapper.conf" and change the directory of files with right directory.
1) I have "root" as primary folder where i've upload SFS.tar.gz
2) I unpacked in new folder "home" in the same level of folder "root"
LINUX
-root
-var
-usr
-home
.....
when i open wrapper.conf i found a directory "../home/SFS...../" and i changed it with "./".
Now all work
./sfs start | stop | console work
Server work from 2 days, and use admin.swf to Restart change and control multiplayer.
Posted: 17 Feb 2009, 01:10
by turnA
Ceciaman wrote:Hi turnA,
the problem if you see in ./sfs console
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)
is the jvm don't start because don't find directory.
Open in conf folder the file "wrapper.conf" and change the directory of files with right directory.
1) I have "root" as primary folder where i've upload SFS.tar.gz
2) I unpacked in new folder "home" in the same level of folder "root"
LINUX
-root
-var
-usr
-home
.....
when i open wrapper.conf i found a directory "../home/SFS...../" and i changed it with "./".
Now all work
./sfs start | stop | console work
Server work from 2 days, and use admin.swf to Restart change and control multiplayer.
Nice! The problem solved.
Thanks ceciaman!!
Changing from SFS Basic 1.6 to SFS Pro 1.4
Posted: 07 May 2009, 10:59
by Amra
Hei,
I'm Changing from SFS Basic 1.6 to SFS Pro 1.4 because of TheoAvatar.
Now I'm trying to install version 1.4 of SFSPro. First I had this version SFSBasic 1.6 an d it worked very well and there wasn't any installation problems.
But now my sfs console says that:
"jvm 1 | [ --> FATAL ERROR <-- ]: Error initializing server.
jvm 1 |
jvm 1 | Check if server address and port are properly configured.
jvm 1 |
jvm 1 | Exception caught in SmartFoxServer
jvm 1 | java.net.BindException: Address already in use
jvm 1 | at sun.nio.ch.Net.bind(Native Method)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFoxServer.java:374)
jvm 1 | at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:558)
jvm 1 |
jvm 1 |
jvm 1 | Shutting down server...
jvm 1 |
wrapper | <-- Wrapper Stopped
"
The SFS PRO shuts down as soon I have started it. What happens over here? I'm using Linux Debian and I have all the correct permissions to the files. And I have changed the Server IP in config.xml in Server-folder.
It seems that another service is running this port. I have removed this Basic version before installation this Pro version. What is going on...?
Regards,
Niina
Posted: 07 May 2009, 11:36
by Lapo
The problem is that there is already another server running on the same port, probably another SmartFoxServer instance.
Make sure to quit the previous running instance.
Posted: 08 May 2009, 05:22
by Amra
Lapo wrote:The problem is that there is already another server running on the same port, probably another SmartFoxServer instance.
Make sure to quit the previous running instance.
Problem solved.
"killall java" stopped all the running java processes.
thnx,
Niina
Posted: 07 Nov 2009, 10:39
by vega
Similar problem here as well.
I have SmartFoxServer Pro 1.6.6 installed on a linux hosting server (/usr/src/SmartFoxServer_PRO_1.6.6/). I can start the server using ./sfs start and it shows the server as running when I check the status using "./sfs status". But it only runs for like 3-4 seconds max before quitting and shows the message that "SmartFoxServer PRO is not running." when I check the status after that.
Also, I too am getting the same error message which some people posted here when trying to run it in console mode
Code: Select all
Running SmartFoxServer PRO...
wrapper | --> Wrapper Started as Console
wrapper | Java Service Wrapper Community Edition 3.3.1
wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.org
wrapper |
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 2 | wrapper | Unable to start JVM: No such file or directory (2)
wrapper | Launching a JVM...
wrapper | JVM process is gone.
jvm 3 | wrapper | Unable to start JVM: No such file or directory (2)
wrapper | <-- Wrapper Stopped
I have already tried what fourfour said about using the "ln -s ../jre/bin/java" command from the /Server directory but the problem is still there.
Will really appreciate any help in this matter.
Posted: 07 Nov 2009, 17:07
by Lapo
Pay attention to the Linux version.
This error is typical of an architecture mismatch... x86 vs x86-64 bit.
In order to see what type of Linux you are using, type the following in a terminal window:
uname -a
Make sure that the Linux type matches the package you have downloaded
hope it helps
Posted: 08 Nov 2009, 09:31
by blop
I have the same problem that Vega.
I've tried several times to install SFS 32-bit and I can not start the server.
Also, I try to install SFS 64 bits but, with this version I haven't run the install.
When I type uname -a, in the window appear:
CEST 2009 i686 i686 i386 GNU Linux
The server OS is CentOS 5
Thanks for help
Posted: 09 Nov 2009, 09:48
by Lapo
All I can say is to follow the steps indicated in the documentation.
Always use the installer, make sure to install under your home folder and check if any error is reported at the end of the setup process.
Errors during installation can compromise the ability to run the server, however if no error is shown you shouldn't have any problems.
Finally use the command:
to test launch the application. This will show on screen any errors.
Posted: 23 Sep 2010, 16:42
by nschommer
rcox wrote:fourfour wrote:Is there any way I can pay you a fee to install?
fourfour, this seems to be a common problem. I too found that the SF installer is broken on linux. Your problem can be fixed by doing this:
1. Go into to the Server/ directory
2. ln -s ../jre/bin/java
Then try again. Good luck.
This should be added to the documentation!
Re: Linux install issues
Posted: 29 Oct 2015, 13:29
by arthurgoulart
Same issue here
Im using a vps with full root access
Linux 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
When i use start.sh it freezes here
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.6 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
|
www.smartfoxserver.com |
|
www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
The server is still offline even when sfs status return that is running
Re: Linux install issues
Posted: 29 Oct 2015, 14:04
by Lapo
You should check the logs and see if there's any boot error.
Let us know.