Servoy 5.2 application_server on remote Linux machine

Hello,

Have remote Linux machine with MySQL db;
Using Putty;
While ago I installed there Servoy 5.1 and it worked as expected

Needed Servoy 5.2 so I installed it from scratch in different folder; but it doesn’t want to startup.
After the installation and startup try, servoy.properties and servoy_log.txt are not generated. Anyway, I tried with copying them and modifying .properties -any specific settings here?

Decided to upgrade the existing 5.1: ran servoy_updater.jar and it went smooth; but doesn’t want to startup now.

So I can’t startup neither the server installed from scratch nor the updated one. Both have MySQL as repository_server.
Executed also ```
nohup sudo ./servoy_server.sh -upgradeRepository


In debugging purpose, I installed Servoy52 on local Windows and connected it to same MySQL (remote for this local) as repository_server: it starts up and works as expected

Is this OS related? Linux permissions (considering OS reinsllation, but that will take a LOT of time)? Specific Servoy52 settings?
Any idea? 

Regards

Which the error(s) that you receive? Is file structure correct (any missing files)?

Thank you for your reply, lvostinar

No error message; servoy_log.txt is not generated;
File structure is same as on local machine where it works properly. Usual file structure: Servoy with application_server only.
Before running servoy_updater.jar server started up and worked properly

Command line doesn’t seem to register

nohup sudo ./servoy_server.sh 

command at all

Any idea? How to debug?

What if you run without nohup? Don’t you get any error in command line or servoy_log.txt ?

No error in the command line and servoy_log.txt is not generated. That’s why suspicion is OS related.

How to debug?
Should I contact the host’s support with description of the problem? Tried already with rebooting the server from admin panel. Is reinstallation of OS there a possible solution?
Any idea?

Regards

Tokajac,

Try

sudo /bin/sh

And then (to see if you indeed switched to root)

id

And then

./servoy_server.sh

Btw, running servoy server as root should not be needed, unless you have installed it as well as root (which should also not be needed)

Rob

Started up! Thank you Rob!

Logged in as root;
Entered password on executing

sudo /bin/sh

Command

id

gave output:

uid=0(root) gid=0(root) groups=0(root)

Than

./servoy_server.sh

Logged in to remote servoy-admin via browser from my local machine

Looking after precise purpose of sudo /bin/sh now as that seem to bring the fix… Will check if I’m able to startup now as non-root user

Regards

P.S.
Maybe to collect useful UNIX commands on the wiki page? Most of production servers run on that platform
http://wiki.servoy.com/display/public/D … ion+Server