servoy 5 and sybase 11 on linux/debian 5

Debian 5
JRE 1.6.0.17

I have installed servoy 5.0.1 incl. sybase 11 on a server with debian 5.
While starting the servoy-server by console/terminal [./servoy_server &] I get the output:
.
Database server started at Sun Jan 03 2010 11:38
Trying to start SharedMemory link …
SharedMemory link started successfully
Trying to start TCPIP link …
TCPIP link started successfully
Now accepting requests
Connection terminated abnormally
Disconnected TCPIP client’s AppInfo: HOST=xxxxxserver.net

[1]+ Exit 1 ./servoy_server.sh
.

The dbsrv11 is running, but not the servoy_server. Is it a problem of the os, machine or of the servoy-settings?

What error do you have in the log ?

Hi Laurian,

what kind of log do you need? I have checked " /var/log/messages" and copied it in my topic.

servoy_log.txt from application_server folder. An error should be in there.

The error in the servoy_log.txt file I get is:

2010-01-04 16:17:16,446 ERROR [main] com.servoy.j2db.util.Debug - Cannot upgrade repository: make a backup of your repository and
start server with -upgradeRepository flag.

Here ist the complete output when I enter ./servoy_server.sh &:

start_terminal.pdf (22 KB)

Your repository is old or empty. As the error suggests you should start with the flag -upgradeRepository ( modify the sh file to add it). If upgrade is successful, remove the flag and start the server again. Note that if you already have a repository it won’t be useable with older Servoy versions (with versions that have a different repository version - this is why the suggestion is to make a backup).

Ok, thank you Laurian!

But it is a complete default install without any changes and/or modifications.
However, where shall I add/set the “-upgradeRepository” on the sh file?

tgs:
Ok, thank you Laurian!

But it is a complete default install without any changes and/or modifications.
However, where shall I add/set the “-upgradeRepository” on the sh file?

Hmm, sorry, no modification needed, you have to run

./servoy_server.sh -upgradeRepository

But if this is new install and you use the sybase database this shouldn’t be needed. Maybe you have other database started and application server connects to it ? In this case upgrade wouldn’t be a good idea, I guess.

That was it! The servoy server is now running and I have access to servoy-admin.

Thank you once more!