Suspeded (tty output) on perl system on 7-current
Anton Berezin
tobez at tobez.org
Fri Oct 5 14:36:45 PDT 2007
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
More information about the freebsd-current
mailing list