Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: haj on November 11, 2005, 01:54:16 AM
-
Hello,
I want to start/stop a service using a perl script:
#!/usr/bin/perl -w
my $res = /etc/init.d/mldonkey start;
print $res;
Simple isn't it? But I get an error when ran thrown apache (http-admin):
Starting Mldonkey-server: standard in must be a tty [ FAILED ]
May some one help me??
Best regards
--
Laurent
-
Hello,
I want to start/stop a service using a perl script:
#!/usr/bin/perl -w
my $res = /etc/init.d/mldonkey start;
print $res;
Simple isn't it? But I get an error when ran thrown apache (http-admin):
Starting Mldonkey-server: standard in must be a tty [ FAILED ]
May some one help me??
This is an issue with Mldonkey-server - you should perhaps ask in an Mldonkey forum. Maybe they can tell you why Mldonkey-server expects stdin to be a tty.
-
This is an issue with Mldonkey-server - you should perhaps ask in an Mldonkey forum. Maybe they can tell you why Mldonkey-server expects stdin to be a tty.
Thanks Charlie