[ldm-users] LDM Queue corruption

The following little snippet has been plaguing my LDM server for the past few weeks (I have been adjusting my pqact.conf/ldmd.conf as I learn which headers I really need from NIMAGE and FNEXRAD) it doesn't matter if I delete the queue and rebuild it, or use pqcat and pqcheck
whenever I restart LDM I get the error.


[ldm@feeds ~]$ ldmadmin restart
Flushing the LDM product-queue to disk...
Stopping the LDM server...
Waiting for the LDM to terminate
The writer-counter of the product-queue isn't zero.  Eithera process
has the product-queue open for writing or the queuemight be corrupt.
Terminate the process and recheck or use
   pqcat -l- -s -q /usr/local/ldm/data/ldm.pq && pqcheck -F -q
   /usr/local/ldm/data/ldm.pq
to validate the queue and set the writer-counter to zero.
Apr 14 20:31:18 UTC feeds.michiganwxsystem.net : LDM not started
[ldm@feeds ~]$ bin/pqcat -l- -s -q /usr/local/ldm/data/ldm.pq
Apr 14 20:32:21 pqcat NOTE: Starting Up (16677)
Apr 14 20:32:21 pqcat ERROR: pqcat queueSanityCheck: Product count doesn't match
Apr 14 20:32:21 pqcat ERROR: products tallied: 37411   Value in queue: 37508
Apr 14 20:32:21 pqcat NOTE: Exiting
Apr 14 20:32:21 pqcat NOTE: Number of products 37411
[ldm@feeds ~]$ bin/pqcheck -F -q data/ldm.pq
Apr 14 20:32:50 pqcheck NOTE: Starting Up (16832)
Apr 14 20:32:50 pqcheck NOTE: Exiting
[ldm@feeds ~]$ ldmadmin start
The product-queue is OK.
Checking pqact(1) configuration-file(s)...
   /usr/local/ldm/etc/pqact.conf: syntactically correct
Checking LDM configuration-file (/usr/local/ldm/etc/ldmd.conf)...
Starting the LDM server...



is there a way to fix?? or should I just get use to delqueue and mkqueue when I restart??


Jeff Lake K8JSL
http://www.MichiganWxSystem.com
https://www.TheWeatherCenter.net


  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: