From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 15:44:20 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0FF637B401; Fri, 27 Jun 2003 15:44:19 -0700 (PDT) Received: from sv07e.atm-tzs.kmjeuro.com (sv07e.atm-tzs.kmjeuro.com [193.81.94.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B19843FF7; Fri, 27 Jun 2003 15:44:18 -0700 (PDT) (envelope-from k.joch@kmjeuro.com) Received: from kmjeuro.com (adsl.sbg.kmjeuro.com [62.99.198.46]) (authenticated bits=0)h5RMhYva001882; Sat, 28 Jun 2003 00:43:36 +0200 (CEST) (envelope-from k.joch@kmjeuro.com) Message-ID: <3EFCC896.7050104@kmjeuro.com> Date: Sat, 28 Jun 2003 00:43:34 +0200 From: "Karl M. Joch" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Mail Server protected by CTS Austria www.ctseuro.com Message found to be clean cc: freebsd-current@freebsd.org Subject: 5.1 on a production box with some small problems (su, linux emu 7) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 22:44:20 -0000 i run 5.1 on one of the inhouse production boxes successful. there are only 2 small points witch are a pain and i found no solution. box was fresh setup with 5.0 then cvsuped to 5.1. 1. when starting some scripts su doesnt return from the shell and hangs on boot. when starting manually i get "tty output stopped". with exit there is a way out of this shell, but i havnt found a solution. most of the scripts runs since 3.x, at least 4.x and was working up to 4.8. one of this scripts is the pervasive sql server startup script which is part of the pervasive server for linux. using #!/compat/linux/bin/sh doesnt help. there are 2 lines in it starting sqlmgr and psql with: echo "commands...." | /bin/su - psql || exit 1 after the 1st one tty output is stopped. the other script is vmware and vncserver related and uses linux emu too. 2. the pervasive sql server (running under linux emu 7) has a daemon named mkded witch was running since a long time till 4.8. on 5.1 i have the strange problem, that if the daemon is startet with the -start option (which should put it in the background) there is no listener opened. netstat -an doesnt show a listener on port 3351, but the daemon is running without logging any error. when starting mkded with the -console flag whitch keeps it in the forground the listener is opened and a connection is possible. i meanwhile use screen, starting up with a detached session and the -console flag to have it running, but a solution would be really great because this slows down the database access dramaticly. -- Best regards / Mit freundlichen Gruessen, Karl M. Joch k.joch@ctseuro.com http://www.ctseuro.com