Sorry about the length of this post but I felt it best to add as much as I could to differentiate my problem from the others, and being a novice in the SQL/*NIX world must admit to being clueless about what is or isn’t relevant.
After a complete reinstall of Servoy r2 up to 2.0.4 build 277 I’m unable to get Sybase started up as the repository server.
Previously I had a fully functional Servoy setup, ie Sybase repository was working but I was unable to install Sybase Central.
Now I’ve been able to get it installed by uninstalling everything Servoy, downloading and reinstalling the Sybase Anywhere package ( 9.0.1) and then reinstalling and upgrading Servoy 2 till I get to 2.0.4. But now when I start up Servoy it complains as follows:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. I/O error during “open” operation for file “/Applications/Data/Servoy/database/SERVOY.GDB”
Error while trying to open file
null
Reason: I/O error during “open” operation for file “/Applications/Data/Servoy/database/SERVOY.GDB”
Error while trying to open file
null
Meanwhile I can’t find the Sybase server in the process viewer and Sybase Central reports no running engine. If I go to the sybase_db directory and try starting the engine directly by double clicking on dbsrv9 I get the following terminal output:
/Applications/Data/Servoy/sybase_db/dbsrv9; exit
Welcome to Darwin!
[HumDinger:~] lucidlee% /Applications/Data/Servoy/sybase_db/dbsrv9; exit
dyld: /Applications/Data/Servoy/sybase_db/dbsrv9 can’t open library: libdbserv9_r.dylib (No such file or directory, errno = 2)
but the file is here
[HumDinger:~] lucidlee% /Applications/Data/Servoy/sybase_db/libdbserv9_r.dylib
so I don’t understand why it fails to find it.
There is no sybase.log so I guess the engine never fires up. When I check the DB Server Preferences for the standard databases (repository_server etc) they all specify the firebird driver:
jdbc:firebirdsql:localhost/3050:%%user.dir%%/database/SERVOY.GDB?lc_ctype=WIN1252
yet servoy.properties shows this
Definition 1
server.0.serverName=repository_server
server.0.URL=jdbc:sybase:Tds:localhost:2638?ServiceName=servoy_repository&CHARSET=utf8
server.0.driver=com.sybase.jdbc2.jdbc.SybDriver
and other definitions are similar. Also sybase.config shows this
-ti 0 -x tcpip{dobroadcast=no} -qs -qw -o sybase_db/sybase_log.txt
database/servoy_repository.db
database/user_data.db
database/example.db
database/log_data.db
database/crm.db
which seems pretty much as it should be, so what is the problem and how do I recover from this snafu?
Lee
Mac G4 512Mb RAM, Macosx 10.3.5, Java 1.4.2
Additional info: I did have 3 servoy directories - two with a Firebird repository, one other with Sybase which I used most often and recently with success except I could never get Sybase Central to install.