Re: [Sqlrelay-discussion] sqlrelay on solaris - "std::bad_alloc"
Brought to you by:
mused
|
From: Chris <dm...@gm...> - 2008-11-16 22:20:04
|
David Muse wrote: > Weird. I think that error usually means that a C++ "new" operator > failed. I think it usually happens if you compile against 1 version of > a library but then run against a different, incompatible version. Could it be a mix of tools causing it? gcc for compiling, gnu make, but the solaris ld tool. > Did you have an older version of SQL Relay or Rudiments installed when > you built the one you're trying to use now? If so, you might try > removing them, rebuilding, reinstalling and retrying. Nope, first time install. > On Fri, 2008-11-14 at 10:22 +1100, Chris wrote: >> Hi all, >> >> I'm now trying to get sqlrelay working on solaris. Everything >> compiles/builds fine. When I try to start it up though I get this: >> >> # ./sqlr-start -id oracle >> >> Starting listener: >> sqlr-listener -id oracle -config /usr/local/sqlrelay/etc/sqlrelay.conf >> >> Starting 3 connections to db : >> sqlr-connection-oracle8 -id oracle -connectionid db -config >> /usr/local/sqlrelay/etc/sqlrelay.conf >> terminate called after throwing an instance of 'std::bad_alloc' >> what(): St9bad_alloc >> >> (with it repeated another 2 times). >> >> >> I have no idea what that means :) >> >> Rudiments is in /usr/local/rudiments (which is not in my path or library >> path). >> >> Running solaris 10. Compiled with gcc. >> >> As far as I can tell, it does connect to oracle on the 2nd server ok (I >> can see stuff in the oracle listener.log). >> >> Not sure what other info to include :) >> >> Thanks! -- Postgresql & php tutorials http://www.designmagick.com/ |