From owner-freebsd-current@FreeBSD.ORG Fri Oct 5 21:36:45 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FE416A419 for ; Fri, 5 Oct 2007 21:36:45 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.freebsd.org (Postfix) with ESMTP id C14E913C48A for ; Fri, 5 Oct 2007 21:36:44 +0000 (UTC) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 4C7F112543A; Fri, 5 Oct 2007 23:36:43 +0200 (CEST) Date: Fri, 5 Oct 2007 23:36:43 +0200 From: Anton Berezin To: Artem Kuchin Message-ID: <20071005213643.GA86107@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Artem Kuchin , freebsd-current@freebsd.org References: <012d01c8078b$59331e30$0c00a8c0@Artem> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <012d01c8078b$59331e30$0c00a8c0@Artem> User-Agent: Mutt/1.4.2.3i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: freebsd-current@freebsd.org Subject: Re: Suspeded (tty output) on perl system on 7-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 05 Oct 2007 21:36:45 -0000 On Sat, Oct 06, 2007 at 12:07:22AM +0400, Artem Kuchin wrote: > I am having a problem which might not be related to current, but i do not > have it on any of the 6-stable boxes. > > So, there is a very simple perl script. > > #!/usr/bin/perl > > $com="/usr/bin/su hordelo_ru -c '/usr/local/sbin/httpd -f > /hosts/CONFS/horosheedelo.ru -k graceful-stop'"; > system($com); > print "done!\n"; > > It work find on 6-stable. RUns httpd and prints done! > Howeverm on 7-current (amd64) it does the following: > > horus# ./a.pl > httpd (no pid file) not running > > Suspended (tty output) > > if i do 'fg' it continues and finishes fine. Do you get "httpd (no pid file) not running" on 6.X? What happens on 7.0 when you do the command in $com by hand (without perl)? What's the output of perl -V? What's httpd - apache or something else? Are the versions of httpd the same on both 6.X and 7.0? \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen