122 /work/jtli/ra156/RAX-15_5/SQLAny11/bin >dbinit test123.db SQL Anywhere Initialization Utility Version 11.0.1.2045 Allocating a communication buffer failed SQL error (-832) -- Connection error: Found server but communication error occurred Database "test123.db" not created related env:
i installed a SA 12.0 Advanced server edition, and still hit this issue:
|
The "Allocating a communication buffer failed" error occurs when the communication layer (on either the client or server) is attempting to allocate another communication buffer (in this case a piece of file-backed shared memory) and the allocation failed. This can happen for a number of different reasons:
In your specific case (of running dbinit) it is unlikely that the first case (no address space) is the cause of the problem, and I'm going to assume that the second case (no memory or backing store) is unlikely since you would have hopefully seen that the system was short on memory!?? You did not mention which version of HP-UX you were using so I cannot rule out the fifth case (unforeseen incompatibility) but that too is unlikely unless you are using a version of HP-UX that has not been tested before (and HP has introduce a compatibility issue - it wouldn't be the first time that such a thing had happened). My nickel will go to either the third case (permission problem) or fourth case (full disk). Is it possible that one of these things occurred:
answered 06 Nov '10, 00:42 Mark Culp |
Mark, thank you very much for the quick response. here is the OS info: 174 /work/jtli/sqlanywhere12/bin64 >uname -a HP-UX repqahpi B.11.31 U ia64 3550765068 unlimited-user license if I set SATMP,TEMP and tmp environment variable, dbinit can succesdd with SA 12.0, but dbinit will still fail with SA11.0.1, which is shipped with Replication Agent product. Nov 7, 2010 2:40:08 PM com.sybase.rep.asa.ASAInstanceAdmin log TRACE: dbinit_err: SQL error (-832) -- Connection error: Found server but communication error occurred TRACE: dbinit: Allocating a communication buffer failed
I think the memory and disk is sufficient, and there is almost 9K free disk in /tmp directory. the same Replication Agent with SA 11.0.1 can work on another hpia64 host, but can't work on this newly setup hpia64 machine.
Sorry, 9G free disk in /tmp directory
Mark, can you tell me the incompatibility of the SA 11.0.1 OS/runtime on HPIA? after set SATMMP environemtn variable, I replaced the SA11.0.1 with SA12 in Replication Agent, replication Agen works too, so I want to know the HPIA OS patch level, which is incompatible with SA11.0.1? thanks