Database Security. Database Auditing. Database Caching. Database Masking. Get it nowgreensql-fw dies
Posted October 31st, 2008 by DougWare
in
GreenSQL keeps dying on me.
If I run it from the command line, after a few minutes I receive:
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::append
Aborted
I'm using greensql-fw-0.9.4-12.1.i386.rpm on CentOS5.
Thanks
G
Comments
Hi Can you please enable max
Hi
Can you please enable max logging and send me log file after application dies?
You can use the following link for explanation: http://www.greensql.net/node/53
Thanks,
Yuli
The log is over a megabyte
The log is over a megabyte in size, so I've posted it to my webserver.
hXXp://www.XXXXXX.net/XXXXX.log
Thanks,
Doug Eubanks
http://www.dougware.net
Hi I think I figured out
Hi
I think I figured out what was the problem. If you need an urgent fix do the following:
1. Download greensql-fw source code from the following url:
http://www.greensql.net/download
2. Extract the archive
3. Replace src/mysql/mysql_con.cpp with the following file:
http://greensql.svn.sourceforge.net/viewvc/greensql/trunk/greensql-fw/src/mysql/mysql_con.cpp?revision=388
4. Build rpm package. You can simply do it by running the following script:
./build.shThis script is located in the application root directory.
PS. Don't forget to remove the log file from the webserver.
Another variant is to wait for next application release. it will be released in a week or 2.
Best regards,
Yuli
Thank you, I believe I will
Thank you,
I believe I will have to wait until the next code release, I can't get the RPM to compile. I'm pretty good at building RPMs (I maintain several internal RPMs for our company), and it appears to be code related.
I'm going to attach the output of the build process for your review.
RPM build output: http://pastebin.com/m1c923b32
Thanks again,
Doug
http://www.dougware.net
It looks like mysql-devel
It looks like mysql-devel package is missing on your server. Install it and try again.
It's installed, see
It's installed, see below:
rpm -q MySQL-devel-community
MySQL-devel-community-5.0.67-0.rhel5
rpm -Uvh MySQL-devel-community-5.0.67-0.rhel5.i386.rpm
Preparing... ########################################### [100%]
package MySQL-devel-community-5.0.67-0.rhel5 is already installed
http://www.dougware.net
Please tell me the version
Please tell me the version of CentOS you are using.
I might try to compile it for you.
Best regards,
Yuli
Hi Yuli, I'm not trying to
Hi Yuli,
I'm not trying to be a pain, and I appreciate your help. We are using CentOS release 5.2, with the standard mysql.org community packages (instead of the packages provided by CentOS). They play well with CentOS' standard packages in everything we've done so far.
Any guidance would be appreciated.
http://www.dougware.net
Bump.... http://www.dougware.
Bump....
http://www.dougware.net
Please upgrade greensql
Please upgrade greensql firewall to the latest version available at the download page and send your review:
http://www.greensql.net/download
Best regards,
Yuli
GreenSQL started dying again
This comment has been moved here.