Can someone tell me how to start two (seperated) instance of Sybase server?
Hi, this may not be an anwer to your question, but may provide an insight:
One of my clients was running software from Fedex which has a copy of Sybase embedded. Servoy could not find the repository, so we had to assign the Sybase for Servoy the next free port number up to get it to work.
HJK:
Can someone tell me how to start two (seperated) instance of Sybase server?
Just start it twice:
dbsrv server1
dbsrv server2
2 servers run
You could also contemplate having a glance at the sybase docs.
Yes, I did that Jan.
What I could’nt find is how can I set server 1 to start with a specific port number and server 2 to a different portnumber.
if I now start one of those, it is random.
You can specify port by dbsrv9 -x tcpip(serverport=5050)… or dbsrv9 -x tcpip{serverport=5050}
dbsrv9 does detect if ports 2638 is in use and uses port 49152 and above if it finds that this port is being used. The console should indicate which port is being used.
Hope this helps.