Unable to start sfs-service on linux. ./sfs2x.sh works fine!

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
Zenith
Posts: 55
Joined: 09 Oct 2017, 09:57

Unable to start sfs-service on linux. ./sfs2x.sh works fine!

Postby Zenith » 07 Oct 2018, 14:10

Hey,

I noticed that on my linux server I am unabel to start ./sfs2x-service start

What happens is command runs but the server does not start up.

While if I use ./sfs2x.sh it runs fine.

The sfsserverice-start command was working fine earlier.

Can you guide what to check?
I restarted server but it still did not work.
I am told that sfs2x-service is for production? its faster maybe?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Unable to start sfs-service on linux. ./sfs2x.sh works fine!

Postby Lapo » 08 Oct 2018, 14:46

Hi,
I am told that sfs2x-service is for production? its faster maybe?

no it's not faster but it's recommended because it launches SFS2X as a service, so it can also be used to auto-start the server when the machine boots and it can be controlled via the normal service management commands in Linux.

Conversely sfs2x.sh launches the server for the duration of the current user session or until you press CTRL+C.

Here's what I'd recommend to do:

- Stop SFS2X if it's running
- Go to the SFS2X/logs/ folder and remove all the .log files
- Start the server with ./sfs2x-service start
- Wait 30 seconds and check the smartfox.log file (under SFS2X/logs/)

Let us know
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 97 guests