Install Server on DigitalOcean server

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

Moderators: Lapo, Bax

chamroeun
Posts: 10
Joined: 18 Feb 2016, 17:15

Install Server on DigitalOcean server

Postby chamroeun » 15 Mar 2016, 09:59

Hi,
I try to install SFS Server on DigitalOCean.com. I use Ubuntu 64Bit:
I used the Java on the server instead of the one included in the zip folder of sfsserver. Because I can't make the included java vm to work.

I try to run the server, I got this message:

Code: Select all

05:50:19,315 INFO  [SFSWorker:Sys:1] v2.SmartFoxServer     - SmartFoxServer 2X (2.9.0) READY!
java.io.IOException: Cannot read file: modules/npn/npn-1.7.0_95.mod
   at org.eclipse.jetty.start.Modules.registerModule(Modules.java:405)
   at org.eclipse.jetty.start.Modules.registerAll(Modules.java:395)
   at org.eclipse.jetty.start.Main.processCommandLine(Main.java:561)
   at org.eclipse.jetty.start.Main.main(Main.java:102)
   at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
   at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:295)
   at com.smartfoxserver.v2.Main.main(Main.java:27)



-------------
Here is my Java on the server
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)



ANY ADVISE TO GET IT WORKING? THANKS
chamroeun
Posts: 10
Joined: 18 Feb 2016, 17:15

Re: Install Server on DigitalOcean server

Postby chamroeun » 15 Mar 2016, 10:17

The problem is THIS FILE DOESN'T EXIST. why it refers to to npn for the Java Version on the server.


Here's the available files:::
npn-1.7.0_10.mod npn-1.7.0_13.mod npn-1.7.0_17.mod npn-1.7.0_25.mod npn-1.7.0_45.mod npn-1.7.0_5.mod npn-1.7.0_7.mod
npn-1.7.0_11.mod npn-1.7.0_15.mod npn-1.7.0_21.mod npn-1.7.0_40.mod npn-1.7.0_4.mod npn-1.7.0_6.mod npn-1.7.0_9.mod




I COPY npn-1.7.0_45.mod as npn-1.7.0_95.mod but still not work.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Install Server on DigitalOcean server

Postby Lapo » 15 Mar 2016, 11:42

If you duplicate any of those .mod files and rename it with the same version number of your JRE it will work.
Lapo
--
gotoAndPlay()
...addicted to flash games
chamroeun
Posts: 10
Joined: 18 Feb 2016, 17:15

Re: Install Server on DigitalOcean server

Postby chamroeun » 15 Mar 2016, 12:57

I COPY npn-1.7.0_45.mod as npn-1.7.0_95.mod but still not work.


Oh! I copied it and paste it to the wrong place. I am very clumsy with Unix command line. :lol:

After checking it again. I copy again and now it works. let's see what is next to tackle...

Thanks;
Janice87
Posts: 1
Joined: 10 May 2016, 06:49

Re: Install Server on DigitalOcean server

Postby Janice87 » 10 May 2016, 06:58

chamroeun wrote:Hi,
I try to install SFS Server on DigitalOCean.com. I use Ubuntu 64Bit:
I used the Java on the server instead of the one included in the zip folder of sfsserver. Because I can't make the included java vm to work.

I try to run the server, I got this message:

Code: Select all

05:50:19,315 INFO  [SFSWorker:Sys:1] v2.SmartFoxServer     - SmartFoxServer 2X (2.9.0) READY!
java.io.IOException: Cannot read file: modules/npn/npn-1.7.0_95.mod
   at org.eclipse.jetty.start.Modules.registerModule(Modules.java:405)
   at org.eclipse.jetty.start.Modules.registerAll(Modules.java:395)
   at org.eclipse.jetty.start.Main.processCommandLine(Main.java:561)
   at org.eclipse.jetty.start.Main.main(Main.java:102)
   at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
   at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:295)
   at com.smartfoxserver.v2.Main.main(Main.java:27)



-------------
Here is my Java on the server
java version "1.7.0_95"
OpenJDK Sitelock review (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)



ANY ADVISE TO GET IT WORKING? THANKS


Hi Chamroen,
I have no experience with digital Ocean cloud host. Is it good?
I'm presently using a different cloud hosting service but I'm am not fully happy with it.
Is there any other good options.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Install Server on DigitalOcean server

Postby Lapo » 10 May 2016, 07:27

Jelastic is a good one. It is one of our hosting partners:
http://smartfoxserver.com/cloud/jelastic

We recommend it because it's a good one, we don't get paid or anything of that sort :) In the page above take also a look at the other cloud partners (left side menu)

cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 43 guests