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.
Gilbert,
> > What happens when you execute the command "pqutil -r -f ANY -w
> > /home/ldm/var/queues/ldm.pq
>
> Basically, what happens is an "ldmadmin watch". Data scrolls up the screen
> as normal.
>
> But, when I type in "ldmadmin watch" afterwards, I get the same core dump
> error. Weird!
Very Weird.
The fact that the command works suggests that the problem is with the Perl
interpreter: an "ldmadmin watch" just composes and executes the pqutil(1)
command after checking for a running LDM (i.e., "ldmadmin isrunning"). Here's
the relevant section of ldmadmin(1):
elsif ($command eq "watch") { # monitor incoming products
while ($_ = $ARGV[0]) {
shift;
/^-f/ && ($feedset = shift);
}
if (!isRunning($pid_file, $ip_addr)) {
errmsg("There is no LDM server running");
$status = 1;
}
else {
system("pqutil -r -f \"$feedset\" -w $pq_path");
$status = $?;
}
}
What does the command "ldmadmin isrunning && echo Yes" do when executed by the
user gilbert?
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: CWA-506895
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.