Through adding in some "prints" into my zmcontrol.pl I have been able to track down where the script fails.
Ubuntu 12
Zm 1.25
Code: Select all
if ( my $cpid = fork() )
{
logReinit();
# Parent process just sleep and fall through
socket( CLIENT, PF_UNIX, SOCK_STREAM, 0 ) or die( "Can't open socket: $!" );
my $attempts = 0;
while (!connect( CLIENT, $saddr ))
{
$attempts++;
Fatal( "Can't connect: $!" ) if ($attempts > MAX_CONNECT_DELAY);
sleep(1);
}
}
It never makes it into the elseif loop below that one which is where the actual action is I believe.
Thank you for your help,
Ramasule