Date: Fri, 5 Oct 2007 23:36:43 +0200 From: Anton Berezin <tobez@tobez.org> To: Artem Kuchin <matrix@itlegion.ru> Cc: freebsd-current@freebsd.org Subject: Re: Suspeded (tty output) on perl system on 7-current Message-ID: <20071005213643.GA86107@heechee.tobez.org> In-Reply-To: <012d01c8078b$59331e30$0c00a8c0@Artem> References: <012d01c8078b$59331e30$0c00a8c0@Artem>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071005213643.GA86107>