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

[LDM #XBC-274988]: Trouble logging on CentOS 6 system



Leonard,

> I seems right.  Here's what I have:
> 
> Upstream LDM (mlsoserver.mlso.ucar.edu):
> 
> [ldm6@mlsoserver etc]$ egrep -v '^#' ldmd.conf
> ALLOW   ANY     ^((localhost|loopback)|(127\.0\.0\.1\.?$))
> ALLOW   ANY     ^[a-z].*\.unidata\.ucar\.edu\.?$
> ALLOW   ANY     ^mlsodata\.hao\.ucar\.edu$
> [ldm6@mlsoserver etc]$
> 
> [ldm6@mlsoserver etc]$ egrep -v '^#' pqact.conf
> [ldm6@mlsoserver etc]$
> 
> Downstream LDM (mlsodata.hao.ucar.edu):
> 
> [ldm6@mlsodata etc]$ egrep -v '^#' ldmd.conf
> EXEC    "pqact"
> REQUEST EXP ".*" mlsoserver.mlso.ucar.edu
> ALLOW   ANY     ^((localhost|loopback)|(127\.0\.0\.1\.?$))
> ALLOW   ANY     ^[a-z].*\.unidata\.ucar\.edu\.?$
> [ldm6@mlsodata etc]$
> 
> [ldm6@mlsodata etc]$ egrep -v '^#' pqact.conf
> EXP     ^(.*)   FILE    -overwrite -flush -close -log 
> /export/data1/Data/ldm/\1
> [ldm6@mlsodata etc]$
> 
> I pqinsert a file on the upstream, pqmon on the downstream shows it come in, 
> pqcat gives the file contents (at least it was last time, now it doesn't seem 
> to send it)
> 
> [ldm6@mlsoserver etc]$ pqinsert testfile
> 
> [ldm6@mlsoserver etc]$ pqmon
> May 30 22:05:16 pqmon NOTE: Starting Up (25498)
> May 30 22:05:16 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods  
> maxfree  minempty    maxext  age
> May 30 22:05:16 pqmon NOTE:      1     1  122068         104         4        
> 2    122065 500002712 2070
> May 30 22:05:16 pqmon NOTE: Exiting
> [ldm6@mlsoserver etc]$
> 
> [ldm6@mlsodata etc]$ pqmon
> May 30 22:05:00 pqmon NOTE: Starting Up (4075)
> May 30 22:05:00 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods  
> maxfree  minempty    maxext  age
> May 30 22:05:00 pqmon NOTE:      0     1  122069           0         4        
> 2    122065 500002816 0
> May 30 22:05:00 pqmon NOTE: Exiting
> [ldm6@mlsodata etc]$a

Somethings very wrong. The LDM configuration-file entry on Mlsoserver

> ALLOW   ANY     ^mlsodata\.hao\.ucar\.edu$

should allow the LDM on Mlsodata to successfully request all EXP data-product, 
which it does:

> EXEC    "pqact"
> REQUEST EXP ".*" mlsoserver.mlso.ucar.edu

But inserting a file on Mlsoserver

> [ldm6@mlsoserver etc]$ pqinsert testfile
> [ldm6@mlsoserver etc]$ pqmon
> May 30 22:05:16 pqmon NOTE: Starting Up (25498)
> May 30 22:05:16 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods  
> maxfree  minempty    maxext  age
> May 30 22:05:16 pqmon NOTE:      1     1  122068         104         4        
> 2    122065 500002712 2070
> May 30 22:05:16 pqmon NOTE: Exiting

should cause it to appear in Mlsodata's product-queue, which it doesn't

> [ldm6@mlsodata etc]$ pqmon
> May 30 22:05:00 pqmon NOTE: Starting Up (4075)
> May 30 22:05:00 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods  
> maxfree  minempty    maxext  age
> May 30 22:05:00 pqmon NOTE:      0     1  122069           0         4        
> 2    122065 500002816 0
> May 30 22:05:00 pqmon NOTE: Exiting

You should be able to verify this by executing the command "ldmadmin watch" on 
both Mlsoserver and Mlsodata and then pqinsert(1)ing another file on Mlsoserver.

Do the log files on either system indicate a problem?

> BTW, how do you remove the files from the queues?  The documents say pqexpire 
> is deprecated.

Data-products are no longer manually removed from the product-queue: the pq(1) 
library module takes care of that automatically.

> Thanks for your help.
> 
> ==Leonard E. Sitongia
> High Altitude Observatory
> National Center for Atmospheric Research
> P.O. Box 3000 Boulder CO 80307  USA
> address@hidden  voice: (303)497-2454  fax: (303)497-1589

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: XBC-274988
Department: Support LDM
Priority: Normal
Status: Closed