on 2017 Feb 06 5:57 AM
I am trying to create and run a SQL Anywhere service:
dbsvc -y -as -i -s Automatic -t Network -sd SAAPDB_RCS_SAPDOC01_0101 -w SAAPDB_RCS_SAPDOC01_0101 "C:\\Program Files\\SQL Anywhere 16\\Bin64\\dbsrv16.exe" -c dsn=SAAP_RCS_rem_0101;uid=rohini;pwd=basu -o C:\\SAP\\SAAP\\0101\\db\\logs\\eng_log_0101 -on 4M -x shmem,tcpip(port=5657) -xs http(port=8080;dbn=SAAP_RCS_rem_0101;MaxRequestSize=10M;log=C:\\SAP\\SAAP\\0101\\db\\logs\\web_log_0101.txt) -gd ALL
SQL Anywhere Service Utility Version 16.0.0.2043 Service "SAAPDB_RCS_SAPDOC01_0101" was created successfully.
dbsvc -u SAAPDB_RCS_SAPDOC01_0101 SQL Anywhere Service Utility Version 16.0.0.2043 Service "SAAPDB_RCS_SAPDOC01_0101" start pending. Error starting service "SAAPDB_RCS_SAPDOC01_0101".
Windows Event log shows: SQLANYs_SAAPDB_RCS_SAPDOC01_0101: Cannot open transaction log file -- The system cannot find the file specified.
When I tried running
net start "SQL Anywhere - SAAPDB_RCS_SAPDOC01_0101" The service started
When I tried running the db server manually from command line:
dbsrv16 -n SAAPDB_RCS_SAPDOC01_0101 C:\\SAP\\SAAP\\db\\0101\\SAAP_RCS.db -n SAAP_RCS_rem_0101 -o C:\\SAP\\SAAP\\db\\logs\\eng_log_0101 -on 4M -x shmem,tcpip(port=5657) -xs http(port=8080;dbn=SAAP_RCS_rem_0101;MaxRequestSize=10M;log=C:\\SAP\\SAAP\\db\\logs\\web_log_0101.txt) -gd ALL The database started
(P.S: The original discussion started in the below thread: http://sqlanywhere-forum.sap.com/questions/28796/dbsvc-failing-to-start-mobilink-server-service)
Request clarification before answering.
User | Count |
---|---|
87 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.