I followd the Servoy Developer User Guide to create a database connection. I am stuck at the point, where I stop the SQL repository database server. Servoy doesn’t start the server any more and I get an error message (see attachemnt). It seems to be the process sybase_db/dbsrv9 @sybase_db/sybase.config in the process list. How can I start this process again?
I added one database into location /Applications/Servoy/database/ where all the other Servoy installed databases (like crm.db, example.db …) reside (are installed by default at installation).
Best regards, Robert
IT2BE:
Hello Robert,
Are all your databases in a location that your sybase.config points to?
OK, so that is putting your physical database file into the location but what about the sybase.config file that is in your servoy root/sybase_db/ directory? Did you modify that to point to the file too?
Like Marcel said are you sure that Sybase opens the repository database?
Unlike database engines like MySQL and PostgreSQL Sybase has to be told what database it has open for you to connect to.
I think the problem is that the server proces (sybase_db/dbsrv9 @sybase_db/sybase.config) is not running (as daemon process). Before I was quitting the process (see my initial post) everythin was ok. But after restarting Servoy, this process did not start again. So I assume I have to start it somehow manually.
Don’t know for sure if and what it will help but my first line looks like this:```
-ti 0 -x tcpip{dobroadcast=no} -qs -qw -o ../Servoy/sybase_db/sybase_log.txt
I. 08/29 19:36:13. Database server started at Mon Aug 29 2005 19:36
I. 08/29 19:36:13. Trying to start SharedMemory link …
I. 08/29 19:36:13. SharedMemory link started successfully
I. 08/29 19:36:13. Trying to start TCPIP link …
I. 08/29 19:36:13. Starting on port 2638
I. 08/29 19:36:13. TCPIP link started successfully
I. 08/29 19:36:13. Now accepting requests
E. 08/29 19:56:51. Database cannot be started – server must be upgraded to start “/Applications/Servoy/database/SoaringSky.db” (capability 35 missing).
E. 08/29 19:59:46. Database cannot be started – server must be upgraded to start “/Applications/Servoy/database/SoaringSky.db” (capability 35 missing).
I assume E. stands for Error and that seems to be the problem. The db is not started by the developer (I use Servoy Developer). The Developer should do that automatically (but doesn’t), shouldn’t it? What is capability 35?
Regards, Robert
ROCLASI:
Can you check the sybase_log.txt for errors?
You find it in /Applications/servoy/sybase_db/.
I think the repository database is not opened by Sybase, but I thought Servoy Developer does start that?
Regards, Robert
ROCLASI:
Like Marcel said are you sure that Sybase opens the repository database?
Unlike database engines like MySQL and PostgreSQL Sybase has to be told what database it has open for you to connect to.
Did you by any chance created the Sybase database with Sybase Central 9.02?
Servoy uses Sybase iAnywhere 9.0.1. They don’t seem to be compatible.
Make sure you create the database with the Servoy provided dbinit (see /Applications/Servoy/sybase_db/)
It seems when Sybase encounters an error it quits on you so that is the reason why the repository database won’t open.
I tried your path but still get the same message of my initial post Can’t connect to the repository server so I assume it’s safe to say the repository db is not up (whatever that exactly is, I don’t know yet .-)