Hello, I have installed SQL Anywhere 11 as a bundle of Servoy 5 on a Debian 7 (64 bit) dedicated Root Server. The Sybase installation directory is /home/<user>/servoy/application_server/sybase_db and /home/<user>/servoy/application_server/database To start Sybase I execute the shell script sybase_server.sh:
But this doesn't work and I get the output: "...dbsrv11: No such file or directory" and if I change to the directory "/home/<user>/servoy/application_server/sybase_db" to execute "$ ./dbsrv11" the output is also "...dbsrv11: No such file or directory"!? The path is correct and the file dbsrv11 exists... for me it is a mystery. If I execute "$ . ./dbsrv11" I get "cannot execute binary file".
Help is very appreciated. Regards Thomas
In your last sentence it looks like your tried sourcing dbsrv11 (i.e. I see a dot just before ./dbsrv11)? First check that dbsrv11 is executable and then don't source the program, just execute it using "./dbsrv11" - what happens?
Once you can execute dbsrv11, don't use '&' on your command line to background since this will fail - the server will expect to be able to read/write from stdin/stdout and it will immediately stop because it won't be able to. If you want to background the server then use the -ud switch.
Also, please post the contents of your sybase.config file so we know what command line switches are being used.
Update: did some googling and I believe your problem is that you are trying to run a 32bit executable on a 64bit installation and you don't have the 32bit compatibility libraries installed on your computer. In particular, you need the 32bit version of ld.so installed on your computer.
Here is an article that may be of some help: http://www.debian-administration.org/articles/534