-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sybase 16.0 DB is not getting setup properly on Docker Desktop for Mac #13
Comments
Here is the output of the command STARTING... (about 30 sec) |
Can someone please help out here? Thanks. |
It looks like some issues in Sybase ACE and I start to experience the same issue recently. At least it works in Linux
|
Mainly caused by https://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00729.1500/html/errMessageAdvRes/CACFEEEC.htm |
@tjlee I'm also looking for a resolution to this issue. I've tried upping the 'wait' that's already configured in the I'm running on a Windows host, but I've also tried in a Linux VM and get the same result, even when upping the wait to 75s. Any guidance is appreciated. Thanks! :) |
I would be interested as well on the timeout. @tljee any updates? |
Hi, I was just searching for a solution to this very problem and found your question, and a little bit later the answer here. https://answers.sap.com/questions/13286419/ase-16-signal-11-stack-trace-snapvalidate-kba-3018.html In your docker RUN script add this -T11889 flag which switches off the Snap Validation routine causing the problem. It is working fine now for me. This only seemed to affect Sybase when run in Docker 20.x.y engine, docker 19.x.y seemed to work fine which is another workaround :). root@28e4eac8ad0a install]# pwd |
Using Docker Engine version 24.0.1, can confirm |
Hi, i'am face to the same problem i'am using the last version of docker engine, i didn't inderstand where we should add -T11889, can you give me an exemple of this ? I used this command : docker run -p 5000:5000 --rm datagrip/sybase:latest -T11889
|
First of all, I am sorry for your poor soul that you have to use Sybase (or you actually like it?), I have no choice but to use Sybase because that's what my company had. Second, follow these steps
|
Thank's for your quick response, it's not my choice, it's consumer choice :/ . I still have the same issue when tring to connect to database with ISQL:
|
i still have the same issue when restarting container or try to connect directly by ISQL |
I don't have isql with me, would you mind share your isql interface file content for reference? |
I made an typo in step 3.1, it should be -T11889 not -T18899, please remove all sybase container, and sybase-data volume and try again |
A successful start will have these messages at the bottom of the log
|
The only change I had to make was add line 20 as below
|
i already add tag -T11889 and i have the same issue, here is ma log file "MYSYBASE.log": |
it's command line for connecting to sybase, you can find it in /opt/sybase/OCS-16_0/bin/ folder |
thank you everyone, my first problem was -T11889 tag, and second one is for macOs user, i find the solution here : nguoianphu/docker-sybase#3 Thank you |
Do you know how can i automatize all this configuration in docker-compose.yml ? |
Sorry don't know how to user docker-compose but I've seen someone else do it and know it's possible. Also you don't need an external client to test, you use the client in the docker image itself to check it's ok
|
It looks like we need a separate image to run correctly on Mac M1... |
|
I hope I've fixed the issue at least for Sybase ASE 16.0 by adding Many thanks to @doresome P.S.: Sybase 15.7 needs some more investigation... |
what if any of these images, for v16 and v15 is removed from docker hub? i was planning to use this in my own tests, but now i feel cold about it because a) old and outdated and never updated and b) we are just monkey patching start scripts to fix platform compability, not much more we can do? |
i mean it even looks like ifnazar doesnt even have a Dockerfile published |
Getting this error when trying to login to isql
CT-LIBRARY error:
ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed
The text was updated successfully, but these errors were encountered: