[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: still no response with rpc.ldmd



On Fri, 19 Feb 1999, Dave wrote:

> Hi again,
> 
> rpcinfo on localhost never shows up with the 300029 tag, and SUNY-A is 
> fine, of course
> 
David,

So you don't get any output from either command?

% rpcinfo -t localhost 300029 5
% rpcinfo -p

What the output to ldmping now to SUNY?

> the "ldmadmin start" doesn't survive the check this point:
> 
> while(check_running() || check_registered());

If it stuck on this line, then change :

sub check_registered {

    $rpcinfo_cmd = "rpcinfo -t localhost 300029";
    `$rpcinfo_cmd 5 > /dev/null 2>&1`;
    if($?) {
        `$rpcinfo_cmd 4 > /dev/null 2>&1`;
        if($?) {
             return 1;
        }
    }
    return 0;
}                      


to:

sub check_registered {

    $rpcinfo_cmd = "rpcinfo -p | grep 300029";
    `$rpcinfo_cmd > /dev/null 2>&1`;
    if($?) {
             return 1;
    }
    return 0;
}                      

You got me guessing here because I don't have all the facts, what type of
box, os, ldm version, etc. 


Robb...
> 
> -david
> 
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================