Hello,

Please help with config file for starting SQL Anywhere Windows service with HTTPS and 2 listeners. While starting dbsrv12.exe via cmd console, server starts and runing without errors:

"C:\Program Files\SQL Anywhere 12\Bin64\dbsrv12.exe" -dt C:\TEMP -c 1G -n fire_web -x tcpip(MyIP=0.0.0.0;ServerPort=5000;DoBroadCast=No) -xs http(Port=8050;MaxRequestSize=70m;LOPT=ALL,HEADERS;LOG=D:\BASE\WebAccsess.log),https(identity=D:\BASE\CERTIFICATE.pem;identity_password=PASSWORD;port=443) -o D:\BASE\messages.log -oe D:\BASE\startup.log D:\BASE\DATABASE.db -n DATABASE

But when starting Windows service with config file:

-o D:\BASE\messages.log -dt C:\TEMP -c 1G -n fire_web -x tcpip(MyIP=0.0.0.0;ServerPort=5000;DoBroadCast=No) -xs http(Port=8050;MaxRequestSize=70m;LOPT=ALL,HEADERS;LOG=D:\BASE\WebAccsess.log),https(identity=D:\BASE\CERTIFICATE.pem;identity_password=PASSWORD ;port=443) D:\BASE\DATABASE.db -n DATABASE

service not starting. Please take a look on ,https(identity=D:\BASE\CERTIFICATE.pem;identity_password=PASSWORD;port=443)" part. This parameter runs 2nd listener with HTTPS and without this parameter writing with comma, server starts and running. Can't understand why this happens. Any suggestions ?

asked 13 Oct, 02:47

makeconfig's gravatar image

makeconfig
112
accept rate: 0%

edited 13 Oct, 05:37

What message do you get? What build are you using? I've tried this and it works for me using 12.0.1.3845

(13 Oct, 08:21) Mark Culp

Could it be the service account does not have access to the identity file? - Although that sounds rather improbable when it resides within the same directory as the database file...

(13 Oct, 10:45) Volker Barth
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×36
×34
×19
×14

question asked: 13 Oct, 02:47

question was seen: 51 times

last updated: 13 Oct, 10:45