Code: Select all
my ($stopqmail) = '/etc/init.d/qmail stop';
my ($startqmail) = '/etc/init.d/qmail start';
I changed the variables to this:Can't exec "/etc/init.d/qmail": No such file or directory at
/usr/bin/qmhandle.pl line 192 (#1)
(W exec) A system(), exec(), or piped open call could not execute the
named program for the indicated reason. Typical reasons include: the
permissions were wrong on the file, the file wasn't found in
$ENV{PATH}, the executable in question was compiled for another
architecture, or the #! line in a script points to an interpreter that
can't be run for similar reasons. (Or maybe your system doesn't support
#! at all.)
Code: Select all
my ($stopqmail) = '/usr/bin/svc-stop qmail';
my ($startqmail) = '/usr/bin/svc-start qmail';