Linux install issues

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 24 Nov 2008, 07:08

Use the following command and have a look at the error message:

Code: Select all

./sfs console
Lapo
--
gotoAndPlay()
...addicted to flash games
dope
Posts: 9
Joined: 10 Jan 2008, 15:42

Postby dope » 11 Feb 2009, 17:06

Hello,

i have the same Problem. I want start the Server with ./sfs start, but the permission to jvm denied.

When i chance the permission of the files like "chmod -R 777 ../server" the Server runs. But i dont want to set the permissions of the files for all users and everyone.

What permissions for the smartfoxserverfiles are the right?

P.S. I had a message at the end of the installing like "he cannot set the right permissions for the smartfoxserver files. Make it with hand.

Thanks and Greetings
Dope
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 11 Feb 2009, 17:47

P.S. I had a message at the end of the installing like "he cannot set the right permissions for the smartfoxserver files. Make it with hand.

That is the root of the problem.
When you get that error it means that you don't have enough privileges to write in the installation folder.

Normally, if you install in your home folder or any sub-folder under that directory you shouldn't have problems.
I would recommend retrying the installation, if you installed in a place other than your home
Lapo

--

gotoAndPlay()

...addicted to flash games
dope
Posts: 9
Joined: 10 Jan 2008, 15:42

Postby dope » 11 Feb 2009, 19:47

Hello,

thanks for your answer. How can i deinstall the smartfoxserver? Only delete the files or is there any script for deinstalling?

Greetings
dope
dope
Posts: 9
Joined: 10 Jan 2008, 15:42

Postby dope » 11 Feb 2009, 20:20

Hello,

when i install the smartfox in my homedirectory is the same Problem

Greetings
dope
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 12 Feb 2009, 08:30

Can you give more details?
What OS do you use? Do you have admin rights in the system?
Is it a VPS?
Which folder do you use for installing?
What are the privileges of that folder?
Lapo

--

gotoAndPlay()

...addicted to flash games
dope
Posts: 9
Joined: 10 Jan 2008, 15:42

Postby dope » 12 Feb 2009, 15:24

Hello,

The OS is OpenSuSE 10.1

The Server is a VPS with all Privileges (Full root access)

at first i have tried to install the smartfox in /usr

after your post i have tried to install the smartfox at /home/"username" with and without root privileges. At all installations the same Problem.

P.S. i have simply deleted all Files (without any deinstallation script or else). I hope this is right :D

Greetings
dope
turnA
Posts: 6
Joined: 26 Jan 2009, 04:59

Postby turnA » 13 Feb 2009, 03:09

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.


Hi all,
I'm having the same problem with TS. It seems the wrapper can't start a JVM.

Is there anyone who have any idea to solve this? I don't understand rcox solution, it seems not working to me.
Thanks.
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 13 Feb 2009, 10:49

I'm having the same problem with TS. It seems the wrapper can't start a JVM.

What is TS?
Can you report the error from the wrapper logs?
Alternatively simply type this in a terminal:

Code: Select all

sfs console

to show the wrapper output in the window
Lapo

--

gotoAndPlay()

...addicted to flash games
Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Postby Ceciaman » 13 Feb 2009, 11:39

Hi Lapo,
olso i've same problem.

Only with start.sh server start but it shut down after 10/20 minutes
this is console report.

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
[root@mhwipbur-unix Server]#

For me is most important becouse i end my multiplayer and i've to buy a SFS PRO license.

waiting news
turnA
Posts: 6
Joined: 26 Jan 2009, 04:59

Postby turnA » 13 Feb 2009, 12:39

Lapo wrote:
I'm having the same problem with TS. It seems the wrapper can't start a JVM.

What is TS?
Can you report the error from the wrapper logs?
Alternatively simply type this in a terminal:

Code: Select all

sfs console

to show the wrapper output in the window


Hi Lapo,
TS = Thread Starter
My output is same with what Ceciaman mentioned.
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 13 Feb 2009, 13:38

Ceciaman, turnA:
I would need to know the details:
- Server version
- OS version/vendor
- The server boot logs
- Hosting type: is it a VPS?
- any other infos that could help
Lapo

--

gotoAndPlay()

...addicted to flash games
Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Data Server

Postby Ceciaman » 13 Feb 2009, 14:27

Dedicate Server
System hostname mhwipbur-unix.alicomitalia.it
Operating system CentOS Linux 5.2
Webmin version 1.450
Kernel and CPU Linux 2.6.18-92.1.22.el5 on i686

I've already take a Server to http://www.shockwaveserver.com/.
In that server SFS go very well but in Italy the band go to 12KB/s with 19 node and i refuse it.

Now new server is in Italy (I know that also you are italian and if you want tell me best server with SFS PRO).

T's
Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Resolve it

Postby Ceciaman » 13 Feb 2009, 15:22

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 :P
dope
Posts: 9
Joined: 10 Jan 2008, 15:42

Postby dope » 13 Feb 2009, 15:55

Hello,

here my way to install the server:

1. at first i unpack the file like the way in the Documentation.

2. at the installation i install it in /home/"username" (or in other folders with the same effect)

The message in the installation is:
Could not set file permissions in target folder:/home/"username"/SFS_BASIC_1.5.5
Application was installed but you may need to set file permissions manually.


When i try to start the server with ./sfs the message is:
-bash: ./sfs: no permission

When i chance the file permissions from sfs and wrapper in the server folder and start the server i have this message:

wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM ....
wrapper | Unable to start a JVM
jvm 1 | wrapper | Unable to start JVM: Permission denied (13)
wrapper | <-- Wrapper stopped

P.S. all file permission at the installation are right

Greetings

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 42 guests