Sent: Thu Jan 20 2011 11:35:41 GMT-0700 (Mountain Standard Time) From: Matthew Hall <mhall@mhcomputing.net> To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] Syslog-ng error
On Thu, Jan 20, 2011 at 12:39:37PM -0500, Shawn Cannon wrote:
I am trying to setup a second syslog-ng server that will be part of a load balanced cluster. When the 2nd server tries to connect to my mssql database, it tries to run the CREATE TABLE commands which fails because the table already exists since the first syslog-ng server already created them. How do I tell the 2nd server not to try the CREATE TABLE stuff so it will start working?
Shawn Cannon
IT Professional
There is a dont-create-tables option in newer syslog-ngs which will fix this one.
The big problem with this solution is that if the table check failed, then inserting it will also fail. The only case this would solve is if the user doesnt have select perms, but does have insert perms. -Patrick