After execute this Script from Server-manager
#!/usr/bin/perl -wT
package esmith;
BEGIN
{
$ENV {'SHELL'}='/bin/bash';
delete $ENV {'ENV'};
}
use strict;
use esmith::util;
use esmith::db;
my %conf;
tie %conf, 'esmith::config';
db_set_prop (\%conf, 'dhcpd', 'status', 'disabled');
esmith::util::backgroundCommand (8, "/etc/init.d/dhcpd", "start");
I get this error
Sep 26 13:39:44 test e-smith-bg: Stopping dhcpd:svc: warning: unable to control /service/dhcpd: access denied
Sep 26 13:39:44 test dhcpd: Stopping dhcpd succeeded
Sep 26 13:39:44 test e-smith-bg: [ OK ]^M
Sep 26 13:39:44 test e-smith-bg: Starting dhcpd:svc: warning: unable to control /service/dhcpd: access denied
Sep 26 13:39:45 test dhcpd: Starting dhcpd failed
Sep 26 13:39:45 test e-smith-bg: [ FAILED ]^M
Can anyone tell my why?