zmcontrol.pl not running through script please help gurus.

Forum for questions and support relating to the 1.25.x releases only.
Locked
ramasule
Posts: 7
Joined: Sat Dec 01, 2012 4:22 pm

zmcontrol.pl not running through script please help gurus.

Post by ramasule »

Hello,

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 gets into this loop and times out in the while(!connect(CLIENT, $saddr))
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
ramasule
Posts: 7
Joined: Sat Dec 01, 2012 4:22 pm

Re: zmcontrol.pl not running through script please help guru

Post by ramasule »

just compiled this on Centos and it was the same
Ubuntu 12 Centos 6 not working
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Re: zmcontrol.pl not running through script please help guru

Post by Paranoid »

Have a look at Options -> Paths -> PATH_SOCKS

The directory this points to must exist for it to work and must be read and writeable by the user zm runs as.
Locked