Page 1 of 1

Install Server on DigitalOcean server

Posted: 15 Mar 2016, 09:59
by chamroeun
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

Re: Install Server on DigitalOcean server

Posted: 15 Mar 2016, 10:17
by chamroeun
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.

Re: Install Server on DigitalOcean server

Posted: 15 Mar 2016, 11:42
by Lapo
If you duplicate any of those .mod files and rename it with the same version number of your JRE it will work.

Re: Install Server on DigitalOcean server

Posted: 15 Mar 2016, 12:57
by chamroeun
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;

Re: Install Server on DigitalOcean server

Posted: 10 May 2016, 06:58
by Janice87
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.

Re: Install Server on DigitalOcean server

Posted: 10 May 2016, 07:27
by Lapo
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