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?
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 &:
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).
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.