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

[LDM #KTG-709466]: ldm 6.10.1 log problem



Trent,

Your statup script has the path of the LDM product-queue as 
"$LDMHOME/data/ldm.pq". This is incorrect.

> Here is a copy of the startup script...
> 
> #! /bin/sh
> # $Id$
> #
> # chkconfig:  345 95 5
> PATH=/bin:/usr/bin:/usr/etc:/usr/ucb; export PATH
> LDMHOME=/home/ldm/ldm-6.10.1
> LDMBIN=$LDMHOME/bin
> DECODEBIN=$LDMHOME/decoders
> UTILBIN=$LDMHOME/util
> 
> case "$1" in
> 
> 'start')
> if [ -x $LDMBIN/ldmadmin ] ; then
> PATH=${PATH}:${LDMBIN}:${DECODEBIN}:${UTILBIN}:/usr/local/bin; export PATH
> echo "Starting LDM ($LDMBIN/rpc.ldmd) via boot script."
> if [ ! -f $LDMHOME/data/ldm.pq ] ; then
> echo "$LDMHOME/data/ldm.pq does not exist,
> making new queue."
> /bin/su - ldm -c "$LDMBIN/ldmadmin mkqueue -f"
> else
> # queue exists, test queue "sanity"
> pqcat -s -l /dev/null
> if test $? != 0
> then
> echo "Queue appears corrupt, deleting
> and rebuilding."
> /bin/su - ldm -c "$LDMBIN/ldmadmin
> delqueue"
> /bin/su - ldm -c "$LDMBIN/ldmadmin
> mkqueue -f"
> else
> echo "Using existing queue."
> fi
> fi
> # In case of unclean shutdown, remove pid and lck files
> /bin/su - ldm -c "$LDMBIN/ldmadmin clean"
> /bin/su - ldm -c "$LDMBIN/ldmadmin start"
> fi
> ;;
> 'stop')
> if [ -x $LDMBIN/ldmadmin ] ; then
> echo "Stopping LDM via boot script."
> $LDMBIN/ldmadmin stop
> fi
> ;;
> esac
> 
> Thanks,
> 
> Trent
> On 03/10/2014 01:28 PM, Unidata LDM Support wrote:
> > ls -l $HOME/bin
> 
> --
> Trent Doyle
> Systems Admin. III
> Southern Great Plains
> Office: 580-388-4053

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: KTG-709466
Department: Support LDM
Priority: Normal
Status: Closed