This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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/
===============================================================================