вот такая проблема
Код: Выделить всё
child process [74397] exited or timed out without signaling production of a PID file: exit 255 at /usr/local/bin/spamd line 2642.
/usr/local/etc/rc.d/sa-spamd: WARNING: failed to start spamd
Код: Выделить всё
# Here we go...
$SIG{USR1} = \&serverstarted;
defined( my $pid = fork ) or die "spamd: cannot fork: $!\n";
if ($pid) {
my $child_stat;
# Bug 6191, Bug 6258: takes almost two minutes on a slow machine
# for a forked child process to report back, bump limit to 180 seconds
for (my $retry=180, my $waited=0;
$retry > 0 && !$serverstarted && $waited != $pid;
$retry--)
{
warn("waitpid failed: $waited $!") if $waited;
sleep 1;
$waited = waitpid($pid, WNOHANG);
$child_stat = $? if $waited > 0;
}
die sprintf("child process [%s] exited or timed out ". (ЭТО СТРОКА 2642!!!!!!!!)
"without signaling production of a PID file: %s",
$pid, exit_status_str($child_stat,0)) unless $serverstarted;
exit;
}
delete $SIG{USR1};
setsid or die "spamd: cannot start new session: $!\n";
посоветуйте пожалуйста