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.
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.
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...?
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
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.
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
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.