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

20031125: ldm connection problems



>From: Mark Tucker <address@hidden>
>Organization: Lyndon State College Meteorology
>Keywords: 200311251543.hAPFh3EH027063 LDM

Mark and Charles,

>LSC and the NWS BTV office have been trying to exchange some files via ldm, 
>feeding from the BTV office to LSC.  We are running ldm 6.0.14 on 
>omega.lsc.vsc.edu and they are running ldm 5.x on the host (198.206.38.13).  
>At one point we our ldm server were able to connect but were not requesting/
>feeding to each other properly.  We have made some changes to correct the 
>previous problems and now our ldm servers are not able to connect.  An 
>ldmping from omega to 198.206.38.13 times out.

What is the output from a notifyme command run on the client pointing
at the server?

>We are each currently able to 
>receive data from our normal feeds.  Running "ldmping" to other hosts produce 
>expected results.   I have attached our ldmd.conf files to this email.    Any 
>ideas why the hosts cannot connect?  

It would be most useful to get the ldmd.log file output that both sides
are recording during connection attempts.  This will help us sort out
which of the common link failures is at play here.  For reference, some
of the most common causes for connection failures are:

- firewalls that are not configured to allow bidirectional traffic
  on port 388

- the LDM on one or both machines not having been installed correctly
  (e.g., rpc.ldmd does not have setuid root privilege)

- DNS problems (lack of forward or reverse name lookup)

The other thing that would be useful and most likely provide the
quickest path to a solution is to give us logins on both client and
server LDM machines so we can review all of the configuration setup on
both.

Cheers,

Tom

>Thanks.
>-- 
>Mark Tucker
>Meteorology Dept. Systems Administrator
>Lyndon State College
>http://apollo.lsc.vsc.edu
>address@hidden
>(802)-626-6328
>
>--Boundary-00=_kh3w/EEpCiXUWEQ
>Content-Type: text/plain;
>  charset="us-ascii";
>  name="ldmd.conf.lsc"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: attachment;
>       filename="ldmd.conf.lsc"
>
>#####
># $Id: ldmd.conf,v 1.16 2002/06/17 21:12:43 anne Exp $
># Sample ldmd.conf for ldm5
>####
>#
># This is the main configuration file for the LDM server. All lines that start
># with a "#" sign are comments.
>#
># To debug an LDM that hangs on start up, run the following from LDM home:
># % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
>#
># If the LDM still hangs, comment out all lines in this file except noted
># allow line entry below, try again.
>#
>##############################################################################
> #
># Exec Entries
>##############################################################################
> #
>#
># Programs that can share a queue with rpc.ldmd server, these programs
># are started by the "exec" command and are in the same process group.
>#
># Regarding pqbinstats, while pqbinstats will generate .stats files in
># your logs directory, it is necessary to also run 'ldmadmin dostats'
># once per hour via cron in order to email the stats to the UPC and
># remove the .stats files that are no longer needed.  See
># http://www.unidata.ucar.edu/packages/ldm/ldmConfigInstallList.html#s7
># for more information.
>exec   "pqbinstats"
>#
>#
>exec   "xcd_run MONITOR"
>exec   "pqact"
>#
># rtstats uses the LDM to send product latency statistics to the UPC.
># We are currently evolving from pqbinstats to rtstats, but in the
># mean time we hope sites will run both.  For more info on rtstats
># please see the man page.
>exec   "rtstats -h rtstats.unidata.ucar.edu"
>#exec  "pqsurf"
>#
>##############################################################################
> #
># Request Entries
>##############################################################################
> #
>#
># LDM5 servers request data from Data Sources
>#
>#      request <feedset> <pattern> <hostname pattern>
>#
>#request WMO ".*" uni0.unidata.ucar.edu
>#
>
>request HDS     ".*"
>        apex.lsc.vsc.edu
>
>request IDS|DDPLUS ".*"
>       apex.lsc.vsc.edu
># 169.226.43.113 is gusher.atmos.albany.edu 
>
>request FSL2    ".*"
>        f5.aos.wisc.edu
>
>request PCWS    "^FSL\.CompressedNetCDF\.MADIS\.acars\..*"
>        eldm.fsl.noaa.gov
>
>request MCIDAS  "^pnga2area Q[01]"
>        ldm.meteo.psu.edu
>
>request NLDN    ".*"
>       striker.atmos.albany.edu
>
>#request DIFAX   ".*"
>#        f5.aos.wisc.edu
>#
>request NIMAGE   ".*"
>        apex.lsc.vsc.edu
>
>request NEXRAD|FNEXRAD ".*"
>        apex.lsc.vsc.edu
>
>request NGRAPH ".*"
>        apex.lsc.vsc.edu
>
>request GPS ".*_nc"
>       128.117.29.216
>
>request GPSSRC ".*"
>       155.42.21.20
>
># get workstation eta files from BTV office.
>request EXP ".*"
>       198.206.38.13
>
>##############################################################################
> #
># Allow Entries
>##############################################################################
> #
>#
># Giving permission for a Data Sink to perform a request to your LDM
>#
># allow        <feedset> <hostname pattern>
>#
># Giving permission to your own machine and Unidata
>#
# Under no circumstances comment out the next allow entry to localhost
># The LDM will NOT start if the lines are commented out.
>allow  ANY
>    ^((localhost|loopback)|(127\.0\.0\.1\.?$)|([a-z].*\.unidata\.ucar\.edu\.?$
> ))
>
>allow  ANY-DIFAX
>       ^io\.sca\.uqam\.ca$
>
>allow  UNIDATA|FSL2
>       ^cyclone\.blwtl\.uwo\.ca$
>
>##############################################################################
> #
># Accept Entries
>##############################################################################
> #
># ACCEPT: Who can feed us, currently this action is ONLY needed for WSI data
>#
># accept <feedset> <pattern> <hostname pattern>
>#
># accept anything from yourself
>#
>#accept ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
>#
># accept from your upstream site
>#
># WSI is using ldm4 protocol so the accept is still required
>#accept        WSI
>#    .*
>#    ^[a-z].*\.uni\.wsicorp\.com$
>#
>##############################################################################
> #
># End 
>##############################################################################
> #
>
>--Boundary-00=_kh3w/EEpCiXUWEQ
>Content-Type: text/plain;
>  charset="us-ascii";
>  name="ldmd.conf.btv"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: attachment;
>       filename="ldmd.conf.btv"
>
># $Id: ldmd.conf,v 1.7 1995/11/08 15:39:54 mitch Exp $
># Sample ldmd.conf for ldm5
># Programs that share a queue with rpc.ldmd
># are started by it and are in the same process group.
>exec   "pqexpire -i 300 -q /usr/local/ldm/data/ldm.pq -a 1.10"
>exec   "pqact -i 2"
># LDM5 servers we ask for data
>#      request <feedset> <pattern> <hostname pattern>
>#request       ANY
>#      ".*"
>#      buddy.unidata.ucar.edu.
># LDM4 servers we ask for data
>#exec  "feedhere -f UNIDATA -i 180 -h foo.bar.edu."
>##############################################################################
> #
># Begin Access control
>##############################################################################
> #
># ALLOW: Who we are willing to feed
># allow        <feedset> <hostname pattern>
>##############################################################################
> #
># send anything to your own machine
>allow  ANY
>    ^((localhost|loopback)|(127\.0\.0\.1\.?$)|([a-z].*\.198\.206\.38\.60\.?$))
>allow  EXP  ^omega\.lsc\.vsc\.edu$
>##############################################################################
> #
># ACCEPT: Who can feed us
># accept <feedset> <pattern> <hostname pattern>
>##############################################################################
> #
>request        EXP     ".*(..................)(QUE).*" 198.206.32.100
>request        EXP     ".*(..................)(ONT).*" 198.206.32.100
>accept EXP     .*(..................)(QUE).* ^198\.206\.32\.100$
>accept EXP     .*(..................)(ONT).* ^198\.206\.32\.100$
>##############################################################################
> #
># REQUESTS/ACCEPTS for XFT radar
>##############################################################################
> #
>accept EXP     .*(.............)(XFT).* ^198\.206\.32\.100$
>request        EXP     ".*(.............)(XFT).*" 198.206.32.100
>##############################################################################
> #
># REQUESTS/ACCEPTS for WMN radar
>##############################################################################
> #
>accept EXP     .*(.............)(WMN).*  ^198\.206\.32\.100$
>request        EXP     ".*(.............)(WMN).*"  198.206.32.100
>
>request        EXP     ".*(ALB|PWM|BUF|NYC|BOS|YYZ|WUL)(...)(...|..)" 198.206.
> 38.60
>#request       EXP     ".*(ALB|PWM|BUF|NYC|BOS|YYC|WUL)(...)(...|..)" 205.165.
> 230.120
>accept EXP     .*(ALB|PWM|BUF|NYC|BOS|YYZ|WUL)(...)(...|..)$ ^198\.206\.38\.60
> $
>#accept        EXP     .*(ALB|PWM|BUF|NYC|BOS|YYZ|WUL)(...)(...|..)$ ^205\.165
> \.230\.120$
>
>
># accept anything from yourself
>accept ANY
>    .*
>    ^((localhost|loopback)|(127\.0\.0\.1\.?$))
># accept from your upstream site
>#accept        UNIDATA
>#    .*
>#    ^foo\.bar\.edu$
>##############################################################################
> #
># End Access control
>##############################################################################
> #
>
>--Boundary-00=_kh3w/EEpCiXUWEQ--
>