tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* collgui end date error
@ 2004-05-20 20:16 Cohen, Andy
  0 siblings, 0 replies; 2+ messages in thread
From: Cohen, Andy @ 2004-05-20 20:16 UTC (permalink / raw)


Hi,

We run collect every day from 7 am to 5 pm.  Lately, when opened by collgui, some of the collect output files will display the following messages at the command prompt:

root@odin==> collgui collect.odin.May07.out.cgz &
root@odin==> GotoLastRec: out-of-sync.
GetEndInfo: could not get ending time.
OpenFile: Problem with end time
end=end:
Time: Set: Error in time format
Time: Set: Error in time format


About 60% of the files don't display these messages when opened.

Here's the cron entry for the daily collect:

00 7 * * 1-5 /RUN-COLLECT.sh 10h 30 > /local/logs/collect.crontab.log 2>&1


Here's the content of RUN-COLLECT.sh

#!/bin/ksh
#
#set -x

export SCRIPT_NAME_COMMAND_LINE=$0
echo SCRIPT_NAME_COMMAND_LINE is $SCRIPT_NAME_COMMAND_LINE

export  SCRIPT_NAME=${SCRIPT_NAME_COMMAND_LINE##*/}
echo SCRIPT_NAME is $SCRIPT_NAME

USAGE="usage: ${SCRIPT_NAME} [duration][m|h] [collect-interval-in-seconds]"
if [ $# -lt 2 ]; then
       echo ${USAGE}
       echo Script terminating unsuccessfully !
       exit 1
fi

export COLLECT_DATE=`date +"%b%d"`
echo COLLECT_DATE is $COLLECT_DATE

export DURATION=$1
echo DURATION is $DURATION

export COLLECT_INTERVAL=$2
echo COLLECT_INTERVAL is $COLLECT_INTERVAL

/usr/sbin/collect -etfy -Ddsk3 -F -i${COLLECT_INTERVAL} -R $DURATION -W 1m -f/home/collect-out/collect.odin.${COLLECT_DATE}.out > /local/logs/collect.crontab
.${COLLECT_DATE}.log 2>&1 &

set +x



Any idea why I might be getting these errors?

Thanks,
Andy

Database Systems Administrator 
Cognex Corporation 
1 Vision Drive 
Natick, MA 01760 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* collgui end date error
@ 2004-05-20 20:32 Cohen, Andy
  0 siblings, 0 replies; 2+ messages in thread
From: Cohen, Andy @ 2004-05-20 20:32 UTC (permalink / raw)


Sorry, I forgot to include this in my question about errors from collgui:

Tru64 5.1A (I think it's PK6).


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-20 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 20:16 collgui end date error Cohen, Andy
  -- strict thread matches above, loose matches on Subject: below --
2004-05-20 20:32 Cohen, Andy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox