Re: Suspeded (tty output) on perl system on 7-current

From: Anton Berezin <tobez_at_tobez.org>
Date: Fri, 5 Oct 2007 23:36:43 +0200
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
Received on Fri Oct 05 2007 - 19:36:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC