cancel
Showing results for 
Search instead for 
Did you mean: 

Network database server stops while running procedure SA12

Former Member
2,621

Executing a stored procedure makes the network database server stop.

The procedure declares a FOR loop (cursor) where it iterates a proxy table. Running the procedure I get "communication error" as the network database service sometimes stops. However sometime I do get a successful run.

the proxy table is located in a remote server (oracle), so it seems to be an issue with the communication between sybase/oracle.

Transcript of console.log

I. 12/12 13:59:07.     TCPIP link started successfully
I. 12/12 13:59:07. Now accepting requests

-the procedure is called and no information on why it stopped

-Restart after crash

I. 12/12 13:59:47. SQL Anywhere Network Server Version 12.0.1.3817 I. 12/12 13:59:47.

I am able to do crash the db network service by running a sql towards the proxy table also.

SELECT * FROM PROXY_ORACLE_TABLE;

There's less than 50 rows (though there is a blob column).

alt text

Is there a db log which would give me more details to figure out what's causing this? Or does anyone have an idea of what the issue might be?

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_duemesnil
Participant

If the possibility exists that the server is down. I would copy the rows into a temp table and work on that set.

Even then it is possible that the server stops responding during the select.

Hope This Helps

Former Member
0 Kudos

It is the Sybase Network database server which stops while running this procedure. So a temporary table would not help. It fails while using the remote server proxy table. The remote server is running fine though.