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

Re: ldm log file



Alan,

I think there might be a bug in the binary distribution that you
installed.  What distribution did you install?  A work around would be to
use the flags for pqbinstats and pqact, etc in the ldmd.conf file.  Look
the man pages at:

http://www.unidata.ucar.edu/packages/ldm/ldm5/manindex.html

Here's an example

exec pqbinstats  -d /usr/local/ldm/logs -q /usr/local/ldm/data/ldm.pq
exec pqact  -l  /usr/local/ldm/logs -d  -d /usr/local/ldm/data -q
/usr/local/ldm/data/ldm.pq  /usr/local/ldm/etc/pqact.conf

All on one line.  Don't forget to let me know the distribution so I can
fix it here.  Also, I would like to know the size/date

Thanks,
Robb...


On Fri, 8 Oct 1999, Alan F Cunningham wrote:

> Robb-
> I tried ldmadmin start and got a successful start, but found this
> 
> "
> ldm@sagth:ldmadmin log
> Oct 08 16:21:41 sagth rpc.ldmd[477]: Starting Up (built: May  7 1999
> 13:14:17)
> Oct 08 16:21:41 sagth pqbinstats[479]: Starting Up (477)
> Oct 08 16:21:41 sagth pqbinstats[479]: cannot chdir to /wcfields/ldm/logs:
> No su
> ch file or directory
> Oct 08 16:21:41 sagth pqbinstats[479]: Exiting
> Oct 08 16:21:41 sagth pqexpire[478]: Starting Up
> Oct 08 16:21:41 sagth pqact[480]: Starting Up
> Oct 08 16:21:41 sagth pqact[480]: Couldn't open pattern file
> "/wcfields/ldm/etc/
> pqact.conf": No such file or directory
> Oct 08 16:21:41 sagth pqact[480]: Exiting
> Oct 08 16:21:42 sagth udp.ldmd[481]: Starting Up
> Oct 08 16:21:43 sagth localhost[485]: Connection from localhost
> Oct 08 16:21:43 sagth rpc.ldmd[477]: child 480 exited with status 1
> Oct 08 16:21:43 sagth rpc.ldmd[477]: child 479 exited with status 4
> Oct 08 16:21:43 sagth localhost[485]: Connection reset by peer
> Oct 08 16:21:43 sagth localhost[485]: Exiting
> 
> ldm@sagth:ldmadmin ps
>  F S      UID   PID  PPID  C PRI NI     ADDR     SZ    WCHAN    STIME TTY
> T
> IME CMD
>  8 S      ldm   478   477  0  67 20 f61cd338   9183 f61cd560 12:21:41 ?
> 0
> :00 pqexpire
>  8 S      ldm   477     1  0  40 20 f61cc538   9287 f608e2c6 12:21:41 ?
> 0
> :00 rpc.ldmd -q /usr/local/ldm/data/ldm
>  8 S      ldm   481   477  0  40 20 f61cb738   9293 f619ed6e 12:21:41 ?
> 0
> :00 rpc.ldmd -q /usr/local/ldm/data/ldm
> 
> ldm@sagth:ldmadmin config
> hostname:      130.127.121.128
> ldmhome:       /usr/local/ldm
> bin path:      /usr/local/ldm/bin
> conf file:     /usr/local/ldm/etc/ldmd.conf
> log file:      /usr/local/ldm/logs/ldmd.log
> data path:     /usr/local/ldm/data
> product queue: /usr/local/ldm/data/ldm.pq
> queue size:    35000000 bytes
> PID file:      /usr/local/ldm/ldmd.pid
> LDMHOSTNAME:   130.127.121.128
> PATH:
> /usr/local/ldm/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/usr/us
> b:/usr/etc:/etc:/:/usr/local/ldm/decoders:/usr/local/ldm/bin:/usr/local/ldm/man:
> /usr/ucb:/usr/openwin/bin:/usr/bin:/usr/openwin/lib/X11:/usr/sbin:/usr/dt/bin:/e
> tc:/usr/local:/usr/local/bin:/opt                          
> "
> 
> the seventh line of the log says that ldm is looking for the pqact file in
> a place that dosn't exist on my file system.  When I ran "ldmadmin
> pqactcheck" it referred to the right file (/usr/local/ldm/etc/pqact.conf)
> and said it was syntactically correct.
> so what do I do to convince ldm that the pqactr conf file is where I have
> it?
> 
> P.S.  The FILE command in the pqact.conf takes a file from the pq on
> $home/data and puts it in a folder designated by the FILE line, right.
> For instance
> WSI
> ^NEX/(JUA)/(BREF1)/..([0-9][0-9])([0-1][0-9])([0-3][0-9])([0-2][0-9])(1[0-9])
>       FILE    sagth2/data/nexrad/\3/\1r0/\4\5\6\7.nid
> would take the header
> NEX/JUA/BREF1/199912041316
> and put it in the file
> /sagth2/data/nexrad/99/JUAr0/12041316.nid
> and discard a file with the header
> NEX/JUA/BREF1/199912041322
> right?
> 
> Alan Cunningham
> Clemson University Radar Ornithology Lab
> 310 Jordan Hall
> 864-656-3584
> hubcap.clemson.edu/~acunnin
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================