Page 1 of 3
Linux install issues
Posted: 04 Feb 2007, 11:03
by fourfour
I know this is a common issue, but I have been trying for a few hours and finally broke down to ask for help. I just bought new hosting today just to install smartFoxServer. It is a linux server with 256 RAM/ 512 burst ram. I have tried intalling the server multiple times with no luck. There is no java on the server.
./start.sh: line 1: java: command not found
-bash-3.00$ ./sfs start
Starting SmartFoxServer PRO...
-bash-3.00$ ./sfs console
Running SmartFoxServer PRO...
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
wrapper | Unable to start a JVM
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)\
wrapper | <-- Wrapper Stopped
-bash-3.00$
This is the error i get. I tried searching through posts and trying many things. Any help would be appreciated.
I am trying to install Pro.
Thanks!!
Posted: 04 Feb 2007, 14:37
by Lapo
the first thing you have to do, after uncompressing the archive, is to launch the installer.
Did you do so?
Did you get any errors during the installation process?
Posted: 04 Feb 2007, 19:55
by fourfour
Yes the install said it went fine. I installed it in the directory ../server
Posted: 04 Feb 2007, 20:09
by Lapo
okay, now you can move to that directory and launch it
Posted: 04 Feb 2007, 20:15
by fourfour
Ya, I have tried that. It says it is starting, then when I do ./sfs status it says it is not running?
Posted: 04 Feb 2007, 20:18
by fourfour
Do I need to start it as a daemon first? I cannot find out the path from root to the httpdocs directory. I am on a new server...
Posted: 04 Feb 2007, 20:34
by Lapo
I don't understand your question
All you need to do is to move to the folder where you installed the server to and use
./server start
to run the server
Posted: 04 Feb 2007, 20:41
by fourfour
This is what I am doing:
Last login: Sun Feb 4 12:45:33 2007 from ip68-227-84-57.sb.sd.cox.net
-bash-3.00$ cd httpdocs/server/SFS_PRO_1.5.0/Server
-bash-3.00$ ls
bannedUsers.sfs javaExtensions logs sfsExtensions webserver
conf lib runAsService start().sh wrapper
config.xml licence.sfl sfs start.sh wrapper.log
-bash-3.00$ ./sfs start
Starting SmartFoxServer PRO...
-bash-3.00$ ./sfs status
SmartFoxServer PRO is not running.
-bash-3.00$ ./sfs console
Running SmartFoxServer PRO...
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
wrapper | Unable to start a JVM
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)
wrapper | <-- Wrapper Stopped
-bash-3.00$
It says it is not running. I really appreciate your help.
Posted: 04 Feb 2007, 20:48
by fourfour
Is there any way I can pay you a fee to install?
Posted: 14 Feb 2007, 00:28
by rcox
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.
Posted: 05 May 2007, 10:12
by MRayx13
I havea very similar problem also. I installed the server fine on my CentOS 4 Linux, but I get the following error when I try to start the server :
[root@ip-208-109-237-183 Server]# ./sfs start
Starting SmartFoxServer PRO...
[root@ip-208-109-237-183 Server]# ./sfs status
SmartFoxServer PRO is not running.
[root@ip-208-109-237-183 Server]# ./sfs console
Running SmartFoxServer PRO...
wrapper | ERROR: Could not write pid file /root/sfs/SFS_BASIC_1.5.5/Server/runAsService//SmartFoxServer.pid: No such file or directory
Posted: 05 May 2007, 10:33
by Lapo
The Linux version of SFS BASIC was originally packed with a missing folder -> runAsService.
You just need to create it inside your
Server/ folder with this command:
We apologize for the inconvenience. The current version available for download is now fixed
Posted: 07 May 2007, 08:17
by MRayx13
The problem still persists. I can't run the server via ./sfs start, the same error happens. ./start.sh works and the server runs smoothly but after about an hour, the server shuts itself down without any warning.
Ridibona
Posted: 22 Nov 2008, 09:00
by ridibona
Before you do ./sfs start .
Go ahead and open up config.xml and change the IP address to your server IP, and then do:
./sfs start
Hope it helps.
Still Doesnt work
Posted: 23 Nov 2008, 22:06
by poppysan
I have the latest Smartfox and am experiencing the same issues. I start it in Linux, (./sfs start) and it says Starting Smartfox server pro...
Then i check the status and it says that it is not running. My config has my ip address, and the crossdomain policy, as well as the port, but still it does not work.
I really need to launch my app and this is the last hurdle. Everything works locally (windows).
Any help is appreciated!