![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
From time to time while trying to connect to SA11 Server I receive the following error: "Connection error: Found server but communication error occurred". |
|
At this time server seems to be not respond(hang). At that time I can not connect to server either - throw odbc - Sybase Central . - dbping Usually the problem lasts for several minutes, but sometimes it can take more than 20 minutes. |
#3
| ||||||||
| ||||||||
|
|
- Can you make a local connection to the server not over TCP/IP? (i.e. over shared memory?) |
|
- What is the database server doing during this time? Nothing unusual. |
|
Are there any external events that happen around this such as backups, or...? |
|
Is there anything logged in the System Event viewer that may provide a clue? |
|
- What's your database server start-line? |
|
- Can you post a database console log (-z -o), or enable request level logging during this time? (-zr SQL+HOSTVARS -zo rll.txt) |
|
- Can you post the output of dbping? |
|
Hi Andrei, Andrei Iliev wrote: From time to time while trying to connect to SA11 Server I receive the following error: "Connection error: Found server but communication error occurred". This is usually given any time you can UDP broadcast / use the sasrv.ini cache to locate a server, but fail to connect over the TCP port. At this time server seems to be not respond(hang). At that time I can not connect to server either - throw odbc - Sybase Central . - dbping Usually the problem lasts for several minutes, but sometimes it can take more than 20 minutes. - Can you make a local connection to the server not over TCP/IP? (i.e. over shared memory?) - What is the database server doing during this time? Are there any external events that happen around this such as backups, or...? Is there anything logged in the System Event viewer that may provide a clue? - What's your database server start-line? - Can you post a database console log (-z -o), or enable request level logging during this time? (-zr SQL+HOSTVARS -zo rll.txt) - Can you post the output of dbping? Alternatively, opening a technical support case and using our process tools to figure out what's happening during these specific instances may also help. Regards, |
#4
| |||
| |||
|
|
Hi Andrei, Andrei Iliev wrote: From time to time while trying to connect to SA11 Server I receive the following error: "Connection error: Found server but communication error occurred". This is usually given any time you can UDP broadcast / use the sasrv.ini cache to locate a server, but fail to connect over the TCP port. At this time server seems to be not respond(hang). At that time I can not connect to server either - throw odbc - Sybase Central . - dbping Usually the problem lasts for several minutes, but sometimes it can take more than 20 minutes. - Can you make a local connection to the server not over TCP/IP? (i.e. over shared memory?) - What is the database server doing during this time? Are there any external events that happen around this such as backups, or...? Is there anything logged in the System Event viewer that may provide a clue? - What's your database server start-line? - Can you post a database console log (-z -o), or enable request level logging during this time? (-zr SQL+HOSTVARS -zo rll.txt) - Can you post the output of dbping? Alternatively, opening a technical support case and using our process tools to figure out what's happening during these specific instances may also help. Regards, |
#5
| |||
| |||
|
|
Output of dbping (running locally on the DB-server) : SQL Anywhere Server Ping Utility Version 11.0.1.2308 Attempting to connect using: UID=company;PWD=********;DBN=mydb;ENG=mydb;ASTOP=Y ES;DSN=mydb;INT=NO;DBG=NO;DMRF=NO;LINKS='SharedMem ory,TCPIP{host=xxx.xx.xx.226;port=49162}';COMP=No Attempting to connect to a running server... Trying to start SharedMemory link ... SharedMemory link started successfully Attempting SharedMemory connection (no sasrv.ini cached address) Connected to server over SharedMemory Communication function sconn::receive code 3 Communication function ApplicationConnect code 3 Cannot connect to server Ping server failed -- Connection error: Found server but communication error occurred. Jeff Albion [Sybase iAnywhere] wrote: Hi Andrei, Andrei Iliev wrote: From time to time while trying to connect to SA11 Server I receive the following error: "Connection error: Found server but communication error occurred". This is usually given any time you can UDP broadcast / use the sasrv.ini cache to locate a server, but fail to connect over the TCP port. At this time server seems to be not respond(hang). At that time I can not connect to server either - throw odbc - Sybase Central . - dbping Usually the problem lasts for several minutes, but sometimes it can take more than 20 minutes. - Can you make a local connection to the server not over TCP/IP? (i.e. over shared memory?) - What is the database server doing during this time? Are there any external events that happen around this such as backups, or...? Is there anything logged in the System Event viewer that may provide a clue? - What's your database server start-line? - Can you post a database console log (-z -o), or enable request level logging during this time? (-zr SQL+HOSTVARS -zo rll.txt) - Can you post the output of dbping? Alternatively, opening a technical support case and using our process tools to figure out what's happening during these specific instances may also help. Regards, |
#6
| |||
| |||
|
|
This indicates that the server was found by the client, but it timed out while waiting for a packet. This should (almost) never happen with shared memory, so the server must be in some weird state. Can you add "-z -ot server.out" to the server's command line and see if there are any error messages in the server.out file? Yes. It looks like a weird state. I added -z option, but see no errors. |
|
Graeme Perrow Senior Software Developer gperrow _at_ ianywhere _dot_ com Sybase iAnywhere Engineering SQL Anywhere Developer Community http://www.sybase.com/developer/libr...ere-techcorner SQL Anywhere Blog Center http://www.sybase.com/sqlanyblogs Andrei Iliev wrote: Output of dbping (running locally on the DB-server) : SQL Anywhere Server Ping Utility Version 11.0.1.2308 Attempting to connect using: UID=company;PWD=********;DBN=mydb;ENG=mydb;ASTOP=Y ES;DSN=mydb;INT=NO;DBG=NO;DMRF=NO;LINKS='SharedMem ory,TCPIP{host=xxx.xx.xx.226;port=49162}';COMP=No Attempting to connect to a running server... Trying to start SharedMemory link ... SharedMemory link started successfully Attempting SharedMemory connection (no sasrv.ini cached address) Connected to server over SharedMemory Communication function sconn::receive code 3 Communication function ApplicationConnect code 3 Cannot connect to server Ping server failed -- Connection error: Found server but communication error occurred. Jeff Albion [Sybase iAnywhere] wrote: Hi Andrei, Andrei Iliev wrote: From time to time while trying to connect to SA11 Server I receive the following error: "Connection error: Found server but communication error occurred". This is usually given any time you can UDP broadcast / use the sasrv.ini cache to locate a server, but fail to connect over the TCP port. At this time server seems to be not respond(hang). At that time I can not connect to server either - throw odbc - Sybase Central . - dbping Usually the problem lasts for several minutes, but sometimes it can take more than 20 minutes. - Can you make a local connection to the server not over TCP/IP? (i.e. over shared memory?) - What is the database server doing during this time? Are there any external events that happen around this such as backups, or...? Is there anything logged in the System Event viewer that may provide a clue? - What's your database server start-line? - Can you post a database console log (-z -o), or enable request level logging during this time? (-zr SQL+HOSTVARS -zo rll.txt) - Can you post the output of dbping? Alternatively, opening a technical support case and using our process tools to figure out what's happening during these specific instances may also help. Regards, |
![]() |
| Thread Tools | |
| Display Modes | |
| |