[Solved]VPS Setup help.[Solved]

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

Moderators: Lapo, Bax

Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 21 Jul 2014, 20:20

rjgtav wrote:Hello,

Are you using the correct java runtime for linux from Sun Microsystems?

I suggest you to look at this topic, as it seems about the same issue you're facing:
viewtopic.php?f=1&t=2166&p=8797&hilit=SmartFoxSimpleLogFormatter#p8797

Cheers

But doesn't PRO come with an embedded JRE? I deleted it off the Linux vps because I thought I had the version on it. I am reinstalling the 64 bit on the VPS and I will post back to you what happens.
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 22 Jul 2014, 02:17

Okay so I got it somewhat working, I use ./sfs start but I only see "starting smartfoxserver pro so I can't debug the problem that makes it fail.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VPS Setup help.

Postby Lapo » 22 Jul 2014, 09:32

Just look inside the log files, under the logs/ folder.
Open the wrapper<some_date>.log file.
Lapo
--
gotoAndPlay()
...addicted to flash games
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 22 Jul 2014, 21:02

Lapo wrote:Just look inside the log files, under the logs/ folder.
Open the wrapper<some_date>.log file.

There are no other logs and it says this: There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2014/07/22 20:07:02 | There may be a configuration problem: please check the logs.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VPS Setup help.

Postby Lapo » 23 Jul 2014, 08:06

Are you sure you have installed the right type of server for your VPS? E.g. Linux 64 for a 64bit system, or Linux 32 for a 32bit system
Lapo

--

gotoAndPlay()

...addicted to flash games
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 23 Jul 2014, 14:36

Lapo wrote:Are you sure you have installed the right type of server for your VPS? E.g. Linux 64 for a 64bit system, or Linux 32 for a 32bit system

Yeah, I checked the version it gave me: Linux version 2.6.32-431.20.3.el6.x86_64 so I grabbed the 64 bit version of smartfoxserver.
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 23 Jul 2014, 14:40

I forgot to paste these errors.


Code: Select all

 --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/07/22 20:06:45 | Launching a JVM...
ERROR  | wrapper  | 2014/07/22 20:06:45 | Unable to start JVM: No such file or directory (2)
ERROR  | wrapper  | 2014/07/22 20:06:45 | JVM exited while loading the application.
STATUS | wrapper  | 2014/07/22 20:06:50 | Launching a JVM...
ERROR  | wrapper  | 2014/07/22 20:06:50 | Unable to start JVM: No such file or directory (2)
ERROR  | wrapper  | 2014/07/22 20:06:50 | JVM exited while loading the application.
STATUS | wrapper  | 2014/07/22 20:06:54 | Launching a JVM...
ERROR  | wrapper  | 2014/07/22 20:06:54 | Unable to start JVM: No such file or directory (2)
ERROR  | wrapper  | 2014/07/22 20:06:54 | JVM exited while loading the application.
STATUS | wrapper  | 2014/07/22 20:06:58 | Launching a JVM...
ERROR  | wrapper  | 2014/07/22 20:06:58 | Unable to start JVM: No such file or directory (2)
ERROR  | wrapper  | 2014/07/22 20:06:58 | JVM exited while loading the application.
STATUS | wrapper  | 2014/07/22 20:07:02 | Launching a JVM...
ERROR  | wrapper  | 2014/07/22 20:07:02 | Unable to start JVM: No such file or directory (2)
ERROR  | wrapper  | 2014/07/22 20:07:02 | JVM exited while loading the application.
FATAL  | wrapper  | 2014/07/22 20:07:02 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2014/07/22 20:07:02 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2014/07/22 20:07:02 | <-- Wrapper Stopped
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VPS Setup help.

Postby Lapo » 23 Jul 2014, 14:51

That doesn't look good :(
It seems your installation is corrupted. I would recommend to reinstall from scratch.

Make sure to install the server in a folder where you have full read/write privileges. Also pay attention to the installation process and make sure there are no errors.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 23 Jul 2014, 15:00

Lapo wrote:That doesn't look good :(
It seems your installation is corrupted. I would recommend to reinstall from scratch.

Make sure to install the server in a folder where you have full read/write privileges. Also pay attention to the installation process and make sure there are no errors.

Thanks

Oh my... thanks Lapo will do.
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: VPS Setup help.

Postby Ninjaoninja2 » 23 Jul 2014, 21:14

Lapo wrote:That doesn't look good :(
It seems your installation is corrupted. I would recommend to reinstall from scratch.

Make sure to install the server in a folder where you have full read/write privileges. Also pay attention to the installation process and make sure there are no errors.

Thanks

I did what you told me to but i'm still getting the same error.
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

FIXED!

Postby Ninjaoninja2 » 23 Jul 2014, 21:57

I fixed it now, I renamed my file from SFS Pro to SFSPro so I had to edit the paths in the wrapper.conf

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 43 guests