From owner-freebsd-questions@FreeBSD.ORG Fri Aug 15 18:38:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02EFF37B401 for ; Fri, 15 Aug 2003 18:38:56 -0700 (PDT) Received: from fed1mtao03.cox.net (fed1mtao03.cox.net [68.6.19.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BBDF43F93 for ; Fri, 15 Aug 2003 18:38:55 -0700 (PDT) (envelope-from chive@cox.net) Received: from anoat.phoenix.net ([68.98.91.5]) by fed1mtao03.cox.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030816013854.MVQR26347.fed1mtao03.cox.net@anoat.phoenix.net> for ; Fri, 15 Aug 2003 21:38:54 -0400 Received: by anoat.phoenix.net (Postfix, from userid 1000) id: 38:54 -0700 (MST) Date: Fri, 15 Aug 2003 18:38:54 -0700 From: Nicolas Galler To: questions@freebsd.org Message-ID: <20030816013854.GA8801@anoat.phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: sqlrelay sqlr-listener wont start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 01:38:56 -0000 Hi, I installed sqlrelay (0.32_2), it gives me the following error when running sqlr-start: anoat:/usr/ports/databases/sqlrelay# sqlr-start -id naboo-ms Starting listener: sqlr-listener -id naboo-ms -config /usr/local/etc/sqlrelay.conf sqlr-listener error: Unable to create a semaphore set segment. This is usally because an sqlr-listener is already running for the naboo-ms instance. If it is not running, something may have crashed and left an old segment lying around. Use the ipcs command to inspect existing semaphore set segments and the ipcrm command to remove the semaphore set segment with id -1. sqlr-listener in free(): error: chunk is already free (then some error messages about not being able to connect to sqlr-listener) I used ipcs but dont see any ID -1 (in fact the only things there are from pgsql). This is Freebsd 5.1-RELEASE. I have the following options in the kernel: options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores Is there anything else to add for sqlrelay to work properly? And sqlrelay was compiled with tds and postgresql support (the message above was given when I tried the pg id but the freetds one gave the exact same thing) Thanks Nick